Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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/IDEAS 3.0.0-master/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) 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",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.005548/0.005548, allocations: 180.4 kB / 7.458 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7573/0.7573, allocations: 133.5 MB / 141.4 MB, free: 15.68 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.542/1.542, allocations: 221.3 MB / 395 MB, free: 10.22 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 93.61 kB / 477.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4578/0.4589, allocations: 88.43 MB / 0.5529 GB, free: 89.31 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1795/0.6384, allocations: 82.3 MB / 0.6333 GB, free: 14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7188/1.357, allocations: 334.6 MB / 0.9601 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003086/1.358, allocations: 94.12 kB / 0.9602 GB, free: 11.59 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.03641/1.394, allocations: 14.36 MB / 0.9742 GB, free: 100 kB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/1.394, allocations: 11.94 kB / 0.9742 GB, free: 88 kB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.192e-05/1.394, allocations: 19.44 kB / 0.9742 GB, free: 72 kB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2905/1.685, allocations: 172.2 kB / 0.9744 GB, free: 335.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/1.685, allocations: 0 / 0.9744 GB, free: 335.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.27e-05/1.685, allocations: 10.91 kB / 0.9744 GB, free: 335.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002373/1.685, allocations: 92.11 kB / 0.9745 GB, free: 335.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/1.685, allocations: 85.05 kB / 0.9746 GB, free: 335.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/1.685, allocations: 0 / 0.9746 GB, free: 335.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/1.685, allocations: 2.344 kB / 0.9746 GB, free: 335.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/1.685, allocations: 3.875 kB / 0.9746 GB, free: 335.5 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005804/1.686, allocations: 390.4 kB / 0.975 GB, free: 335.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001318/1.686, allocations: 87.09 kB / 0.975 GB, free: 335.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.717e-05/1.686, allocations: 45.39 kB / 0.9751 GB, free: 335.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009408/1.687, allocations: 0.9316 MB / 0.976 GB, free: 334.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.381e-05/1.687, allocations: 30.56 kB / 0.976 GB, free: 334.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=12): time 1.482e-06/1.687, allocations: 0 / 0.976 GB, free: 334.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12): time 0.0005112/1.688, allocations: 138 kB / 0.9762 GB, free: 334.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.231e-05/1.688, allocations: 51.41 kB / 0.9762 GB, free: 334.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/1.688, allocations: 144.3 kB / 0.9763 GB, free: 334.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/1.688, allocations: 25.7 kB / 0.9764 GB, free: 334.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.034e-05/1.688, allocations: 109.9 kB / 0.9765 GB, free: 334 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.298e-05/1.688, allocations: 40.2 kB / 0.9765 GB, free: 334 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.077e-05/1.688, allocations: 0 / 0.9765 GB, free: 334 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.946e-05/1.688, allocations: 323.3 kB / 0.9768 GB, free: 333.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.424e-05/1.688, allocations: 46.47 kB / 0.9769 GB, free: 333.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.429e-05/1.688, allocations: 82.64 kB / 0.9769 GB, free: 333.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005391/1.689, allocations: 137.5 kB / 0.9771 GB, free: 333.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/1.689, allocations: 0 / 0.9771 GB, free: 333.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006712/1.689, allocations: 269.8 kB / 0.9773 GB, free: 333.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/1.689, allocations: 10.48 kB / 0.9773 GB, free: 333.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/1.689, allocations: 0 / 0.9773 GB, free: 333.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/1.689, allocations: 3.875 kB / 0.9773 GB, free: 333.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002961/1.69, allocations: 64 kB / 0.9774 GB, free: 333.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/1.69, allocations: 0 / 0.9774 GB, free: 333.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001669/1.69, allocations: 40.23 kB / 0.9774 GB, free: 333.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.761e-05/1.69, allocations: 7.75 kB / 0.9775 GB, free: 333.6 MB / 0.6823 GB 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 (26): * Single equations (assignments): 26 * 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 6.49e-05/1.69, allocations: 110.6 kB / 0.9776 GB, free: 333.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.42e-05/1.69, allocations: 13.28 kB / 0.9776 GB, free: 333.5 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000402/1.691, allocations: 157.3 kB / 0.9777 GB, free: 333.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/1.691, allocations: 0 / 0.9777 GB, free: 333.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/1.691, allocations: 3.344 kB / 0.9777 GB, free: 333.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/1.691, allocations: 0 / 0.9777 GB, free: 333.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001625/1.691, allocations: 193 kB / 0.9779 GB, free: 333.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/1.691, allocations: 3.172 kB / 0.9779 GB, free: 333.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001673/1.691, allocations: 39.98 kB / 0.9779 GB, free: 333.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/1.691, allocations: 7.625 kB / 0.978 GB, free: 333.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/1.691, allocations: 0 / 0.978 GB, free: 333.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/1.691, allocations: 3.625 kB / 0.978 GB, free: 333.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/1.691, allocations: 0 / 0.978 GB, free: 333.3 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003434/1.691, allocations: 232.4 kB / 0.9782 GB, free: 333.1 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003943/1.692, allocations: 0.6138 MB / 0.9788 GB, free: 332.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.42e-05/1.692, allocations: 90.2 kB / 0.9789 GB, free: 332.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.876e-05/1.692, allocations: 8.984 kB / 0.9789 GB, free: 332.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001517/1.692, allocations: 18.28 kB / 0.9789 GB, free: 332.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.791e-05/1.692, allocations: 16.94 kB / 0.9789 GB, free: 332.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/1.692, allocations: 0 / 0.9789 GB, free: 332.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.013e-05/1.692, allocations: 110.8 kB / 0.979 GB, free: 332.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0008983/1.693, allocations: 82.72 kB / 0.9791 GB, free: 332.4 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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.0002992/1.693, allocations: 176.2 kB / 0.9793 GB, free: 332.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000217/1.693, allocations: 113.3 kB / 0.9794 GB, free: 332.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/1.693, allocations: 0 / 0.9794 GB, free: 332.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 6.793e-05/1.694, allocations: 46.34 kB / 0.9794 GB, free: 332.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002522/1.694, allocations: 12.22 kB / 0.9794 GB, free: 332.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004096/1.694, allocations: 145.4 kB / 0.9796 GB, free: 332.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002449/1.694, allocations: 0.7345 MB / 0.9803 GB, free: 331.5 MB / 0.6823 GB Notification: Performance of SimCode: time 2.4e-07/1.695, allocations: 0 / 0.9803 GB, free: 331.5 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)