Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="IDEAS_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.004107/0.004108, allocations: 177.9 kB / 7.455 MB, free: 2.52 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7249/0.7249, allocations: 133.5 MB / 141.4 MB, free: 15.7 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.633/1.633, allocations: 221.3 MB / 395 MB, free: 10.16 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.001235/0.001235, allocations: 106.8 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.6543/0.6555, allocations: 88.42 MB / 0.5529 GB, free: 68.3 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.217/0.8726, allocations: 82.31 MB / 0.6333 GB, free: 2.434 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9542/1.827, allocations: 334.6 MB / 0.9601 GB, free: 0.8203 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003234/1.827, allocations: 87.69 kB / 0.9602 GB, free: 0.7734 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.03468/1.862, allocations: 14.35 MB / 0.9742 GB, free: 5.289 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/1.862, allocations: 8 kB / 0.9742 GB, free: 5.281 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.943e-05/1.862, allocations: 15.81 kB / 0.9742 GB, free: 5.266 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/1.862, allocations: 187.9 kB / 0.9744 GB, free: 5.043 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/1.862, allocations: 0 / 0.9744 GB, free: 5.043 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.26e-05/1.862, allocations: 8 kB / 0.9744 GB, free: 5.035 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002159/1.863, allocations: 98.41 kB / 0.9745 GB, free: 4.969 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/1.863, allocations: 82.73 kB / 0.9746 GB, free: 4.902 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/1.863, allocations: 0 / 0.9746 GB, free: 4.902 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/1.863, allocations: 0 / 0.9746 GB, free: 4.902 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/1.863, allocations: 4 kB / 0.9746 GB, free: 4.898 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006157/1.863, allocations: 396.3 kB / 0.975 GB, free: 4.535 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001396/1.864, allocations: 91 kB / 0.9751 GB, free: 4.461 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.096e-05/1.864, allocations: 39.17 kB / 0.9751 GB, free: 4.434 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001069/1.865, allocations: 0.9236 MB / 0.976 GB, free: 3.422 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/1.865, allocations: 41.56 kB / 0.976 GB, free: 3.375 MB / 0.698 GB Notification: Performance of pre-optimization done (n=12): time 1.142e-06/1.865, allocations: 0 / 0.976 GB, free: 3.375 MB / 0.698 GB Notification: Performance of matching and sorting (n=12): time 0.0004917/1.865, allocations: 135.8 kB / 0.9762 GB, free: 3.262 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/1.865, allocations: 55.41 kB / 0.9762 GB, free: 3.195 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/1.865, allocations: 150.3 kB / 0.9764 GB, free: 3.055 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.64e-05/1.865, allocations: 25.7 kB / 0.9764 GB, free: 3.023 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.438e-05/1.866, allocations: 101.8 kB / 0.9765 GB, free: 2.926 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.78e-05/1.866, allocations: 37.84 kB / 0.9765 GB, free: 2.895 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.513e-05/1.866, allocations: 0 / 0.9765 GB, free: 2.895 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001501/1.866, allocations: 334 kB / 0.9768 GB, free: 2.562 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.163e-05/1.866, allocations: 46.75 kB / 0.9769 GB, free: 2.535 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001137/1.866, allocations: 85.86 kB / 0.977 GB, free: 2.461 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005974/1.867, allocations: 131.1 kB / 0.9771 GB, free: 2.359 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/1.867, allocations: 0 / 0.9771 GB, free: 2.359 MB / 0.698 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0007296/1.867, allocations: 266.9 kB / 0.9773 GB, free: 2.137 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/1.867, allocations: 4 kB / 0.9773 GB, free: 2.133 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/1.867, allocations: 0 / 0.9773 GB, free: 2.133 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/1.867, allocations: 4 kB / 0.9773 GB, free: 2.129 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003224/1.868, allocations: 67.16 kB / 0.9774 GB, free: 2.066 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/1.868, allocations: 4 kB / 0.9774 GB, free: 2.062 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001866/1.868, allocations: 35.81 kB / 0.9775 GB, free: 2.027 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.409e-05/1.868, allocations: 11.31 kB / 0.9775 GB, free: 2.02 MB / 0.698 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 0.0001795/1.868, allocations: 110.9 kB / 0.9776 GB, free: 1.906 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.542e-05/1.868, allocations: 7.906 kB / 0.9776 GB, free: 1.898 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004541/1.869, allocations: 156.2 kB / 0.9777 GB, free: 1.766 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/1.869, allocations: 8 kB / 0.9777 GB, free: 1.758 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/1.869, allocations: 0 / 0.9777 GB, free: 1.758 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/1.869, allocations: 0 / 0.9777 GB, free: 1.758 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002069/1.869, allocations: 191.4 kB / 0.9779 GB, free: 1.551 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/1.869, allocations: 3.938 kB / 0.9779 GB, free: 1.547 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001778/1.869, allocations: 43.91 kB / 0.978 GB, free: 1.504 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/1.869, allocations: 4 kB / 0.978 GB, free: 1.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/1.869, allocations: 3.438 kB / 0.978 GB, free: 1.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/1.869, allocations: 0 / 0.978 GB, free: 1.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/1.869, allocations: 0 / 0.978 GB, free: 1.5 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000378/1.869, allocations: 233.5 kB / 0.9782 GB, free: 1.281 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004818/1.87, allocations: 0.6142 MB / 0.9788 GB, free: 0.6758 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.024e-05/1.87, allocations: 88.92 kB / 0.9789 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.743e-05/1.87, allocations: 0 / 0.9789 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001839/1.87, allocations: 27.97 kB / 0.9789 GB, free: 0.543 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.64e-05/1.87, allocations: 11.17 kB / 0.9789 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/1.87, allocations: 4 kB / 0.9789 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.992e-05/1.87, allocations: 106.3 kB / 0.979 GB, free: 448 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009535/1.871, allocations: 66.12 kB / 0.9791 GB, free: 392 kB / 0.698 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.0004677/1.872, allocations: 183.2 kB / 0.9793 GB, free: 204 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002858/1.872, allocations: 112 kB / 0.9794 GB, free: 124 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/1.872, allocations: 0 / 0.9794 GB, free: 124 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 7.519e-05/1.872, allocations: 46.98 kB / 0.9794 GB, free: 92 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002775/1.873, allocations: 19.08 kB / 0.9794 GB, free: 76 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004578/1.873, allocations: 155.5 kB / 0.9796 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003193/1.873, allocations: 0.7382 MB / 0.9803 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of SimCode: time 3.41e-07/1.873, allocations: 0 / 0.9803 GB, free: 15.14 MB / 0.7136 GB (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)