Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.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.Parts.PointMass,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_4_0_0_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 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 182.3 kB / 8.52 MB, free: 1.832 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.178/1.178, allocations: 221.4 MB / 230.3 MB, free: 7.652 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.0008966/0.0008965, allocations: 82.36 kB / 281.2 MB, free: 5.457 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.1612/0.1612, allocations: 44.15 MB / 376.1 MB, free: 3.215 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1666/0.3278, allocations: 68.03 MB / 444.1 MB, free: 15.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08851/0.4164, allocations: 61.9 MB / 0.4942 GB, free: 1.527 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.244/0.6605, allocations: 97.29 MB / 0.5892 GB, free: 15.4 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002008/0.6607, allocations: 79.95 kB / 0.5893 GB, free: 15.32 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: 949 * Number of variables: 949 Notification: Performance of Generate backend data structure: time 0.1301/0.7908, allocations: 49.08 MB / 0.6372 GB, free: 13.76 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.7909, allocations: 15.94 kB / 0.6372 GB, free: 13.74 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00701/0.7979, allocations: 1.416 MB / 0.6386 GB, free: 12.32 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002736/0.8007, allocations: 1.373 MB / 0.6399 GB, free: 10.9 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.411e-05/0.8008, allocations: 76 kB / 0.64 GB, free: 10.82 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004361/0.8012, allocations: 140 kB / 0.6401 GB, free: 10.69 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005318/0.8065, allocations: 3.811 MB / 0.6439 GB, free: 6.871 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00742/0.814, allocations: 6.142 MB / 0.6499 GB, free: 15.97 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.959e-05/0.8141, allocations: 43.53 kB / 0.6499 GB, free: 15.93 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002909/0.8144, allocations: 20 kB / 0.6499 GB, free: 15.91 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007414/0.8151, allocations: 0.7459 MB / 0.6506 GB, free: 15.16 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02565/0.8408, allocations: 30.76 MB / 0.6807 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002284/0.8431, allocations: 2.028 MB / 0.6827 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00108/0.8442, allocations: 0.9841 MB / 0.6836 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.118e-05/0.8443, allocations: 47.77 kB / 0.6837 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.8443, allocations: 50.5 kB / 0.6837 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=96): time 4.528e-06/0.8443, allocations: 0 / 0.6837 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of matching and sorting (n=117): time 0.02173/0.8661, allocations: 9.692 MB / 0.6932 GB, free: 2.297 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.254e-05/0.8662, allocations: 137 kB / 0.6933 GB, free: 2.133 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002571/0.8688, allocations: 2.047 MB / 0.6953 GB, free: 56 kB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.703e-05/0.8689, allocations: 29.7 kB / 0.6953 GB, free: 20 kB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001109/0.87, allocations: 2.027 MB / 0.6973 GB, free: 13.96 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003535/0.8703, allocations: 466.1 kB / 0.6978 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001539/0.8705, allocations: 0 / 0.6978 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002847/0.8708, allocations: 0.5361 MB / 0.6983 GB, free: 12.95 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00187/0.8727, allocations: 1.387 MB / 0.6996 GB, free: 11.55 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003434/0.8761, allocations: 4.273 MB / 0.7038 GB, free: 5.812 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003663/0.8798, allocations: 2.634 MB / 0.7064 GB, free: 3.176 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.382e-05/0.8798, allocations: 32 kB / 0.7064 GB, free: 3.145 MB / 0.5105 GB Notification: Performance of matching and sorting (n=596) (initialization): time 0.127/1.007, allocations: 5.424 MB / 0.7117 GB, free: 209 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/1.007, allocations: 6.594 kB / 0.7117 GB, free: 209 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001054/1.007, allocations: 105.4 kB / 0.7118 GB, free: 209 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001323/1.008, allocations: 0.5348 MB / 0.7123 GB, free: 209 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003217/1.012, allocations: 1.067 MB / 0.7134 GB, free: 209 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005184/1.017, allocations: 3.739 MB / 0.717 GB, free: 207.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002669/1.019, allocations: 138.3 kB / 0.7172 GB, free: 207.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003542/1.02, allocations: 300.7 kB / 0.7175 GB, free: 207.8 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.0004308/1.02, allocations: 355.5 kB / 0.7178 GB, free: 207.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002769/1.021, allocations: 205.9 kB / 0.718 GB, free: 207.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003288/1.024, allocations: 1.758 MB / 0.7197 GB, free: 207.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.944e-05/1.024, allocations: 12.41 kB / 0.7197 GB, free: 207.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/1.024, allocations: 2.781 kB / 0.7197 GB, free: 207.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.209e-05/1.024, allocations: 7.312 kB / 0.7197 GB, free: 207.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007205/1.031, allocations: 4.457 MB / 0.7241 GB, free: 207.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/1.031, allocations: 2.25 kB / 0.7241 GB, free: 207.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009241/1.032, allocations: 176.1 kB / 0.7242 GB, free: 207.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00109/1.033, allocations: 378.5 kB / 0.7246 GB, free: 207.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.038e-05/1.033, allocations: 15.88 kB / 0.7246 GB, free: 207.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004484/1.038, allocations: 3.219 MB / 0.7278 GB, free: 206 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.038, allocations: 0 / 0.7278 GB, free: 206 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004522/1.042, allocations: 3.697 MB / 0.7314 GB, free: 205.6 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005716/1.048, allocations: 5.244 MB / 0.7365 GB, free: 204.1 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003097/1.048, allocations: 261.5 kB / 0.7367 GB, free: 203.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002789/1.049, allocations: 3.781 kB / 0.7368 GB, free: 203.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008225/1.05, allocations: 31.34 kB / 0.7368 GB, free: 203.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001398/1.05, allocations: 49.92 kB / 0.7368 GB, free: 203.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.761e-05/1.05, allocations: 49.14 kB / 0.7369 GB, free: 203.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.001607/1.051, allocations: 1.338 MB / 0.7382 GB, free: 203.3 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00348/1.055, allocations: 0.5367 MB / 0.7387 GB, free: 203.3 MB / 0.5105 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.0003401/1.055, allocations: 152.6 kB / 0.7389 GB, free: 203.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003465/1.059, allocations: 3.351 MB / 0.7421 GB, free: 202.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/1.059, allocations: 0 / 0.7421 GB, free: 202.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001008/1.06, allocations: 0.9696 MB / 0.7431 GB, free: 202 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006407/1.06, allocations: 147.1 kB / 0.7432 GB, free: 201.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006963/1.067, allocations: 4.673 MB / 0.7478 GB, free: 200.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002518/1.07, allocations: 2.444 MB / 0.7502 GB, free: 199.3 MB / 0.5105 GB Notification: Performance of SimCode: time 3.21e-07/1.07, allocations: 0 / 0.7502 GB, free: 199.3 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_PointMass_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_PointMass.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1)