Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.565/1.565, allocations: 289.8 MB / 297.1 MB, free: 6.695 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.001244/0.001243, allocations: 189.2 kB / 366.3 MB, free: 1.996 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.742/1.742, allocations: 205.2 MB / 0.6256 GB, free: 5.848 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.0009836/0.0009834, allocations: 92.42 kB / 0.7396 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3444/0.3455, allocations: 122.4 MB / 0.8591 GB, free: 13.28 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8988/1.244, allocations: 116.3 MB / 0.9727 GB, free: 68.93 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.064/2.308, allocations: 362.2 MB / 1.326 GB, free: 128.2 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002272/2.308, allocations: 88.14 kB / 1.326 GB, free: 128.1 MB / 0.823 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.02842/2.337, allocations: 14.06 MB / 1.34 GB, free: 116.9 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.543e-05/2.337, allocations: 11.98 kB / 1.34 GB, free: 116.9 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.015e-05/2.337, allocations: 7.906 kB / 1.34 GB, free: 116.9 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/2.337, allocations: 182.8 kB / 1.34 GB, free: 116.7 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/2.337, allocations: 4 kB / 1.34 GB, free: 116.7 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.111e-05/2.337, allocations: 11.94 kB / 1.34 GB, free: 116.7 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002099/2.337, allocations: 93.06 kB / 1.34 GB, free: 116.6 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/2.337, allocations: 80.11 kB / 1.341 GB, free: 116.6 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/2.337, allocations: 0 / 1.341 GB, free: 116.6 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.691e-05/2.338, allocations: 3.984 kB / 1.341 GB, free: 116.5 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/2.338, allocations: 0 / 1.341 GB, free: 116.5 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005928/2.338, allocations: 397.7 kB / 1.341 GB, free: 116.2 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001395/2.338, allocations: 86.98 kB / 1.341 GB, free: 116.1 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.126e-05/2.338, allocations: 43.73 kB / 1.341 GB, free: 116.1 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009118/2.339, allocations: 0.9318 MB / 1.342 GB, free: 115.1 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/2.339, allocations: 34.56 kB / 1.342 GB, free: 115 MB / 0.823 GB Notification: Performance of pre-optimization done (n=12): time 1.152e-06/2.339, allocations: 0 / 1.342 GB, free: 115 MB / 0.823 GB Notification: Performance of matching and sorting (n=12): time 0.0004854/2.34, allocations: 145.1 kB / 1.342 GB, free: 114.9 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.359e-05/2.34, allocations: 55.34 kB / 1.342 GB, free: 114.8 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/2.34, allocations: 142.5 kB / 1.342 GB, free: 114.7 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/2.34, allocations: 29.7 kB / 1.342 GB, free: 114.7 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.3e-05/2.34, allocations: 101.5 kB / 1.342 GB, free: 114.6 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.619e-05/2.34, allocations: 46.92 kB / 1.342 GB, free: 114.5 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.062e-05/2.34, allocations: 0 / 1.342 GB, free: 114.5 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.999e-05/2.34, allocations: 322.3 kB / 1.343 GB, free: 114.2 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.275e-05/2.34, allocations: 42.12 kB / 1.343 GB, free: 114.2 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.628e-05/2.34, allocations: 76.3 kB / 1.343 GB, free: 114.1 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005247/2.341, allocations: 149.1 kB / 1.343 GB, free: 114 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/2.341, allocations: 0 / 1.343 GB, free: 114 MB / 0.823 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006856/2.342, allocations: 260.7 kB / 1.343 GB, free: 113.8 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/2.342, allocations: 11.94 kB / 1.343 GB, free: 113.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/2.342, allocations: 0 / 1.343 GB, free: 113.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/2.342, allocations: 0 / 1.343 GB, free: 113.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003076/2.342, allocations: 73.2 kB / 1.343 GB, free: 113.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/2.342, allocations: 4 kB / 1.343 GB, free: 113.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001714/2.342, allocations: 31.83 kB / 1.343 GB, free: 113.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.114e-05/2.342, allocations: 11.89 kB / 1.343 GB, free: 113.7 MB / 0.823 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 7.716e-05/2.342, allocations: 108.9 kB / 1.344 GB, free: 113.5 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.488e-05/2.342, allocations: 11.81 kB / 1.344 GB, free: 113.5 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004037/2.343, allocations: 159.8 kB / 1.344 GB, free: 113.4 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/2.343, allocations: 0 / 1.344 GB, free: 113.4 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/2.343, allocations: 4 kB / 1.344 GB, free: 113.4 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/2.343, allocations: 7.984 kB / 1.344 GB, free: 113.4 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001643/2.343, allocations: 184.3 kB / 1.344 GB, free: 113.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/2.343, allocations: 0 / 1.344 GB, free: 113.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001727/2.343, allocations: 35.97 kB / 1.344 GB, free: 113.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/2.343, allocations: 0 / 1.344 GB, free: 113.2 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/2.343, allocations: 8 kB / 1.344 GB, free: 113.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/2.343, allocations: 0 / 1.344 GB, free: 113.1 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/2.343, allocations: 0 / 1.344 GB, free: 113.1 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004087/2.344, allocations: 242.1 kB / 1.344 GB, free: 112.9 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004309/2.344, allocations: 0.6107 MB / 1.345 GB, free: 112.3 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.039e-05/2.344, allocations: 88.92 kB / 1.345 GB, free: 112.2 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.813e-05/2.344, allocations: 0 / 1.345 GB, free: 112.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001604/2.344, allocations: 15.98 kB / 1.345 GB, free: 112.2 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.189e-05/2.344, allocations: 11.61 kB / 1.345 GB, free: 112.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/2.344, allocations: 8 kB / 1.345 GB, free: 112.2 MB / 0.823 GB Notification: Performance of sort global known variables: time 6.259e-05/2.344, allocations: 108.1 kB / 1.345 GB, free: 112.1 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001028/2.346, allocations: 71.3 kB / 1.345 GB, free: 112 MB / 0.823 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.0003779/2.346, allocations: 186.8 kB / 1.345 GB, free: 111.8 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002307/2.346, allocations: 112.7 kB / 1.345 GB, free: 111.8 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/2.346, allocations: 3.938 kB / 1.345 GB, free: 111.8 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 6.714e-05/2.346, allocations: 43.11 kB / 1.345 GB, free: 111.7 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002846/2.347, allocations: 18.05 kB / 1.345 GB, free: 111.7 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004496/2.347, allocations: 154.6 kB / 1.346 GB, free: 111.6 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002738/2.347, allocations: 0.7351 MB / 1.346 GB, free: 110.8 MB / 0.823 GB Notification: Performance of SimCode: time 2.51e-07/2.347, allocations: 0 / 1.346 GB, free: 110.8 MB / 0.823 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)