Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.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) 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(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_InitialConditions",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.001236/0.001235, allocations: 178.9 kB / 8.477 MB, free: 1.883 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.419/1.419, allocations: 205.2 MB / 214.1 MB, free: 5.09 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008956/0.0008956, allocations: 82.33 kB / 262.1 MB, free: 5.145 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2083/0.2092, allocations: 52.97 MB / 315.1 MB, free: 41.39 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08306/0.2923, allocations: 47.58 MB / 362.6 MB, free: 9.867 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2552/0.5475, allocations: 75.23 MB / 437.9 MB, free: 10.68 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002025/0.5478, allocations: 60.5 kB / 437.9 MB, free: 10.68 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.01186/0.5596, allocations: 4.722 MB / 442.6 MB, free: 9.93 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.5597, allocations: 12.05 kB / 442.7 MB, free: 9.93 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.961e-05/0.5598, allocations: 30.97 kB / 442.7 MB, free: 9.914 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00026/0.5601, allocations: 227.1 kB / 442.9 MB, free: 9.699 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.5601, allocations: 7.875 kB / 442.9 MB, free: 9.699 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.498e-05/0.5601, allocations: 19.11 kB / 442.9 MB, free: 9.695 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003096/0.5605, allocations: 160.5 kB / 443.1 MB, free: 9.688 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003262/0.5608, allocations: 208.1 kB / 443.3 MB, free: 9.629 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.302e-05/0.5608, allocations: 15.62 kB / 443.3 MB, free: 9.621 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.114e-05/0.5609, allocations: 0 / 443.3 MB, free: 9.621 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.5609, allocations: 7.781 kB / 443.3 MB, free: 9.621 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009849/0.5619, allocations: 0.6979 MB / 444 MB, free: 9.25 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002533/0.5621, allocations: 188.7 kB / 444.2 MB, free: 9.215 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001278/0.5623, allocations: 103.6 kB / 444.3 MB, free: 9.199 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.5623, allocations: 5.078 kB / 444.3 MB, free: 9.199 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.471e-05/0.5623, allocations: 37.91 kB / 444.3 MB, free: 9.156 MB / 314.7 MB Notification: Performance of pre-optimization done (n=36): time 1.684e-06/0.5623, allocations: 7.844 kB / 444.3 MB, free: 9.152 MB / 314.7 MB Notification: Performance of matching and sorting (n=48): time 0.001892/0.5642, allocations: 1.478 MB / 445.8 MB, free: 8.211 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.611e-05/0.5643, allocations: 85.53 kB / 445.9 MB, free: 8.113 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.5644, allocations: 140.6 kB / 446 MB, free: 8.02 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.5644, allocations: 31.61 kB / 446.1 MB, free: 7.984 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.948e-05/0.5645, allocations: 126.8 kB / 446.2 MB, free: 7.879 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.979e-05/0.5646, allocations: 173.6 kB / 446.4 MB, free: 7.766 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.405e-05/0.5646, allocations: 0 / 446.4 MB, free: 7.766 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.834e-05/0.5647, allocations: 338.2 kB / 446.7 MB, free: 7.449 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.5648, allocations: 89.44 kB / 446.8 MB, free: 7.445 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001521/0.565, allocations: 133.5 kB / 446.9 MB, free: 7.41 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000172/0.5651, allocations: 113.2 kB / 447 MB, free: 7.406 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.5651, allocations: 0 / 447 MB, free: 7.406 MB / 314.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004175/0.5656, allocations: 326 kB / 447.3 MB, free: 7.344 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.5656, allocations: 7.812 kB / 447.4 MB, free: 7.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.5656, allocations: 0.75 kB / 447.4 MB, free: 7.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.5656, allocations: 3.875 kB / 447.4 MB, free: 7.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004172/0.5661, allocations: 107.9 kB / 447.5 MB, free: 7.332 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.5661, allocations: 0.7969 kB / 447.5 MB, free: 7.332 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001307/0.5662, allocations: 3.812 kB / 447.5 MB, free: 7.332 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.163e-05/0.5662, allocations: 10.75 kB / 447.5 MB, free: 7.332 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.161e-05/0.5663, allocations: 118.9 kB / 447.6 MB, free: 7.215 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.372e-05/0.5664, allocations: 35.17 kB / 447.6 MB, free: 7.191 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.122e-05/0.5665, allocations: 34.59 kB / 447.7 MB, free: 7.184 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.5665, allocations: 7.688 kB / 447.7 MB, free: 7.184 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-05/0.5665, allocations: 0.6562 kB / 447.7 MB, free: 7.184 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.826e-06/0.5665, allocations: 2.109 kB / 447.7 MB, free: 7.184 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001214/0.5678, allocations: 0.8598 MB / 448.5 MB, free: 6.793 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.237e-06/0.5678, allocations: 0 / 448.5 MB, free: 6.793 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004457/0.5682, allocations: 97.33 kB / 448.6 MB, free: 6.789 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.825e-06/0.5682, allocations: 3.844 kB / 448.6 MB, free: 6.789 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.766e-05/0.5683, allocations: 16.45 kB / 448.6 MB, free: 6.781 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.5683, allocations: 0 / 448.6 MB, free: 6.781 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.5683, allocations: 3.781 kB / 448.7 MB, free: 6.781 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005937/0.5689, allocations: 0.6331 MB / 449.3 MB, free: 6.469 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007628/0.5697, allocations: 1.128 MB / 450.4 MB, free: 5.785 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.896e-05/0.5697, allocations: 97.02 kB / 450.5 MB, free: 5.68 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.324e-05/0.5698, allocations: 4.828 kB / 450.5 MB, free: 5.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000193/0.57, allocations: 0 / 450.5 MB, free: 5.68 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.312e-05/0.57, allocations: 25.28 kB / 450.5 MB, free: 5.68 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.84e-05/0.5701, allocations: 11.8 kB / 450.5 MB, free: 5.68 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.202e-05/0.5701, allocations: 118.3 kB / 450.7 MB, free: 5.602 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001003/0.5711, allocations: 72.81 kB / 450.7 MB, free: 5.594 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (sd2.s_rel,sd2.v_rel,m4.s,m4.v,m1.s,m1.v,sd1.s_rel,sd1.v_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001656/0.5713, allocations: 104.1 kB / 450.8 MB, free: 5.5 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003902/0.5717, allocations: 261.6 kB / 451.1 MB, free: 5.484 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.5717, allocations: 0 / 451.1 MB, free: 5.484 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000162/0.5719, allocations: 147.5 kB / 451.2 MB, free: 5.469 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004677/0.5724, allocations: 39.47 kB / 451.3 MB, free: 5.465 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001387/0.5738, allocations: 0.8485 MB / 452.1 MB, free: 4.941 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000446/0.5742, allocations: 0.8293 MB / 453 MB, free: 4.23 MB / 314.7 MB Notification: Performance of SimCode: time 3.31e-07/0.5742, allocations: 3.938 kB / 453 MB, free: 4.227 MB / 314.7 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_InitialConditions_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_InitialConditions.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat does not exist to compare? outputFormat=mat