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: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") [: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.556/1.556, allocations: 289.8 MB / 297.1 MB, free: 6.664 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.001473/0.001473, allocations: 173.3 kB / 366.3 MB, free: 1.984 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.605/1.605, allocations: 205.1 MB / 0.6256 GB, free: 5.902 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.001074/0.001074, allocations: 100.2 kB / 0.7396 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.141e-05/1.15e-05, allocations: 4 kB / 0.859 GB, free: 13.37 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8693/0.8693, allocations: 116.3 MB / 0.9726 GB, free: 68.54 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.02/1.89, allocations: 362.2 MB / 1.326 GB, free: 127.2 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003145/1.89, allocations: 85.56 kB / 1.326 GB, free: 127.1 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.02975/1.92, allocations: 13.61 MB / 1.34 GB, free: 116.5 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.565e-05/1.92, allocations: 4 kB / 1.34 GB, free: 116.4 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.0008512/1.921, allocations: 464.6 kB / 1.34 GB, free: 116 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.756e-05/1.921, allocations: 8.031 kB / 1.34 GB, free: 115.9 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.446e-05/1.921, allocations: 11.91 kB / 1.34 GB, free: 115.9 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001773/1.921, allocations: 175.7 kB / 1.34 GB, free: 115.7 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/1.921, allocations: 3.938 kB / 1.34 GB, free: 115.7 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.344e-05/1.921, allocations: 8 kB / 1.34 GB, free: 115.7 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002434/1.921, allocations: 93.47 kB / 1.34 GB, free: 115.7 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/1.922, allocations: 80.42 kB / 1.34 GB, free: 115.6 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/1.922, allocations: 4 kB / 1.34 GB, free: 115.6 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.743e-05/1.922, allocations: 0 / 1.34 GB, free: 115.6 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.188e-06/1.922, allocations: 4 kB / 1.34 GB, free: 115.6 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000679/1.922, allocations: 393.2 kB / 1.341 GB, free: 115.2 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001694/1.922, allocations: 83.52 kB / 1.341 GB, free: 115.2 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.131e-05/1.923, allocations: 50.91 kB / 1.341 GB, free: 115.1 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008883/1.923, allocations: 0.9279 MB / 1.342 GB, free: 114.1 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/1.923, allocations: 38.44 kB / 1.342 GB, free: 114.1 MB / 0.823 GB Notification: Performance of pre-optimization done (n=12): time 1.182e-06/1.923, allocations: 0 / 1.342 GB, free: 114.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=12): time 0.0004483/1.924, allocations: 140.5 kB / 1.342 GB, free: 113.9 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.329e-05/1.924, allocations: 55.41 kB / 1.342 GB, free: 113.9 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/1.924, allocations: 140.6 kB / 1.342 GB, free: 113.7 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/1.924, allocations: 25.7 kB / 1.342 GB, free: 113.7 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.016e-05/1.924, allocations: 102.2 kB / 1.342 GB, free: 113.6 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.604e-05/1.924, allocations: 50.36 kB / 1.342 GB, free: 113.6 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.02e-05/1.924, allocations: 0 / 1.342 GB, free: 113.6 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.75e-05/1.924, allocations: 322.4 kB / 1.343 GB, free: 113.2 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.118e-05/1.924, allocations: 46.12 kB / 1.343 GB, free: 113.2 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.693e-05/1.924, allocations: 77.05 kB / 1.343 GB, free: 113.2 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005118/1.925, allocations: 146.8 kB / 1.343 GB, free: 113 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/1.925, allocations: 0.75 kB / 1.343 GB, free: 113 MB / 0.823 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006443/1.926, allocations: 267.2 kB / 1.343 GB, free: 112.8 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/1.926, allocations: 4 kB / 1.343 GB, free: 112.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/1.926, allocations: 0 / 1.343 GB, free: 112.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/1.926, allocations: 7.984 kB / 1.343 GB, free: 112.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002818/1.926, allocations: 68 kB / 1.343 GB, free: 112.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/1.926, allocations: 0 / 1.343 GB, free: 112.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001564/1.926, allocations: 27.83 kB / 1.343 GB, free: 112.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.827e-05/1.926, allocations: 20.11 kB / 1.343 GB, free: 112.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 6.817e-05/1.926, allocations: 108.9 kB / 1.343 GB, free: 112.6 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.39e-05/1.926, allocations: 11.81 kB / 1.343 GB, free: 112.6 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003826/1.927, allocations: 151.3 kB / 1.344 GB, free: 112.4 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/1.927, allocations: 4 kB / 1.344 GB, free: 112.4 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/1.927, allocations: 3.984 kB / 1.344 GB, free: 112.4 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/1.927, allocations: 0 / 1.344 GB, free: 112.4 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001547/1.927, allocations: 191.3 kB / 1.344 GB, free: 112.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/1.927, allocations: 4 kB / 1.344 GB, free: 112.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001643/1.927, allocations: 39.97 kB / 1.344 GB, free: 112.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/1.927, allocations: 0 / 1.344 GB, free: 112.2 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/1.927, allocations: 0 / 1.344 GB, free: 112.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/1.927, allocations: 0 / 1.344 GB, free: 112.2 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.177e-06/1.927, allocations: 3.938 kB / 1.344 GB, free: 112.2 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003418/1.928, allocations: 244.7 kB / 1.344 GB, free: 112 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.046e-05/1.928, allocations: 92.48 kB / 1.344 GB, free: 111.9 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.806e-05/1.928, allocations: 0 / 1.344 GB, free: 111.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001496/1.928, allocations: 23.92 kB / 1.344 GB, free: 111.8 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.683e-05/1.928, allocations: 7.984 kB / 1.344 GB, free: 111.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.416e-06/1.928, allocations: 4 kB / 1.344 GB, free: 111.8 MB / 0.823 GB Notification: Performance of sort global known variables: time 4.998e-05/1.928, allocations: 111 kB / 1.344 GB, free: 111.7 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003001/1.928, allocations: 64.23 kB / 1.344 GB, free: 111.7 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.0003115/1.928, allocations: 181.9 kB / 1.345 GB, free: 111.5 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002045/1.929, allocations: 117.9 kB / 1.345 GB, free: 111.4 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/1.929, allocations: 3.938 kB / 1.345 GB, free: 111.4 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 5.917e-05/1.929, allocations: 41.38 kB / 1.345 GB, free: 111.4 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002848/1.929, allocations: 19.83 kB / 1.345 GB, free: 111.3 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000357/1.929, allocations: 147.3 kB / 1.345 GB, free: 111.2 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002137/1.93, allocations: 0.7354 MB / 1.346 GB, free: 110.4 MB / 0.823 GB Notification: Performance of SimCode: time 2.81e-07/1.93, allocations: 0 / 1.346 GB, free: 110.4 MB / 0.823 GB Notification: Performance of Templates: time 0.005167/1.935, allocations: 2.734 MB / 1.348 GB, free: 107.7 MB / 0.823 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (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 & ./Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)