Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate") [: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/BuildingSystems 2.0.0-master/package.mo): time 0.7823/0.7823, allocations: 141.8 MB / 149.1 MB, free: 3.762 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001611/0.001611, allocations: 174.4 kB / 181.9 MB, free: 15.54 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 221.4 MB / 436 MB, free: 8.641 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009974/0.0009976, allocations: 106 kB / 0.507 GB, free: 24.25 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001903/0.001903, allocations: 278 kB / 0.5884 GB, free: 11.72 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 1.15e-05/1.153e-05, allocations: 4 kB / 0.6759 GB, free: 2.09 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5388/0.5389, allocations: 82.77 MB / 0.7567 GB, free: 112.3 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.556/5.095, allocations: 1.827 GB / 2.584 GB, free: 265.6 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003267/5.096, allocations: 88.52 kB / 2.584 GB, free: 265.6 MB / 0.6982 GB Notification: Performance of FrontEnd: time 1.066/6.161, allocations: 300.2 MB / 2.877 GB, free: 184.8 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 4.75e-05/6.161, allocations: 14.5 kB / 2.877 GB, free: 184.8 MB / 0.6982 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001585/6.163, allocations: 0.6457 MB / 2.878 GB, free: 184.4 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/6.163, allocations: 11 kB / 2.878 GB, free: 184.4 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00048/6.164, allocations: 67.23 kB / 2.878 GB, free: 184.4 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006132/6.164, allocations: 311.8 kB / 2.878 GB, free: 184.2 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/6.164, allocations: 13.75 kB / 2.878 GB, free: 184.2 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.413e-05/6.164, allocations: 14.62 kB / 2.878 GB, free: 184.2 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003107/6.165, allocations: 142.3 kB / 2.878 GB, free: 184.2 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003725/6.165, allocations: 268.9 kB / 2.878 GB, free: 184.1 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/6.165, allocations: 3.188 kB / 2.878 GB, free: 184.1 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.552e-05/6.165, allocations: 3.875 kB / 2.878 GB, free: 184.1 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/6.165, allocations: 7.781 kB / 2.878 GB, free: 184.1 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001501/6.167, allocations: 1.463 MB / 2.88 GB, free: 183 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001412/6.167, allocations: 82.12 kB / 2.88 GB, free: 183 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.224e-05/6.167, allocations: 69.8 kB / 2.88 GB, free: 183 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005007/6.167, allocations: 306.6 kB / 2.88 GB, free: 182.7 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/6.167, allocations: 45.12 kB / 2.88 GB, free: 182.6 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=13): time 1.934e-06/6.167, allocations: 0 / 2.88 GB, free: 182.6 MB / 0.6982 GB Notification: Performance of matching and sorting (n=13): time 0.0006488/6.168, allocations: 198.5 kB / 2.88 GB, free: 182.6 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.167e-05/6.168, allocations: 59.03 kB / 2.88 GB, free: 182.5 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001702/6.168, allocations: 191.5 kB / 2.881 GB, free: 182.4 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/6.168, allocations: 29.67 kB / 2.881 GB, free: 182.4 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 7.917e-05/6.168, allocations: 164.2 kB / 2.881 GB, free: 182.3 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 3.117e-05/6.168, allocations: 40.34 kB / 2.881 GB, free: 182.3 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.464e-06/6.168, allocations: 0 / 2.881 GB, free: 182.3 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 7.589e-05/6.168, allocations: 334.2 kB / 2.881 GB, free: 182 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.605e-05/6.169, allocations: 40.75 kB / 2.881 GB, free: 182 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/6.169, allocations: 101.6 kB / 2.881 GB, free: 181.9 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001978/6.169, allocations: 95.05 kB / 2.881 GB, free: 181.9 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/6.169, allocations: 0 / 2.881 GB, free: 181.9 MB / 0.6982 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003401/6.169, allocations: 208.7 kB / 2.882 GB, free: 181.9 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/6.169, allocations: 6.531 kB / 2.882 GB, free: 181.9 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/6.169, allocations: 0 / 2.882 GB, free: 181.9 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/6.169, allocations: 10.28 kB / 2.882 GB, free: 181.9 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001831/6.169, allocations: 37.84 kB / 2.882 GB, free: 181.9 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/6.169, allocations: 3.906 kB / 2.882 GB, free: 181.9 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002082/6.17, allocations: 30.39 kB / 2.882 GB, free: 181.9 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.515e-05/6.17, allocations: 14.44 kB / 2.882 GB, free: 181.8 MB / 0.6982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.998e-05/6.17, allocations: 109.3 kB / 2.882 GB, free: 181.7 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.293e-05/6.17, allocations: 26.3 kB / 2.882 GB, free: 181.7 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003646/6.17, allocations: 200.2 kB / 2.882 GB, free: 181.7 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/6.17, allocations: 3.406 kB / 2.882 GB, free: 181.7 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/6.17, allocations: 0 / 2.882 GB, free: 181.7 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/6.17, allocations: 0 / 2.882 GB, free: 181.7 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008518/6.171, allocations: 0.6315 MB / 2.883 GB, free: 181.4 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/6.171, allocations: 2.562 kB / 2.883 GB, free: 181.4 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001417/6.171, allocations: 33.55 kB / 2.883 GB, free: 181.4 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.947e-06/6.171, allocations: 11.03 kB / 2.883 GB, free: 181.4 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/6.171, allocations: 0 / 2.883 GB, free: 181.4 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.68e-06/6.171, allocations: 7.594 kB / 2.883 GB, free: 181.4 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.379e-06/6.171, allocations: 10.28 kB / 2.883 GB, free: 181.4 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003949/6.172, allocations: 404.9 kB / 2.883 GB, free: 181.1 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 9.266e-05/6.172, allocations: 110.4 kB / 2.883 GB, free: 180.9 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.976e-05/6.172, allocations: 7.641 kB / 2.883 GB, free: 180.9 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001946/6.172, allocations: 17.83 kB / 2.883 GB, free: 180.9 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.36e-05/6.172, allocations: 20.16 kB / 2.883 GB, free: 180.9 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.838e-06/6.172, allocations: 3.781 kB / 2.883 GB, free: 180.9 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0001039/6.172, allocations: 147.8 kB / 2.883 GB, free: 180.9 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.0006613/6.173, allocations: 160.9 kB / 2.884 GB, free: 180.9 MB / 0.6982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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.001979/6.175, allocations: 1.351 MB / 2.885 GB, free: 180.6 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.0002336/6.175, allocations: 118.3 kB / 2.885 GB, free: 180.6 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/6.175, allocations: 0 / 2.885 GB, free: 180.6 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 9.532e-05/6.175, allocations: 68.55 kB / 2.885 GB, free: 180.6 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005428/6.176, allocations: 78.94 kB / 2.885 GB, free: 180.5 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007205/6.177, allocations: 350.9 kB / 2.885 GB, free: 180.4 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003207/6.177, allocations: 0.8143 MB / 2.886 GB, free: 179.7 MB / 0.6982 GB Notification: Performance of SimCode: time 1.392e-06/6.177, allocations: 0 / 2.886 GB, free: 179.7 MB / 0.6982 GB Notification: Performance of Templates: time 0.01875/6.196, allocations: 10.32 MB / 2.896 GB, free: 179.5 MB / 0.6982 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)