Running examples in ‘OpenMx-Ex.R’ failed
The error most likely occurred in:

> ### Name: mxModelAverage
> ### Title: Information-Theoretic Model-Averaging and Multimodel Inference
> ### Aliases: mxModelAverage omxAkaikeWeights
> 
> ### ** Examples
> 
> require(OpenMx)
> data(demoOneFactor)
> factorModel1 <- mxModel(
+ 	"OneFactor1",
+ 	mxMatrix(
+ 		"Full", 5, 1, values=0.8, 
+ 		labels=paste("a",1:5,sep=""),
+ 		free=TRUE, name="A"),
+ 	mxMatrix(
+ 		"Full", 5, 1, values=1,
+ 		labels=paste("u",1:5,sep=""),
+ 		free=TRUE, name="Udiag"),
+ 	mxMatrix(
+ 		"Symm", 1, 1, values=1,
+ 		free=FALSE, name="L"),
+ 	mxAlgebra(vec2diag(Udiag),name="U"),
+ 	mxAlgebra(A %*% L %*% t(A) + U, name="R"),
+ 	mxExpectationNormal(
+ 		covariance = "R",
+ 		dimnames = names(demoOneFactor)),
+ 	mxFitFunctionML(),
+ 	mxData(cov(demoOneFactor), type="cov", numObs=500))
> factorFit1 <- mxRun(factorModel1)
Running OneFactor1 with 10 parameters
Warning: In model 'OneFactor1' Optimizer returned a non-zero status code 5. The Hessian at the solution does not appear to be convex. See ?mxCheckIdentification for possible diagnosis (Mx status RED).
> #Constrain unique variances equal:
> factorModel2 <- omxSetParameters(
+ 	model=factorModel1,labels=paste("u",1:5,sep=""),
+ 	newlabels="u",name="OneFactor2")
> factorFit2 <- mxRun(factorModel2)
Running OneFactor2 with 6 parameters

 *** caught segfault ***
address 0, cause 'memory not mapped'

Traceback:
 1: runHelper(model, frontendStart, intervals, silent, suppressWarnings,     unsafe, checkpoint, useSocket, onlyFrontend, useOptimizer)
 2: mxRun(factorModel2)
An irrecoverable exception occurred. R is aborting now ...
Error in runHelper(model, frontendStart, intervals, silent, suppressWarnings,  : 
  Element-wise '+' not conformable: 'OneFactor2.R arg 0' is 0x0 and 'OneFactor2.U' is 5x5
OneFactor2.R arg 0 =  matrix(c(    # 0x0), byrow=TRUE, nrow=0, ncol=0)
OneFactor2.U =  matrix(c(    # 5x5
 0.0391215,   0,   0,   0,   0
,   0, 0.0391215,   0,   0,   0
,   0,   0, 0.0391215,   0,   0
,   0,   0,   0, 0.0391215,   0
,   0,   0,   0,   0, 0.0391215), byrow=TRUE, nrow=5, ncol=5)
Calls: mxRun -> runHelper
Execution halted