Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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: translateModel(IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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/Complex 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 184.1 kB / 7.804 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4508/0.4508, allocations: 90.85 MB / 99.07 MB, free: 14.96 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 221.4 MB / 342.8 MB, free: 5.27 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 95.22 kB / 415.5 MB, free: 6.445 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 9.067e-06/9.178e-06, allocations: 4 kB / 493.9 MB, free: 8.07 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3913/0.3913, allocations: 72.3 MB / 0.5529 GB, free: 73.44 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.418/3.81, allocations: 1.82 GB / 2.373 GB, free: 239.1 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002368/3.81, allocations: 88.91 kB / 2.373 GB, free: 239.1 MB / 0.6042 GB Notification: Performance of FrontEnd: time 0.863/4.673, allocations: 300.1 MB / 2.666 GB, free: 158.9 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.244e-05/4.673, allocations: 8.594 kB / 2.666 GB, free: 158.9 MB / 0.6042 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.001474/4.675, allocations: 0.6538 MB / 2.667 GB, free: 158.5 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/4.675, allocations: 7.812 kB / 2.667 GB, free: 158.5 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004702/4.675, allocations: 64.86 kB / 2.667 GB, free: 158.5 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006742/4.676, allocations: 326.7 kB / 2.667 GB, free: 158.3 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/4.676, allocations: 10.78 kB / 2.667 GB, free: 158.3 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.628e-05/4.676, allocations: 14.91 kB / 2.667 GB, free: 158.3 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00033/4.676, allocations: 149.2 kB / 2.667 GB, free: 158.3 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004064/4.677, allocations: 260.3 kB / 2.668 GB, free: 158.2 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/4.677, allocations: 0 / 2.668 GB, free: 158.2 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.326e-05/4.677, allocations: 0 / 2.668 GB, free: 158.2 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/4.677, allocations: 7.781 kB / 2.668 GB, free: 158.2 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00159/4.678, allocations: 1.48 MB / 2.669 GB, free: 157.1 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000158/4.678, allocations: 82.86 kB / 2.669 GB, free: 157.1 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.222e-05/4.679, allocations: 72.72 kB / 2.669 GB, free: 157.1 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000495/4.679, allocations: 306.4 kB / 2.669 GB, free: 156.8 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.781e-05/4.679, allocations: 30.56 kB / 2.669 GB, free: 156.7 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=13): time 1.853e-06/4.679, allocations: 2.938 kB / 2.669 GB, free: 156.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13): time 0.0007676/4.68, allocations: 207.1 kB / 2.67 GB, free: 156.7 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.572e-05/4.68, allocations: 53.03 kB / 2.67 GB, free: 156.6 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000261/4.68, allocations: 188.3 kB / 2.67 GB, free: 156.5 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/4.68, allocations: 26.2 kB / 2.67 GB, free: 156.5 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/4.68, allocations: 175.4 kB / 2.67 GB, free: 156.4 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.858e-05/4.68, allocations: 41.81 kB / 2.67 GB, free: 156.4 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.784e-06/4.68, allocations: 0 / 2.67 GB, free: 156.4 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.363e-05/4.681, allocations: 336.7 kB / 2.67 GB, free: 156 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/4.681, allocations: 43.34 kB / 2.67 GB, free: 156 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001607/4.681, allocations: 100.8 kB / 2.671 GB, free: 156 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002767/4.681, allocations: 90.69 kB / 2.671 GB, free: 156 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/4.681, allocations: 0.5312 kB / 2.671 GB, free: 156 MB / 0.6042 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000526/4.682, allocations: 208.8 kB / 2.671 GB, free: 155.9 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/4.682, allocations: 4.625 kB / 2.671 GB, free: 155.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/4.682, allocations: 2 kB / 2.671 GB, free: 155.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/4.682, allocations: 2.375 kB / 2.671 GB, free: 155.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002255/4.682, allocations: 41.48 kB / 2.671 GB, free: 155.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/4.682, allocations: 1.969 kB / 2.671 GB, free: 155.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002234/4.682, allocations: 29.28 kB / 2.671 GB, free: 155.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.699e-05/4.682, allocations: 10.56 kB / 2.671 GB, free: 155.9 MB / 0.6042 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.335e-05/4.682, allocations: 112.9 kB / 2.671 GB, free: 155.8 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.845e-05/4.682, allocations: 24.62 kB / 2.671 GB, free: 155.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000399/4.683, allocations: 194.7 kB / 2.671 GB, free: 155.8 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/4.683, allocations: 1.812 kB / 2.671 GB, free: 155.8 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/4.683, allocations: 3.906 kB / 2.671 GB, free: 155.8 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/4.683, allocations: 9.422 kB / 2.671 GB, free: 155.8 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009381/4.684, allocations: 0.6232 MB / 2.672 GB, free: 155.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/4.684, allocations: 5.031 kB / 2.672 GB, free: 155.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001542/4.684, allocations: 36.31 kB / 2.672 GB, free: 155.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.693e-06/4.684, allocations: 2.906 kB / 2.672 GB, free: 155.4 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/4.684, allocations: 2.5 kB / 2.672 GB, free: 155.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/4.684, allocations: 2.875 kB / 2.672 GB, free: 155.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/4.684, allocations: 6.156 kB / 2.672 GB, free: 155.4 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004333/4.684, allocations: 413.7 kB / 2.672 GB, free: 155.1 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/4.685, allocations: 106 kB / 2.672 GB, free: 155 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.342e-05/4.685, allocations: 13.62 kB / 2.672 GB, free: 155 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002009/4.685, allocations: 18.5 kB / 2.672 GB, free: 155 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.169e-05/4.685, allocations: 18.42 kB / 2.672 GB, free: 155 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/4.685, allocations: 7.875 kB / 2.672 GB, free: 155 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0001142/4.685, allocations: 151.2 kB / 2.673 GB, free: 154.9 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006883/4.686, allocations: 157 kB / 2.673 GB, free: 154.9 MB / 0.6042 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.002455/4.688, allocations: 1.357 MB / 2.674 GB, free: 154.6 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003744/4.689, allocations: 115.3 kB / 2.674 GB, free: 154.6 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/4.689, allocations: 3.094 kB / 2.674 GB, free: 154.6 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001323/4.689, allocations: 65.17 kB / 2.674 GB, free: 154.6 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006941/4.689, allocations: 82.52 kB / 2.674 GB, free: 154.6 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008823/4.69, allocations: 355 kB / 2.675 GB, free: 154.4 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003638/4.691, allocations: 0.8114 MB / 2.675 GB, free: 153.7 MB / 0.6042 GB Notification: Performance of SimCode: time 1.123e-06/4.691, allocations: 0 / 2.675 GB, free: 153.7 MB / 0.6042 GB Notification: Performance of Templates: time 0.01734/4.708, allocations: 10.29 MB / 2.686 GB, free: 153.3 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)