Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.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.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy") [: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.001213/0.001213, 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.4499/0.4499, allocations: 90.86 MB / 99.08 MB, free: 14.93 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.216/1.216, allocations: 221.4 MB / 342.8 MB, free: 5.219 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.0009104/0.0009103, allocations: 93.06 kB / 415.5 MB, free: 6.406 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 9.468e-06/9.508e-06, allocations: 4 kB / 493.9 MB, free: 8.051 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.343/0.3431, allocations: 72.29 MB / 0.5529 GB, free: 73.39 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.827/3.17, allocations: 1.819 GB / 2.372 GB, free: 7.074 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002423/3.171, allocations: 89.48 kB / 2.372 GB, free: 6.988 MB / 0.6042 GB Notification: Performance of FrontEnd: time 0.6301/3.801, allocations: 209.7 MB / 2.577 GB, free: 46.8 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.499e-05/3.801, allocations: 4 kB / 2.577 GB, free: 46.8 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0008863/3.802, allocations: 0.5714 MB / 2.577 GB, free: 46.18 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/3.802, allocations: 12.03 kB / 2.577 GB, free: 46.17 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.911e-05/3.802, allocations: 23.72 kB / 2.577 GB, free: 46.14 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004057/3.802, allocations: 283.4 kB / 2.577 GB, free: 45.82 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/3.802, allocations: 4 kB / 2.577 GB, free: 45.82 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.022e-05/3.802, allocations: 12 kB / 2.577 GB, free: 45.81 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002097/3.803, allocations: 99.88 kB / 2.578 GB, free: 45.71 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002698/3.803, allocations: 214.5 kB / 2.578 GB, free: 45.46 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/3.803, allocations: 4 kB / 2.578 GB, free: 45.46 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.896e-05/3.803, allocations: 0 / 2.578 GB, free: 45.46 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/3.803, allocations: 7.984 kB / 2.578 GB, free: 45.45 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009307/3.804, allocations: 1.294 MB / 2.579 GB, free: 44.08 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000155/3.804, allocations: 151.8 kB / 2.579 GB, free: 43.88 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.448e-05/3.804, allocations: 85.14 kB / 2.579 GB, free: 43.77 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002767/3.804, allocations: 117.1 kB / 2.579 GB, free: 43.64 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.884e-05/3.804, allocations: 34.56 kB / 2.579 GB, free: 43.6 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 1.713e-06/3.805, allocations: 0 / 2.579 GB, free: 43.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0004576/3.805, allocations: 145.3 kB / 2.58 GB, free: 43.45 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.914e-05/3.805, allocations: 187.8 kB / 2.58 GB, free: 43.22 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/3.805, allocations: 166.1 kB / 2.58 GB, free: 43.05 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/3.805, allocations: 25.7 kB / 2.58 GB, free: 43.02 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.11e-05/3.805, allocations: 147.9 kB / 2.58 GB, free: 42.88 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.095e-05/3.805, allocations: 31.55 kB / 2.58 GB, free: 42.84 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.282e-06/3.805, allocations: 3.938 kB / 2.58 GB, free: 42.84 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.748e-05/3.805, allocations: 334.9 kB / 2.58 GB, free: 42.5 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.757e-05/3.805, allocations: 27.98 kB / 2.58 GB, free: 42.48 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.56e-05/3.805, allocations: 101.4 kB / 2.58 GB, free: 42.34 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001623/3.806, allocations: 75.86 kB / 2.581 GB, free: 42.27 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/3.806, allocations: 7.875 kB / 2.581 GB, free: 42.26 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002698/3.806, allocations: 157.5 kB / 2.581 GB, free: 42.1 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/3.806, allocations: 8 kB / 2.581 GB, free: 42.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/3.806, allocations: 4 kB / 2.581 GB, free: 42.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/3.806, allocations: 0 / 2.581 GB, free: 42.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001526/3.806, allocations: 35.98 kB / 2.581 GB, free: 42.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.493e-06/3.806, allocations: 4 kB / 2.581 GB, free: 42.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000159/3.806, allocations: 31.77 kB / 2.581 GB, free: 42.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.602e-05/3.806, allocations: 11.98 kB / 2.581 GB, free: 42.01 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 (15): * Single equations (assignments): 15 * 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 5.882e-05/3.806, allocations: 108.8 kB / 2.581 GB, free: 41.89 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000127/3.807, allocations: 19.72 kB / 2.581 GB, free: 41.88 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002549/3.807, allocations: 118.8 kB / 2.581 GB, free: 41.75 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/3.807, allocations: 4 kB / 2.581 GB, free: 41.75 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/3.807, allocations: 7.984 kB / 2.581 GB, free: 41.74 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/3.807, allocations: 7.984 kB / 2.581 GB, free: 41.73 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005912/3.807, allocations: 0.7227 MB / 2.582 GB, free: 40.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/3.807, allocations: 0 / 2.582 GB, free: 40.95 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001342/3.808, allocations: 28.14 kB / 2.582 GB, free: 40.92 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/3.808, allocations: 4 kB / 2.582 GB, free: 40.91 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/3.808, allocations: 4 kB / 2.582 GB, free: 40.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/3.808, allocations: 0 / 2.582 GB, free: 40.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/3.808, allocations: 3.938 kB / 2.582 GB, free: 40.91 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003387/3.808, allocations: 363.9 kB / 2.582 GB, free: 40.49 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.276e-05/3.808, allocations: 105 kB / 2.582 GB, free: 40.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.874e-05/3.808, allocations: 4 kB / 2.582 GB, free: 40.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/3.808, allocations: 11.98 kB / 2.582 GB, free: 40.35 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.13e-05/3.808, allocations: 15.89 kB / 2.582 GB, free: 40.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-06/3.808, allocations: 4 kB / 2.582 GB, free: 40.33 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7.493e-05/3.808, allocations: 134.1 kB / 2.582 GB, free: 40.2 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005087/3.809, allocations: 127.8 kB / 2.583 GB, free: 40.08 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.00138/3.81, allocations: 1.146 MB / 2.584 GB, free: 38.94 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001694/3.81, allocations: 79.92 kB / 2.584 GB, free: 38.86 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/3.81, allocations: 448 / 2.584 GB, free: 38.86 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.178e-05/3.811, allocations: 47.92 kB / 2.584 GB, free: 38.82 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004121/3.811, allocations: 54.25 kB / 2.584 GB, free: 38.77 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005667/3.812, allocations: 336.6 kB / 2.584 GB, free: 38.4 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002174/3.812, allocations: 0.7862 MB / 2.585 GB, free: 37.59 MB / 0.6042 GB Notification: Performance of SimCode: time 2.6e-07/3.812, allocations: 0 / 2.585 GB, free: 37.59 MB / 0.6042 GB Notification: Performance of Templates: time 0.01219/3.824, allocations: 8.306 MB / 2.593 GB, free: 29.33 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)