Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) 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) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_maint_8_0_x_Buildings_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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.381/1.381, allocations: 285.5 MB / 292.8 MB, free: 10.48 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009461/0.0009461, allocations: 181.3 kB / 361.1 MB, free: 7.137 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.19/1.19, allocations: 205.1 MB / 0.6195 GB, free: 10.34 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008441/0.0008441, allocations: 98.61 kB / 0.7326 GB, free: 44.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2387/0.2395, allocations: 121.5 MB / 0.8512 GB, free: 2.906 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5392/0.7788, allocations: 115.3 MB / 0.9638 GB, free: 78.31 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6859/1.465, allocations: 361.2 MB / 1.317 GB, free: 235.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002052/1.465, allocations: 83.77 kB / 1.317 GB, free: 235.8 MB / 0.8542 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.02653/1.492, allocations: 14.06 MB / 1.33 GB, free: 222.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/1.492, allocations: 12 kB / 1.33 GB, free: 222.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.431e-05/1.492, allocations: 7.906 kB / 1.33 GB, free: 222.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/1.492, allocations: 182.9 kB / 1.331 GB, free: 222.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/1.492, allocations: 0 / 1.331 GB, free: 222.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.999e-05/1.492, allocations: 11.94 kB / 1.331 GB, free: 222.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001783/1.492, allocations: 92.58 kB / 1.331 GB, free: 222.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/1.492, allocations: 81.66 kB / 1.331 GB, free: 222.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/1.492, allocations: 4 kB / 1.331 GB, free: 222.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/1.492, allocations: 0 / 1.331 GB, free: 222.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/1.492, allocations: 0 / 1.331 GB, free: 222.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004979/1.493, allocations: 389 kB / 1.331 GB, free: 221.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/1.493, allocations: 92.75 kB / 1.331 GB, free: 221.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.846e-05/1.493, allocations: 44.86 kB / 1.331 GB, free: 221.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007796/1.494, allocations: 0.9397 MB / 1.332 GB, free: 220.4 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.702e-05/1.494, allocations: 40.55 kB / 1.332 GB, free: 220.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=12): time 1.573e-06/1.494, allocations: 3.984 kB / 1.332 GB, free: 220.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12): time 0.000402/1.494, allocations: 133.4 kB / 1.332 GB, free: 220.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.628e-05/1.494, allocations: 59.34 kB / 1.332 GB, free: 220.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.068e-05/1.494, allocations: 137.3 kB / 1.332 GB, free: 220 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/1.494, allocations: 25.7 kB / 1.332 GB, free: 220 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.744e-05/1.494, allocations: 107 kB / 1.333 GB, free: 219.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.863e-05/1.494, allocations: 47.3 kB / 1.333 GB, free: 219.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.608e-06/1.494, allocations: 0 / 1.333 GB, free: 219.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 4.906e-05/1.494, allocations: 326.8 kB / 1.333 GB, free: 219.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.411e-05/1.494, allocations: 40 kB / 1.333 GB, free: 219.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.039e-05/1.495, allocations: 89.27 kB / 1.333 GB, free: 219.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004988/1.495, allocations: 142.9 kB / 1.333 GB, free: 219.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/1.495, allocations: 0 / 1.333 GB, free: 219.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006395/1.496, allocations: 266.9 kB / 1.333 GB, free: 219 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/1.496, allocations: 4 kB / 1.333 GB, free: 219 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/1.496, allocations: 4 kB / 1.333 GB, free: 219 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/1.496, allocations: 0 / 1.333 GB, free: 219 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002759/1.496, allocations: 67.98 kB / 1.334 GB, free: 218.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/1.496, allocations: 0 / 1.334 GB, free: 218.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001556/1.496, allocations: 32.58 kB / 1.334 GB, free: 218.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.346e-05/1.496, allocations: 11.91 kB / 1.334 GB, free: 218.9 MB / 0.8542 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 5.283e-05/1.496, allocations: 112.9 kB / 1.334 GB, free: 218.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.183e-05/1.496, allocations: 11.81 kB / 1.334 GB, free: 218.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003679/1.497, allocations: 153.1 kB / 1.334 GB, free: 218.6 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/1.497, allocations: 0 / 1.334 GB, free: 218.6 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/1.497, allocations: 0 / 1.334 GB, free: 218.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/1.497, allocations: 0 / 1.334 GB, free: 218.6 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001389/1.497, allocations: 194 kB / 1.334 GB, free: 218.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/1.497, allocations: 0 / 1.334 GB, free: 218.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001666/1.497, allocations: 43.91 kB / 1.334 GB, free: 218.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/1.497, allocations: 2.656 kB / 1.334 GB, free: 218.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/1.497, allocations: 0 / 1.334 GB, free: 218.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/1.497, allocations: 0 / 1.334 GB, free: 218.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.497, allocations: 4 kB / 1.334 GB, free: 218.3 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003135/1.497, allocations: 235.3 kB / 1.334 GB, free: 218.1 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003617/1.498, allocations: 0.609 MB / 1.335 GB, free: 217.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.201e-05/1.498, allocations: 88.91 kB / 1.335 GB, free: 217.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.489e-05/1.498, allocations: 4 kB / 1.335 GB, free: 217.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001505/1.498, allocations: 19.98 kB / 1.335 GB, free: 217.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.244e-05/1.498, allocations: 11.92 kB / 1.335 GB, free: 217.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.104e-06/1.498, allocations: 0 / 1.335 GB, free: 217.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.338e-05/1.498, allocations: 113.3 kB / 1.335 GB, free: 217.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000852/1.499, allocations: 72.05 kB / 1.335 GB, free: 217.1 MB / 0.8542 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.0002877/1.499, allocations: 185.8 kB / 1.335 GB, free: 216.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001914/1.499, allocations: 111.9 kB / 1.335 GB, free: 216.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/1.499, allocations: 3.938 kB / 1.335 GB, free: 216.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.692e-05/1.5, allocations: 39.94 kB / 1.336 GB, free: 216.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002355/1.5, allocations: 21.11 kB / 1.336 GB, free: 216.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003429/1.5, allocations: 152.3 kB / 1.336 GB, free: 216.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002009/1.5, allocations: 0.7323 MB / 1.336 GB, free: 215.8 MB / 0.8542 GB Notification: Performance of SimCode: time 2.4e-07/1.5, allocations: 0 / 1.336 GB, free: 215.8 MB / 0.8542 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)