Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSR,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSR,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUSR",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001593/0.001593, allocations: 202.3 kB / 8.54 MB, free: 1.805 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.23/1.23, allocations: 225.5 MB / 234.4 MB, free: 3.301 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009389/0.000939, allocations: 91.38 kB / 286.3 MB, free: 5.305 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1697/0.1697, allocations: 45.14 MB / 383.3 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1848/0.3546, allocations: 69.37 MB / 452.7 MB, free: 76.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07894/0.4335, allocations: 63.24 MB / 0.5039 GB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2712/0.7048, allocations: 110 MB / 0.6113 GB, free: 8.965 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002008/0.705, allocations: 80.36 kB / 0.6114 GB, free: 8.926 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1088 * Number of variables: 1088 Notification: Performance of Generate backend data structure: time 0.1796/0.8846, allocations: 69.89 MB / 0.6797 GB, free: 11.44 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.8847, allocations: 12 kB / 0.6797 GB, free: 11.43 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002846/0.8875, allocations: 0.5458 MB / 0.6802 GB, free: 10.88 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004468/0.892, allocations: 2.052 MB / 0.6822 GB, free: 8.773 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001018/0.8921, allocations: 108 kB / 0.6823 GB, free: 8.668 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005052/0.8926, allocations: 188 kB / 0.6825 GB, free: 8.484 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007568/0.9002, allocations: 4.959 MB / 0.6873 GB, free: 3.52 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008828/0.9091, allocations: 6.368 MB / 0.6935 GB, free: 12.79 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.975e-05/0.9092, allocations: 15.88 kB / 0.6936 GB, free: 12.77 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003228/0.9095, allocations: 8 kB / 0.6936 GB, free: 12.76 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007979/0.9103, allocations: 0.6888 MB / 0.6942 GB, free: 12.07 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02876/0.9391, allocations: 24.94 MB / 0.7186 GB, free: 2.48 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001757/0.9409, allocations: 1.307 MB / 0.7199 GB, free: 1.16 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001224/0.9421, allocations: 1.011 MB / 0.7209 GB, free: 152 kB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008735/0.9508, allocations: 6.89 MB / 0.7276 GB, free: 8.719 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.9509, allocations: 43.22 kB / 0.7276 GB, free: 8.668 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=73): time 2.905e-06/0.9509, allocations: 0 / 0.7276 GB, free: 8.668 MB / 0.5105 GB Notification: Performance of matching and sorting (n=86): time 0.01207/0.963, allocations: 4.094 MB / 0.7316 GB, free: 4.555 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.002e-05/0.9631, allocations: 60.19 kB / 0.7317 GB, free: 4.484 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002618/0.9657, allocations: 1.836 MB / 0.7335 GB, free: 2.613 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.768e-05/0.9658, allocations: 25.7 kB / 0.7335 GB, free: 2.582 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001094/0.9669, allocations: 1.986 MB / 0.7354 GB, free: 0.5625 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000255/0.9671, allocations: 343.7 kB / 0.7358 GB, free: 228 kB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.9673, allocations: 3.938 kB / 0.7358 GB, free: 224 kB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002282/0.9675, allocations: 457.5 kB / 0.7362 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001347/0.9688, allocations: 0.9363 MB / 0.7371 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002433/0.9713, allocations: 3.081 MB / 0.7401 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002444/0.9737, allocations: 1.716 MB / 0.7418 GB, free: 8.949 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.511e-05/0.9738, allocations: 23.91 kB / 0.7418 GB, free: 8.926 MB / 0.5261 GB Notification: Performance of matching and sorting (n=454) (initialization): time 0.005457/0.9792, allocations: 3.574 MB / 0.7453 GB, free: 5.344 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.9793, allocations: 4.969 kB / 0.7453 GB, free: 5.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.213e-05/0.9793, allocations: 76 kB / 0.7454 GB, free: 5.266 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001058/0.9794, allocations: 123.9 kB / 0.7455 GB, free: 5.145 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002673/0.9821, allocations: 0.8304 MB / 0.7463 GB, free: 4.312 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.234e-05/0.9822, allocations: 147.4 kB / 0.7465 GB, free: 4.168 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001998/0.9842, allocations: 99.81 kB / 0.7466 GB, free: 4.07 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002639/0.9845, allocations: 212 kB / 0.7468 GB, free: 3.863 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 353 * Number of states: 0 () * Number of discrete variables: 53 (jointUSR.revolute.positiveBranch,prism.arrowLine.twoHeadedArrow,prism.headAtOrigin,prism.color[3],prism.color[2],prism.color[1],rRod2.arrowLine.twoHeadedArrow,rRod2.headAtOrigin,rRod2.color[3],rRod2.color[2],rRod2.color[1],rRod1.arrowLine.twoHeadedArrow,rRod1.headAtOrigin,rRod1.color[3],rRod1.color[2],rRod1.color[1],n2_ia.arrowLine.twoHeadedArrow,n2_ia.headAtOrigin,n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.arrowLine.twoHeadedArrow,n1_a.headAtOrigin,n1_a.color[3],n1_a.color[2],n1_a.color[1],jointUSR.rod1Color[3],jointUSR.rod1Color[2],jointUSR.rod1Color[1],jointUSR.cylinderColor[3],jointUSR.cylinderColor[2],jointUSR.cylinderColor[1],jointUSR.sphereColor[3],jointUSR.sphereColor[2],jointUSR.sphereColor[1],jointUSR.revoluteColor[3],jointUSR.revoluteColor[2],jointUSR.revoluteColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (454): * Single equations (assignments): 454 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000383/0.9849, allocations: 321.2 kB / 0.7471 GB, free: 3.539 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002529/0.9852, allocations: 185.6 kB / 0.7473 GB, free: 3.355 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001891/0.9871, allocations: 1.171 MB / 0.7484 GB, free: 2.176 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/0.9871, allocations: 8 kB / 0.7484 GB, free: 2.168 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.9871, allocations: 0 / 0.7484 GB, free: 2.168 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.697e-06/0.9871, allocations: 7.984 kB / 0.7484 GB, free: 2.16 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1327/1.12, allocations: 4.157 MB / 0.7525 GB, free: 207 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.277e-05/1.12, allocations: 15.66 kB / 0.7525 GB, free: 207 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007882/1.121, allocations: 219.3 kB / 0.7527 GB, free: 207 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.085e-05/1.121, allocations: 21.44 kB / 0.7527 GB, free: 207 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.701e-05/1.121, allocations: 26.16 kB / 0.7527 GB, free: 207 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-05/1.121, allocations: 31.77 kB / 0.7528 GB, free: 207 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.295e-05/1.121, allocations: 23.81 kB / 0.7528 GB, free: 207 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001601/1.122, allocations: 2.742 MB / 0.7555 GB, free: 204.8 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001496/1.124, allocations: 3.153 MB / 0.7586 GB, free: 202.2 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003285/1.124, allocations: 272.4 kB / 0.7588 GB, free: 202.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002368/1.125, allocations: 23.34 kB / 0.7588 GB, free: 202.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007564/1.125, allocations: 25.02 kB / 0.7589 GB, free: 202.1 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.988e-05/1.125, allocations: 105.2 kB / 0.759 GB, free: 202.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.099e-05/1.125, allocations: 48.56 kB / 0.759 GB, free: 202.1 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.001415/1.127, allocations: 1.216 MB / 0.7602 GB, free: 201.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003083/1.13, allocations: 0.5199 MB / 0.7607 GB, free: 201.9 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (119): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002909/1.13, allocations: 183 kB / 0.7609 GB, free: 201.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002369/1.133, allocations: 2.139 MB / 0.763 GB, free: 201.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/1.133, allocations: 3.812 kB / 0.763 GB, free: 201.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005224/1.133, allocations: 0.5132 MB / 0.7635 GB, free: 201.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009906/1.134, allocations: 249.2 kB / 0.7637 GB, free: 201.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007071/1.141, allocations: 4.779 MB / 0.7684 GB, free: 200.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002512/1.144, allocations: 2.689 MB / 0.771 GB, free: 199.6 MB / 0.5261 GB Notification: Performance of SimCode: time 7.01e-07/1.144, allocations: 0 / 0.771 GB, free: 199.6 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSR.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSR.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSR.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSR_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUSR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUSR.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSR.pipe 2>&1)