Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.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.Prismatic,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001519/0.001519, allocations: 202.1 kB / 8.543 MB, free: 1.793 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.24/1.24, allocations: 225.5 MB / 234.4 MB, free: 3.289 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009309/0.0009309, allocations: 88.22 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.1746/0.1746, allocations: 45.15 MB / 383.4 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.198/0.3726, allocations: 69.36 MB / 452.7 MB, free: 76.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08757/0.4602, allocations: 63.23 MB / 0.5039 GB, free: 12.94 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2698/0.7301, allocations: 103.5 MB / 0.6049 GB, free: 15.52 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002011/0.7303, allocations: 71.84 kB / 0.605 GB, free: 15.49 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.2254/0.9558, allocations: 86.65 MB / 0.6896 GB, free: 1.051 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.9558, allocations: 8 kB / 0.6896 GB, free: 1.043 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01382/0.9697, allocations: 2.791 MB / 0.6923 GB, free: 14.24 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009421/0.9791, allocations: 3.527 MB / 0.6958 GB, free: 10.66 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001514/0.9793, allocations: 124 kB / 0.6959 GB, free: 10.54 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001279/0.9806, allocations: 223.9 kB / 0.6961 GB, free: 10.32 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01192/0.9925, allocations: 7.079 MB / 0.703 GB, free: 3.242 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01705/1.01, allocations: 9.211 MB / 0.712 GB, free: 9.609 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001293/1.01, allocations: 19.81 kB / 0.712 GB, free: 9.59 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009078/1.011, allocations: 19.91 kB / 0.7121 GB, free: 9.57 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001442/1.012, allocations: 1.203 MB / 0.7132 GB, free: 8.371 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04122/1.053, allocations: 29.38 MB / 0.7419 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002339/1.056, allocations: 1.529 MB / 0.7434 GB, free: 8.848 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001371/1.057, allocations: 1.049 MB / 0.7444 GB, free: 7.801 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0093/1.066, allocations: 6.284 MB / 0.7506 GB, free: 0.9609 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/1.067, allocations: 51.56 kB / 0.7506 GB, free: 0.9023 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=154): time 4.519e-06/1.067, allocations: 3.938 kB / 0.7506 GB, free: 0.8984 MB / 0.5261 GB Notification: Performance of matching and sorting (n=160): time 0.1475/1.214, allocations: 6.85 MB / 0.7573 GB, free: 204.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.785e-05/1.214, allocations: 67.25 kB / 0.7574 GB, free: 204.6 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002976/1.217, allocations: 2.444 MB / 0.7598 GB, free: 204.3 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.675e-05/1.217, allocations: 25.7 kB / 0.7598 GB, free: 204.3 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009899/1.218, allocations: 2.744 MB / 0.7625 GB, free: 202.9 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003247/1.219, allocations: 0.6003 MB / 0.7631 GB, free: 202.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001573/1.219, allocations: 0 / 0.7631 GB, free: 202.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002573/1.219, allocations: 0.582 MB / 0.7636 GB, free: 202.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001767/1.221, allocations: 1.542 MB / 0.7651 GB, free: 202.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002564/1.223, allocations: 4.589 MB / 0.7696 GB, free: 198.3 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002901/1.226, allocations: 2.746 MB / 0.7723 GB, free: 198.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.522e-05/1.226, allocations: 30.16 kB / 0.7723 GB, free: 198.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=687) (initialization): time 0.007149/1.233, allocations: 5.519 MB / 0.7777 GB, free: 197.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/1.233, allocations: 6.562 kB / 0.7777 GB, free: 197.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.916e-05/1.234, allocations: 108.9 kB / 0.7778 GB, free: 197.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002864/1.234, allocations: 203.1 kB / 0.778 GB, free: 197.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003154/1.237, allocations: 1.134 MB / 0.7791 GB, free: 197.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001123/1.238, allocations: 1.605 MB / 0.7807 GB, free: 196.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002881/1.241, allocations: 115.1 kB / 0.7808 GB, free: 196.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004026/1.241, allocations: 317 kB / 0.7811 GB, free: 196.5 MB / 0.5261 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.0005316/1.242, allocations: 381.1 kB / 0.7815 GB, free: 196.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003735/1.242, allocations: 241.8 kB / 0.7817 GB, free: 196.1 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005509/1.243, allocations: 312.2 kB / 0.782 GB, free: 196 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.442e-05/1.243, allocations: 13.88 kB / 0.782 GB, free: 196 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.535e-05/1.243, allocations: 3.5 kB / 0.782 GB, free: 196 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/1.243, allocations: 10.92 kB / 0.782 GB, free: 196 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007282/1.25, allocations: 5.162 MB / 0.7871 GB, free: 195.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.715e-06/1.25, allocations: 3.594 kB / 0.7871 GB, free: 195.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008695/1.251, allocations: 186.2 kB / 0.7873 GB, free: 195.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001493/1.251, allocations: 45.59 kB / 0.7873 GB, free: 195.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.863e-05/1.251, allocations: 10.69 kB / 0.7873 GB, free: 195.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009046/1.252, allocations: 1.405 MB / 0.7887 GB, free: 194.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/1.252, allocations: 3.719 kB / 0.7887 GB, free: 194.3 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003693/1.256, allocations: 3.687 MB / 0.7923 GB, free: 193.5 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004766/1.261, allocations: 5.336 MB / 0.7975 GB, free: 192.2 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000577/1.261, allocations: 307.6 kB / 0.7978 GB, free: 192 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003184/1.262, allocations: 3.812 kB / 0.7978 GB, free: 192 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000743/1.263, allocations: 19.05 kB / 0.7978 GB, free: 192 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001358/1.263, allocations: 75.33 kB / 0.7979 GB, free: 191.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001025/1.263, allocations: 44 kB / 0.7979 GB, free: 191.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.002304/1.265, allocations: 1.608 MB / 0.7995 GB, free: 191.3 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004804/1.27, allocations: 0.714 MB / 0.8002 GB, free: 191.3 MB / 0.5261 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.0004029/1.27, allocations: 152.8 kB / 0.8003 GB, free: 191.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004512/1.275, allocations: 3.667 MB / 0.8039 GB, free: 190.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/1.275, allocations: 0 / 0.8039 GB, free: 190.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001068/1.276, allocations: 1.05 MB / 0.8049 GB, free: 189.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/1.277, allocations: 206.1 kB / 0.8051 GB, free: 189.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01208/1.289, allocations: 6.608 MB / 0.8116 GB, free: 186.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00378/1.293, allocations: 3.43 MB / 0.8149 GB, free: 184.2 MB / 0.5261 GB Notification: Performance of SimCode: time 1.252e-06/1.293, allocations: 3.375 kB / 0.8149 GB, free: 184.2 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Prismatic_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Prismatic.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1)