Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.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.Prismatic,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Prismatic",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.0009534/0.0009534, allocations: 179.1 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.143/1.143, allocations: 221.4 MB / 230.3 MB, free: 7.711 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.0009478/0.0009479, allocations: 90.22 kB / 281.2 MB, free: 5.531 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.1574/0.1574, allocations: 44.15 MB / 376.1 MB, free: 3.258 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1708/0.3283, allocations: 68.03 MB / 444.1 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09053/0.4188, allocations: 61.91 MB / 0.4942 GB, free: 1.562 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2551/0.674, allocations: 102.6 MB / 0.5944 GB, free: 10.26 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002032/0.6742, allocations: 75.38 kB / 0.5944 GB, free: 10.19 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: 1514 * Number of variables: 1514 Notification: Performance of Generate backend data structure: time 0.222/0.8963, allocations: 85.81 MB / 0.6782 GB, free: 3.629 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.8963, allocations: 19.81 kB / 0.6782 GB, free: 3.609 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0138/0.9101, allocations: 2.795 MB / 0.681 GB, free: 0.8047 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01101/0.9212, allocations: 4.057 MB / 0.6849 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002374/0.9214, allocations: 124 kB / 0.6851 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001859/0.9233, allocations: 227.9 kB / 0.6853 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01198/0.9353, allocations: 7.079 MB / 0.6922 GB, free: 5.27 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1381/1.073, allocations: 9.211 MB / 0.7012 GB, free: 178.8 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.877e-05/1.074, allocations: 21.34 kB / 0.7012 GB, free: 178.8 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004918/1.074, allocations: 15 kB / 0.7012 GB, free: 178.8 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001038/1.075, allocations: 1.199 MB / 0.7024 GB, free: 178.8 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02942/1.105, allocations: 29.4 MB / 0.7311 GB, free: 166.8 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001694/1.106, allocations: 1.52 MB / 0.7326 GB, free: 166.8 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001109/1.107, allocations: 1.056 MB / 0.7336 GB, free: 166.8 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007407/1.115, allocations: 6.27 MB / 0.7397 GB, free: 163.1 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.824e-05/1.115, allocations: 43.31 kB / 0.7398 GB, free: 163.1 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=154): time 3.917e-06/1.115, allocations: 0 / 0.7398 GB, free: 163.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=160): time 0.0113/1.126, allocations: 6.87 MB / 0.7465 GB, free: 160.7 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.144e-05/1.126, allocations: 66.84 kB / 0.7466 GB, free: 160.6 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002533/1.129, allocations: 2.441 MB / 0.7489 GB, free: 159.7 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.491e-05/1.129, allocations: 25.7 kB / 0.749 GB, free: 159.7 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008707/1.13, allocations: 2.746 MB / 0.7516 GB, free: 157.7 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002973/1.13, allocations: 0.5911 MB / 0.7522 GB, free: 157.2 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001473/1.13, allocations: 0 / 0.7522 GB, free: 157.2 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002317/1.13, allocations: 0.5891 MB / 0.7528 GB, free: 156.8 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0016/1.132, allocations: 1.543 MB / 0.7543 GB, free: 156.3 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002427/1.134, allocations: 4.586 MB / 0.7588 GB, free: 151.7 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002693/1.137, allocations: 2.748 MB / 0.7615 GB, free: 151 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.32e-05/1.137, allocations: 31.84 kB / 0.7615 GB, free: 151 MB / 0.4948 GB Notification: Performance of matching and sorting (n=687) (initialization): time 0.006416/1.144, allocations: 5.515 MB / 0.7669 GB, free: 149.3 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/1.144, allocations: 7.312 kB / 0.7669 GB, free: 149.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.869e-05/1.144, allocations: 106.8 kB / 0.767 GB, free: 149.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002622/1.144, allocations: 206.2 kB / 0.7672 GB, free: 149.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003012/1.147, allocations: 1.132 MB / 0.7683 GB, free: 149.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001145/1.148, allocations: 1.604 MB / 0.7699 GB, free: 147.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002753/1.151, allocations: 112.9 kB / 0.77 GB, free: 147.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004304/1.151, allocations: 314.2 kB / 0.7703 GB, free: 147.7 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 496 * Number of states: 0 () * Number of discrete variables: 29 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,axis.color[3],axis.color[2],axis.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 (635): * Single equations (assignments): 628 * Array equations: 6 * 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.0004634/1.152, allocations: 378.3 kB / 0.7706 GB, free: 147.4 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002708/1.152, allocations: 245.9 kB / 0.7709 GB, free: 147.3 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005182/1.153, allocations: 313.2 kB / 0.7712 GB, free: 147.1 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.15e-05/1.153, allocations: 10.94 kB / 0.7712 GB, free: 147.1 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.125e-05/1.153, allocations: 1.625 kB / 0.7712 GB, free: 147.1 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.197e-06/1.153, allocations: 6.891 kB / 0.7712 GB, free: 147.1 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007808/1.161, allocations: 5.166 MB / 0.7762 GB, free: 145.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.246e-06/1.161, allocations: 3.125 kB / 0.7762 GB, free: 145.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008564/1.161, allocations: 189.5 kB / 0.7764 GB, free: 145.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000155/1.162, allocations: 47.72 kB / 0.7764 GB, free: 145.3 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.659e-05/1.162, allocations: 12.19 kB / 0.7765 GB, free: 145.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008587/1.163, allocations: 1.402 MB / 0.7778 GB, free: 144 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/1.163, allocations: 4.188 kB / 0.7778 GB, free: 144 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003313/1.166, allocations: 3.688 MB / 0.7814 GB, free: 140.6 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004129/1.17, allocations: 5.342 MB / 0.7867 GB, free: 135.6 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004251/1.171, allocations: 309 kB / 0.7869 GB, free: 135.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003016/1.171, allocations: 7.75 kB / 0.787 GB, free: 135.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007085/1.172, allocations: 19.03 kB / 0.787 GB, free: 135.2 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001294/1.172, allocations: 61.11 kB / 0.787 GB, free: 135.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.983e-05/1.172, allocations: 47.38 kB / 0.7871 GB, free: 135.2 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.001959/1.174, allocations: 1.609 MB / 0.7886 GB, free: 133.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003871/1.178, allocations: 0.7184 MB / 0.7893 GB, free: 133 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (111): * Single equations (assignments): 104 * Array equations: 6 * 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 Backend phase and start with SimCode phase: time 0.0003138/1.178, allocations: 150.8 kB / 0.7895 GB, free: 132.9 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004088/1.182, allocations: 3.661 MB / 0.7931 GB, free: 129.6 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/1.182, allocations: 4.062 kB / 0.7931 GB, free: 129.6 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001005/1.183, allocations: 1.057 MB / 0.7941 GB, free: 128.6 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009205/1.184, allocations: 209.7 kB / 0.7943 GB, free: 128.4 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00976/1.194, allocations: 6.591 MB / 0.8007 GB, free: 122.4 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003108/1.197, allocations: 3.431 MB / 0.8041 GB, free: 119.8 MB / 0.4948 GB Notification: Performance of SimCode: time 5.71e-07/1.197, allocations: 0 / 0.8041 GB, free: 119.8 MB / 0.4948 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Prismatic_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Prismatic.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1)