Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_PrismaticInit",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 4.0.0+maint.om/package.mo): time 0.001695/0.001695, allocations: 179.4 kB / 8.517 MB, free: 1.855 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.2/1.2, allocations: 221.4 MB / 230.3 MB, free: 7.719 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009329/0.000933, allocations: 95.97 kB / 281.2 MB, free: 5.496 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1611/0.1611, allocations: 44.15 MB / 376.1 MB, free: 3.227 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.176/0.3371, allocations: 68.03 MB / 444.1 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09125/0.4284, allocations: 61.91 MB / 0.4942 GB, free: 1.539 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2623/0.6907, allocations: 105.6 MB / 0.5973 GB, free: 7.074 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002078/0.691, allocations: 79.52 kB / 0.5974 GB, free: 7 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: 449 * Number of variables: 449 Notification: Performance of Generate backend data structure: time 0.09649/0.7875, allocations: 35.12 MB / 0.6317 GB, free: 3.68 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.7875, allocations: 11.94 kB / 0.6317 GB, free: 3.668 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001366/0.7889, allocations: 333.4 kB / 0.632 GB, free: 3.34 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007159/0.7961, allocations: 2.834 MB / 0.6348 GB, free: 468 kB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.151e-05/0.7962, allocations: 48 kB / 0.6349 GB, free: 420 kB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002238/0.7964, allocations: 87.91 kB / 0.6349 GB, free: 332 kB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00281/0.7992, allocations: 1.881 MB / 0.6368 GB, free: 14.44 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003419/0.8026, allocations: 2.617 MB / 0.6393 GB, free: 11.6 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.441e-05/0.8027, allocations: 19.78 kB / 0.6394 GB, free: 11.58 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001358/0.8029, allocations: 8 kB / 0.6394 GB, free: 11.57 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005316/0.8034, allocations: 302.1 kB / 0.6396 GB, free: 11.28 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0124/0.8158, allocations: 12.25 MB / 0.6516 GB, free: 14.59 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006003/0.8164, allocations: 450.1 kB / 0.652 GB, free: 14.13 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004859/0.8169, allocations: 400.7 kB / 0.6524 GB, free: 13.73 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002891/0.8198, allocations: 2.337 MB / 0.6547 GB, free: 11.2 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.8199, allocations: 39 kB / 0.6547 GB, free: 11.15 MB / 474.7 MB Notification: Performance of pre-optimization done (n=51): time 4.669e-06/0.8199, allocations: 7.984 kB / 0.6548 GB, free: 11.14 MB / 474.7 MB Notification: Performance of matching and sorting (n=57): time 0.007606/0.8275, allocations: 2.862 MB / 0.6575 GB, free: 8.18 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.8276, allocations: 81.61 kB / 0.6576 GB, free: 8.082 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001107/0.8287, allocations: 0.9501 MB / 0.6586 GB, free: 7.113 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.244e-05/0.8287, allocations: 29.7 kB / 0.6586 GB, free: 7.078 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004438/0.8292, allocations: 0.8377 MB / 0.6594 GB, free: 6.223 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001384/0.8293, allocations: 217 kB / 0.6596 GB, free: 6.008 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.119e-05/0.8294, allocations: 0 / 0.6596 GB, free: 6.008 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.8295, allocations: 426.7 kB / 0.66 GB, free: 5.582 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005185/0.8301, allocations: 371.9 kB / 0.6604 GB, free: 5.219 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009654/0.831, allocations: 1.213 MB / 0.6616 GB, free: 3.59 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008041/0.8319, allocations: 0.6524 MB / 0.6622 GB, free: 2.938 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.858e-06/0.8319, allocations: 8 kB / 0.6622 GB, free: 2.93 MB / 474.7 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.002139/0.834, allocations: 1.484 MB / 0.6636 GB, free: 1.434 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.834, allocations: 8 kB / 0.6637 GB, free: 1.426 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.17e-05/0.8341, allocations: 28 kB / 0.6637 GB, free: 1.398 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000205/0.8343, allocations: 96.77 kB / 0.6638 GB, free: 1.301 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001172/0.8355, allocations: 363.3 kB / 0.6641 GB, free: 0.9453 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001304/0.8368, allocations: 1.6 MB / 0.6657 GB, free: 15.23 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008282/0.8376, allocations: 40.05 kB / 0.6657 GB, free: 15.19 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.861e-05/0.8377, allocations: 88.06 kB / 0.6658 GB, free: 15.11 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 136 * Number of states: 0 () * Number of discrete variables: 27 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[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 (192): * Single equations (assignments): 191 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001996/0.838, allocations: 198.8 kB / 0.666 GB, free: 14.9 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000127/0.8381, allocations: 102.7 kB / 0.6661 GB, free: 14.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001026/0.8391, allocations: 0.6568 MB / 0.6667 GB, free: 14.13 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.8391, allocations: 4 kB / 0.6667 GB, free: 14.12 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.8391, allocations: 0 / 0.6667 GB, free: 14.12 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.699e-06/0.8392, allocations: 7.984 kB / 0.6667 GB, free: 14.12 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002773/0.8419, allocations: 1.885 MB / 0.6686 GB, free: 12.12 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/0.842, allocations: 4.188 kB / 0.6686 GB, free: 12.12 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004437/0.8424, allocations: 103.9 kB / 0.6687 GB, free: 12.02 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001727/0.8426, allocations: 64.77 kB / 0.6687 GB, free: 11.95 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.733e-05/0.8426, allocations: 4 kB / 0.6688 GB, free: 11.95 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001297/0.8439, allocations: 1.642 MB / 0.6704 GB, free: 10.19 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.072e-06/0.844, allocations: 4 kB / 0.6704 GB, free: 10.19 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001274/0.8452, allocations: 1.248 MB / 0.6716 GB, free: 8.789 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001623/0.8469, allocations: 1.919 MB / 0.6735 GB, free: 6.719 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001856/0.8471, allocations: 175.7 kB / 0.6736 GB, free: 6.527 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001255/0.8472, allocations: 11.98 kB / 0.6736 GB, free: 6.516 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004054/0.8476, allocations: 20.05 kB / 0.6737 GB, free: 6.496 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.571e-05/0.8477, allocations: 43.7 kB / 0.6737 GB, free: 6.453 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.155e-05/0.8477, allocations: 19.98 kB / 0.6737 GB, free: 6.434 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0007917/0.8485, allocations: 0.6604 MB / 0.6744 GB, free: 5.766 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001863/0.8504, allocations: 264 kB / 0.6746 GB, free: 5.508 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (prismatic.s,prismatic.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 52 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001987/0.8506, allocations: 127 kB / 0.6747 GB, free: 5.375 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001311/0.8519, allocations: 0.9866 MB / 0.6757 GB, free: 4.383 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.8519, allocations: 4 kB / 0.6757 GB, free: 4.379 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004553/0.8524, allocations: 374.8 kB / 0.6761 GB, free: 4.004 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006984/0.8531, allocations: 129.8 kB / 0.6762 GB, free: 3.875 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003518/0.8566, allocations: 2.194 MB / 0.6783 GB, free: 1.59 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001359/0.858, allocations: 1.576 MB / 0.6799 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of SimCode: time 5.82e-07/0.858, allocations: 0 / 0.6799 GB, free: 15.98 MB / 0.4948 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_PrismaticInit_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_PrismaticInit.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1)