Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") translateModel(IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") [: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.001602/0.001602, allocations: 189.1 kB / 7.801 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4576/0.4576, allocations: 90.85 MB / 99.07 MB, free: 14.95 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.249/1.249, allocations: 221.4 MB / 342.7 MB, free: 5.215 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.001063/0.001063, allocations: 98.27 kB / 415.5 MB, free: 9.836 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 8.056e-06/8.315e-06, allocations: 0 / 493.9 MB, free: 11.57 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3286/0.3286, allocations: 72.31 MB / 0.5529 GB, free: 44.79 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.399/3.727, allocations: 1.866 GB / 2.418 GB, free: 197.5 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002547/3.728, allocations: 87.95 kB / 2.419 GB, free: 197.4 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.424/5.152, allocations: 442.3 MB / 2.85 GB, free: 120 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.263e-05/5.152, allocations: 19.31 kB / 2.851 GB, free: 120 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.002998/5.155, allocations: 0.8396 MB / 2.851 GB, free: 119.6 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/5.155, allocations: 11.66 kB / 2.851 GB, free: 119.6 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001706/5.157, allocations: 163.3 kB / 2.851 GB, free: 119.6 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001664/5.158, allocations: 0.6832 MB / 2.852 GB, free: 119.4 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/5.158, allocations: 10.66 kB / 2.852 GB, free: 119.4 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.273e-05/5.158, allocations: 28.78 kB / 2.852 GB, free: 119.4 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005066/5.159, allocations: 256.3 kB / 2.852 GB, free: 119.4 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005452/5.159, allocations: 369.2 kB / 2.853 GB, free: 119.3 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/5.159, allocations: 0 / 2.853 GB, free: 119.3 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.091e-05/5.16, allocations: 3.5 kB / 2.853 GB, free: 119.3 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/5.16, allocations: 7.125 kB / 2.853 GB, free: 119.3 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002013/5.162, allocations: 1.925 MB / 2.855 GB, free: 118 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002614/5.162, allocations: 181.6 kB / 2.855 GB, free: 118 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001504/5.162, allocations: 126.7 kB / 2.855 GB, free: 118 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005/5.162, allocations: 307.9 kB / 2.855 GB, free: 117.7 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/5.163, allocations: 37.97 kB / 2.855 GB, free: 117.6 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=24): time 1.884e-06/5.163, allocations: 0 / 2.855 GB, free: 117.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=24): time 0.0009846/5.164, allocations: 403.1 kB / 2.856 GB, free: 117.6 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.355e-05/5.164, allocations: 59.53 kB / 2.856 GB, free: 117.5 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002048/5.164, allocations: 230.5 kB / 2.856 GB, free: 117.4 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.542e-05/5.164, allocations: 29.64 kB / 2.856 GB, free: 117.4 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.003e-05/5.164, allocations: 197.9 kB / 2.856 GB, free: 117.3 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.959e-05/5.164, allocations: 82.83 kB / 2.856 GB, free: 117.2 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.25e-05/5.164, allocations: 0 / 2.856 GB, free: 117.2 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.005e-05/5.164, allocations: 337.5 kB / 2.857 GB, free: 116.9 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001259/5.164, allocations: 89.81 kB / 2.857 GB, free: 116.9 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001658/5.164, allocations: 175.6 kB / 2.857 GB, free: 116.8 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004999/5.165, allocations: 223.8 kB / 2.857 GB, free: 116.8 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/5.165, allocations: 3.75 kB / 2.857 GB, free: 116.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007161/5.166, allocations: 409.6 kB / 2.857 GB, free: 116.8 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/5.166, allocations: 15.5 kB / 2.857 GB, free: 116.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/5.166, allocations: 2.516 kB / 2.857 GB, free: 116.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/5.166, allocations: 7.812 kB / 2.857 GB, free: 116.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002916/5.166, allocations: 61.16 kB / 2.858 GB, free: 116.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/5.166, allocations: 3.844 kB / 2.858 GB, free: 116.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002953/5.166, allocations: 41.88 kB / 2.858 GB, free: 116.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.374e-05/5.166, allocations: 14.59 kB / 2.858 GB, free: 116.8 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (31): * Single equations (assignments): 31 * 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 8.115e-05/5.166, allocations: 115.8 kB / 2.858 GB, free: 116.7 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.923e-05/5.166, allocations: 33.84 kB / 2.858 GB, free: 116.6 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007856/5.167, allocations: 428.2 kB / 2.858 GB, free: 116.6 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/5.167, allocations: 3.562 kB / 2.858 GB, free: 116.6 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/5.167, allocations: 0 / 2.858 GB, free: 116.6 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/5.167, allocations: 0 / 2.858 GB, free: 116.6 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001326/5.169, allocations: 0.9395 MB / 2.859 GB, free: 116.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/5.169, allocations: 6.562 kB / 2.859 GB, free: 116.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002605/5.169, allocations: 54.7 kB / 2.859 GB, free: 116.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/5.169, allocations: 3.5 kB / 2.859 GB, free: 116.3 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.078e-05/5.169, allocations: 3.906 kB / 2.859 GB, free: 116.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/5.169, allocations: 3.656 kB / 2.859 GB, free: 116.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/5.169, allocations: 3.562 kB / 2.859 GB, free: 116.3 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008719/5.17, allocations: 0.7476 MB / 2.86 GB, free: 115.9 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001167/5.17, allocations: 131.1 kB / 2.86 GB, free: 115.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.764e-05/5.17, allocations: 9.781 kB / 2.86 GB, free: 115.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002488/5.17, allocations: 25.3 kB / 2.86 GB, free: 115.8 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.225e-05/5.17, allocations: 28.81 kB / 2.86 GB, free: 115.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/5.17, allocations: 6.594 kB / 2.86 GB, free: 115.8 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0001169/5.171, allocations: 177.7 kB / 2.86 GB, free: 115.8 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0007519/5.171, allocations: 220.2 kB / 2.86 GB, free: 115.7 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senH.h_out) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * 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.002067/5.173, allocations: 1.728 MB / 2.862 GB, free: 115.3 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003697/5.174, allocations: 238.5 kB / 2.862 GB, free: 115.3 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/5.174, allocations: 0 / 2.862 GB, free: 115.3 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001578/5.174, allocations: 127.3 kB / 2.862 GB, free: 115.3 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006201/5.175, allocations: 119.2 kB / 2.863 GB, free: 115.3 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/5.176, allocations: 0.559 MB / 2.863 GB, free: 115.1 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003633/5.176, allocations: 0.879 MB / 2.864 GB, free: 114.4 MB / 0.6042 GB Notification: Performance of SimCode: time 3.41e-07/5.176, allocations: 0 / 2.864 GB, free: 114.4 MB / 0.6042 GB Notification: Performance of Templates: time 0.02169/5.198, allocations: 14.05 MB / 2.878 GB, free: 114.2 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)