Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(Annex60.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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/Annex60 1.0.0/package.mo): time 0.2917/0.2917, allocations: 54.4 MB / 61.68 MB, free: 11.14 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001594/0.001594, allocations: 187.8 kB / 75.37 MB, free: 1.5 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.707/1.707, allocations: 194.2 MB / 283.2 MB, free: 3.543 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001846/0.001846, allocations: 112 kB / 341.3 MB, free: 9.434 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.266e-06/8.296e-06, allocations: 0 / 404.9 MB, free: 27.68 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1358, allocations: 57.64 MB / 462.6 MB, free: 1.965 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.084/5.22, allocations: 2.12 GB / 2.572 GB, free: 82.95 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002649/5.22, allocations: 83.8 kB / 2.572 GB, free: 82.87 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.238/6.458, allocations: 291.5 MB / 2.856 GB, free: 102.5 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.027e-05/6.458, allocations: 14.3 kB / 2.856 GB, free: 102.5 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.002257/6.46, allocations: 0.7471 MB / 2.857 GB, free: 102.1 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/6.461, allocations: 14.45 kB / 2.857 GB, free: 102.1 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004632/6.461, allocations: 54.16 kB / 2.857 GB, free: 102.1 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009219/6.462, allocations: 378.6 kB / 2.857 GB, free: 101.9 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.866e-05/6.462, allocations: 13.12 kB / 2.857 GB, free: 101.9 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/6.462, allocations: 28.78 kB / 2.858 GB, free: 101.9 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006714/6.463, allocations: 280.1 kB / 2.858 GB, free: 101.9 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006802/6.463, allocations: 313.3 kB / 2.858 GB, free: 101.8 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/6.464, allocations: 0.6562 kB / 2.858 GB, free: 101.8 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.924e-05/6.464, allocations: 3.062 kB / 2.858 GB, free: 101.8 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.248e-05/6.464, allocations: 6.719 kB / 2.858 GB, free: 101.8 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00228/6.466, allocations: 1.283 MB / 2.859 GB, free: 101.2 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002741/6.466, allocations: 146.3 kB / 2.859 GB, free: 101.2 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001096/6.466, allocations: 78.14 kB / 2.86 GB, free: 101.2 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002946/6.467, allocations: 117.5 kB / 2.86 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/6.467, allocations: 40.75 kB / 2.86 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=18): time 2.004e-06/6.467, allocations: 0 / 2.86 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18): time 0.0005798/6.467, allocations: 250.5 kB / 2.86 GB, free: 101 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.969e-05/6.467, allocations: 58.75 kB / 2.86 GB, free: 100.9 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002014/6.468, allocations: 223.5 kB / 2.86 GB, free: 100.8 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.916e-05/6.468, allocations: 28.36 kB / 2.86 GB, free: 100.8 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/6.468, allocations: 216.9 kB / 2.86 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.501e-05/6.468, allocations: 62.17 kB / 2.86 GB, free: 100.6 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.16e-05/6.468, allocations: 3.094 kB / 2.86 GB, free: 100.6 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.453e-05/6.468, allocations: 337.3 kB / 2.861 GB, free: 100.3 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001136/6.468, allocations: 73.08 kB / 2.861 GB, free: 100.3 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001518/6.468, allocations: 120.4 kB / 2.861 GB, free: 100.3 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003416/6.468, allocations: 149.7 kB / 2.861 GB, free: 100.3 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-06/6.468, allocations: 2.594 kB / 2.861 GB, free: 100.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005825/6.469, allocations: 318.7 kB / 2.861 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/6.469, allocations: 5.938 kB / 2.861 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/6.469, allocations: 3.906 kB / 2.861 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/6.469, allocations: 8.688 kB / 2.861 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002579/6.469, allocations: 57.39 kB / 2.862 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.302e-05/6.469, allocations: 6.375 kB / 2.862 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002841/6.47, allocations: 40.12 kB / 2.862 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.508e-05/6.47, allocations: 9.594 kB / 2.862 GB, free: 100.2 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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 9.279e-05/6.47, allocations: 107.3 kB / 2.862 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.122e-05/6.47, allocations: 26.41 kB / 2.862 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005542/6.47, allocations: 282.7 kB / 2.862 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/6.47, allocations: 3.188 kB / 2.862 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/6.471, allocations: 0 / 2.862 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/6.471, allocations: 3.844 kB / 2.862 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009878/6.472, allocations: 0.746 MB / 2.863 GB, free: 99.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/6.472, allocations: 7.875 kB / 2.863 GB, free: 99.74 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002122/6.472, allocations: 44.19 kB / 2.863 GB, free: 99.74 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/6.472, allocations: 3.438 kB / 2.863 GB, free: 99.74 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.027e-05/6.472, allocations: 3.062 kB / 2.863 GB, free: 99.74 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/6.472, allocations: 3.156 kB / 2.863 GB, free: 99.74 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/6.472, allocations: 4.125 kB / 2.863 GB, free: 99.74 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006729/6.472, allocations: 0.5448 MB / 2.863 GB, free: 99.45 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001527/6.473, allocations: 147 kB / 2.863 GB, free: 99.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.862e-05/6.473, allocations: 6.188 kB / 2.863 GB, free: 99.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003206/6.473, allocations: 22.38 kB / 2.863 GB, free: 99.34 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.012e-05/6.473, allocations: 16.52 kB / 2.863 GB, free: 99.34 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.727e-05/6.473, allocations: 21.05 kB / 2.864 GB, free: 99.34 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0001377/6.473, allocations: 178.4 kB / 2.864 GB, free: 99.26 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0007848/6.474, allocations: 197.2 kB / 2.864 GB, free: 99.25 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (senH_flow.h_out,senH.h_out) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.00189/6.476, allocations: 1.359 MB / 2.865 GB, free: 98.96 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003441/6.476, allocations: 188.5 kB / 2.865 GB, free: 98.96 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.686e-06/6.476, allocations: 0 / 2.865 GB, free: 98.96 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001283/6.476, allocations: 96.41 kB / 2.865 GB, free: 98.96 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006029/6.477, allocations: 102.9 kB / 2.866 GB, free: 98.95 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/6.478, allocations: 0.5541 MB / 2.866 GB, free: 98.74 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003836/6.479, allocations: 0.8618 MB / 2.867 GB, free: 98.04 MB / 0.4948 GB Notification: Performance of SimCode: time 2.5e-07/6.479, allocations: 0 / 2.867 GB, free: 98.04 MB / 0.4948 GB Notification: Performance of Templates: time 0.02257/6.501, allocations: 11.95 MB / 2.879 GB, free: 97.8 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)