Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.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.Parts.PointMass,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_PointMass",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.001884/0.001884, allocations: 199.2 kB / 8.541 MB, free: 1.812 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.315/1.315, allocations: 225.5 MB / 234.4 MB, free: 3.305 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00094/0.00094, allocations: 92.98 kB / 286.3 MB, free: 5.234 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1704/0.1704, allocations: 45.15 MB / 383.4 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1898/0.3603, allocations: 69.36 MB / 452.7 MB, free: 76.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07963/0.4399, allocations: 63.25 MB / 0.5039 GB, free: 12.92 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2533/0.6933, allocations: 98.35 MB / 0.5999 GB, free: 4.559 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001603/0.6935, allocations: 73.72 kB / 0.6 GB, free: 4.523 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 949 * Number of variables: 949 Notification: Performance of Generate backend data structure: time 0.13/0.8235, allocations: 49.25 MB / 0.6481 GB, free: 10.24 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.8235, allocations: 8 kB / 0.6481 GB, free: 10.23 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007279/0.8308, allocations: 1.42 MB / 0.6495 GB, free: 8.805 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002903/0.8337, allocations: 1.367 MB / 0.6508 GB, free: 7.668 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.26e-05/0.8338, allocations: 76 kB / 0.6509 GB, free: 7.594 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006581/0.8345, allocations: 140 kB / 0.651 GB, free: 7.457 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005571/0.8401, allocations: 3.807 MB / 0.6547 GB, free: 4.875 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008114/0.8482, allocations: 6.148 MB / 0.6607 GB, free: 14.03 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001029/0.8483, allocations: 43.58 kB / 0.6608 GB, free: 13.99 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003871/0.8487, allocations: 24 kB / 0.6608 GB, free: 13.96 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007733/0.8495, allocations: 0.7381 MB / 0.6615 GB, free: 13.22 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02721/0.8767, allocations: 30.75 MB / 0.6916 GB, free: 13.44 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002489/0.8793, allocations: 2.025 MB / 0.6935 GB, free: 11.27 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001253/0.8806, allocations: 0.9873 MB / 0.6945 GB, free: 10.27 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001248/0.8807, allocations: 48.36 kB / 0.6945 GB, free: 10.22 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/0.8808, allocations: 42.5 kB / 0.6946 GB, free: 10.17 MB / 490.7 MB Notification: Performance of pre-optimization done (n=96): time 4.839e-06/0.8808, allocations: 0 / 0.6946 GB, free: 10.17 MB / 490.7 MB Notification: Performance of matching and sorting (n=117): time 0.0239/0.9047, allocations: 9.697 MB / 0.7041 GB, free: 360 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.652e-05/0.9048, allocations: 149 kB / 0.7042 GB, free: 176 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003197/0.908, allocations: 2.039 MB / 0.7062 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001247/0.9081, allocations: 25.7 kB / 0.7062 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001264/0.9094, allocations: 2.031 MB / 0.7082 GB, free: 12 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004342/0.9098, allocations: 462.3 kB / 0.7086 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002293/0.9101, allocations: 0 / 0.7086 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003536/0.9104, allocations: 0.536 MB / 0.7092 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002116/0.9126, allocations: 1.387 MB / 0.7105 GB, free: 9.594 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003724/0.9163, allocations: 4.28 MB / 0.7147 GB, free: 3.84 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00407/0.9204, allocations: 2.632 MB / 0.7173 GB, free: 1.207 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-05/0.9205, allocations: 28 kB / 0.7173 GB, free: 1.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=596) (initialization): time 0.01008/0.9305, allocations: 5.435 MB / 0.7226 GB, free: 11.74 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.9306, allocations: 8.219 kB / 0.7226 GB, free: 11.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001345/0.9307, allocations: 108 kB / 0.7227 GB, free: 11.63 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0015/0.9322, allocations: 0.5316 MB / 0.7232 GB, free: 11.09 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00372/0.936, allocations: 1.068 MB / 0.7243 GB, free: 10.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006271/0.9423, allocations: 3.742 MB / 0.7279 GB, free: 6.168 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003115/0.9454, allocations: 135.6 kB / 0.7281 GB, free: 6.035 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007078/0.9461, allocations: 304 kB / 0.7283 GB, free: 5.738 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 475 * Number of states: 0 () * Number of discrete variables: 21 (rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (563): * Single equations (assignments): 559 * Array equations: 3 * 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%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008366/0.947, allocations: 355.8 kB / 0.7287 GB, free: 5.383 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004149/0.9474, allocations: 201.4 kB / 0.7289 GB, free: 5.184 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003971/0.9514, allocations: 1.765 MB / 0.7306 GB, free: 3.41 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.025e-05/0.9514, allocations: 11.98 kB / 0.7306 GB, free: 3.398 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/0.9515, allocations: 4 kB / 0.7306 GB, free: 3.395 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.511e-05/0.9515, allocations: 7.984 kB / 0.7306 GB, free: 3.387 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009592/0.9611, allocations: 4.451 MB / 0.735 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/0.9611, allocations: 0 / 0.735 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001094/0.9622, allocations: 179.6 kB / 0.7351 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001313/0.9636, allocations: 380.5 kB / 0.7355 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001233/0.9637, allocations: 8.266 kB / 0.7355 GB, free: 14.31 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005565/0.9693, allocations: 3.231 MB / 0.7387 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/0.9693, allocations: 0 / 0.7387 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005895/0.9752, allocations: 3.703 MB / 0.7423 GB, free: 7.207 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007243/0.9825, allocations: 5.24 MB / 0.7474 GB, free: 1.914 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004964/0.983, allocations: 258.2 kB / 0.7476 GB, free: 1.641 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004169/0.9834, allocations: 4.062 kB / 0.7476 GB, free: 1.637 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001011/0.9845, allocations: 31.95 kB / 0.7477 GB, free: 1.605 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001553/0.9846, allocations: 52.42 kB / 0.7477 GB, free: 1.555 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001219/0.9848, allocations: 43.98 kB / 0.7478 GB, free: 1.512 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.002377/0.9871, allocations: 1.338 MB / 0.7491 GB, free: 160 kB / 0.5261 GB Notification: Performance of remove unused functions: time 0.1342/1.121, allocations: 0.5409 MB / 0.7496 GB, free: 220.8 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 84 * Array equations: 3 * 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%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004398/1.122, allocations: 150.1 kB / 0.7497 GB, free: 220.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004295/1.126, allocations: 3.35 MB / 0.753 GB, free: 220.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/1.126, allocations: 0 / 0.753 GB, free: 220.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001134/1.127, allocations: 0.9816 MB / 0.754 GB, free: 220.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000804/1.128, allocations: 144.1 kB / 0.7541 GB, free: 220.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007646/1.136, allocations: 4.663 MB / 0.7587 GB, free: 219.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002403/1.138, allocations: 2.442 MB / 0.7611 GB, free: 218.9 MB / 0.5261 GB Notification: Performance of SimCode: time 5.61e-07/1.138, allocations: 5.172 kB / 0.7611 GB, free: 218.9 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_PointMass_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_PointMass.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1)