Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001523/0.001523, allocations: 186 kB / 7.8 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.343/1.343, allocations: 205.2 MB / 213.4 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008816/0.0008814, allocations: 95.5 kB / 261.4 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2976/0.2976, allocations: 43.49 MB / 352.8 MB, free: 1.965 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.266/0.5636, allocations: 64.97 MB / 417.8 MB, free: 40.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4052/0.9688, allocations: 58.83 MB / 476.6 MB, free: 5.297 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1499/1.119, allocations: 101.1 MB / 0.5642 GB, free: 13.88 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002354/1.119, allocations: 75.47 kB / 0.5643 GB, free: 13.81 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: 1557 * Number of variables: 1557 Notification: Performance of Generate backend data structure: time 0.4854/1.604, allocations: 86.46 MB / 0.6487 GB, free: 110 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/1.604, allocations: 7.031 kB / 0.6487 GB, free: 110 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01546/1.62, allocations: 2.801 MB / 0.6515 GB, free: 109.8 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0145/1.635, allocations: 4.257 MB / 0.6556 GB, free: 109.3 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004506/1.635, allocations: 125.2 kB / 0.6557 GB, free: 109.3 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003048/1.638, allocations: 222.4 kB / 0.6559 GB, free: 109.3 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01505/1.653, allocations: 7.207 MB / 0.663 GB, free: 109.2 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02589/1.679, allocations: 9.387 MB / 0.6721 GB, free: 108 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003693/1.68, allocations: 27.16 kB / 0.6722 GB, free: 108 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002788/1.682, allocations: 10.66 kB / 0.6722 GB, free: 108 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002095/1.684, allocations: 1.243 MB / 0.6734 GB, free: 108 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06024/1.745, allocations: 30.09 MB / 0.7028 GB, free: 89.96 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003998/1.749, allocations: 1.544 MB / 0.7043 GB, free: 89.47 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002408/1.751, allocations: 1.059 MB / 0.7053 GB, free: 89.12 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01518/1.766, allocations: 6.463 MB / 0.7116 GB, free: 84.92 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.828e-05/1.767, allocations: 55.66 kB / 0.7117 GB, free: 84.86 MB / 474.7 MB Notification: Performance of pre-optimization done (n=154): time 1.026e-05/1.767, allocations: 0 / 0.7117 GB, free: 84.86 MB / 474.7 MB Notification: Performance of matching and sorting (n=160): time 0.02035/1.787, allocations: 6.942 MB / 0.7185 GB, free: 81.53 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.158e-05/1.787, allocations: 66.56 kB / 0.7185 GB, free: 81.45 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006641/1.794, allocations: 2.507 MB / 0.721 GB, free: 79.24 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002428/1.794, allocations: 25.7 kB / 0.721 GB, free: 79.21 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002008/1.796, allocations: 2.83 MB / 0.7238 GB, free: 76.65 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007758/1.797, allocations: 0.5947 MB / 0.7243 GB, free: 76.12 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005035/1.797, allocations: 0 / 0.7243 GB, free: 76.12 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005501/1.798, allocations: 0.592 MB / 0.7249 GB, free: 75.6 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002441/1.8, allocations: 1.567 MB / 0.7265 GB, free: 74.2 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004735/1.805, allocations: 4.702 MB / 0.731 GB, free: 68.16 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004351/1.81, allocations: 2.782 MB / 0.7338 GB, free: 65.8 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001325/1.81, allocations: 36 kB / 0.7338 GB, free: 65.76 MB / 474.7 MB Notification: Performance of matching and sorting (n=703) (initialization): time 0.0123/1.822, allocations: 5.62 MB / 0.7393 GB, free: 60.8 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/1.822, allocations: 4 kB / 0.7393 GB, free: 60.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000285/1.822, allocations: 112 kB / 0.7394 GB, free: 60.69 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005515/1.823, allocations: 204.1 kB / 0.7396 GB, free: 60.49 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004465/1.827, allocations: 1.17 MB / 0.7407 GB, free: 59.45 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001635/1.829, allocations: 1.607 MB / 0.7423 GB, free: 57.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004727/1.834, allocations: 124.6 kB / 0.7424 GB, free: 57.69 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001162/1.835, allocations: 326.5 kB / 0.7427 GB, free: 57.38 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 512 * Number of states: 0 () * Number of discrete variables: 27 (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.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 (651): * Single equations (assignments): 644 * 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.001662/1.837, allocations: 379.6 kB / 0.7431 GB, free: 57 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008321/1.838, allocations: 249.4 kB / 0.7433 GB, free: 56.75 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001095/1.839, allocations: 324.7 kB / 0.7436 GB, free: 56.46 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.52e-05/1.839, allocations: 12.84 kB / 0.7437 GB, free: 56.45 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.66e-05/1.839, allocations: 0 / 0.7437 GB, free: 56.45 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.931e-05/1.839, allocations: 13.7 kB / 0.7437 GB, free: 56.45 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01639/1.855, allocations: 5.21 MB / 0.7488 GB, free: 52.02 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.29e-05/1.855, allocations: 0 / 0.7488 GB, free: 52.02 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001215/1.857, allocations: 188.1 kB / 0.7489 GB, free: 51.86 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002851/1.857, allocations: 52.02 kB / 0.749 GB, free: 51.82 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002211/1.857, allocations: 9.359 kB / 0.749 GB, free: 51.81 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001442/1.859, allocations: 1.407 MB / 0.7504 GB, free: 50.34 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/1.859, allocations: 4 kB / 0.7504 GB, free: 50.34 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005166/1.864, allocations: 3.703 MB / 0.754 GB, free: 46.87 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006589/1.87, allocations: 5.341 MB / 0.7592 GB, free: 41.9 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002046/1.873, allocations: 491.1 kB / 0.7597 GB, free: 41.43 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001024/1.874, allocations: 5.406 kB / 0.7597 GB, free: 41.42 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001354/1.875, allocations: 22.38 kB / 0.7597 GB, free: 41.41 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001943/1.875, allocations: 68.55 kB / 0.7598 GB, free: 41.36 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001247/1.875, allocations: 45.41 kB / 0.7598 GB, free: 41.32 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.004375/1.88, allocations: 1.651 MB / 0.7614 GB, free: 39.75 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006817/1.887, allocations: 0.7265 MB / 0.7621 GB, free: 39.02 MB / 474.7 MB 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.0006631/1.887, allocations: 154.5 kB / 0.7623 GB, free: 38.87 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006842/1.894, allocations: 3.713 MB / 0.7659 GB, free: 35.17 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.011e-05/1.894, allocations: 1 kB / 0.7659 GB, free: 35.17 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001559/1.896, allocations: 1.057 MB / 0.7669 GB, free: 34.1 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00171/1.897, allocations: 193 kB / 0.7671 GB, free: 33.91 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01572/1.913, allocations: 6.738 MB / 0.7737 GB, free: 27.07 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004717/1.918, allocations: 3.496 MB / 0.7771 GB, free: 23.55 MB / 474.7 MB Notification: Performance of SimCode: time 8.42e-07/1.918, allocations: 0 / 0.7771 GB, free: 23.55 MB / 474.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Prismatic_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Prismatic.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1)