Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0/package.mo): time 0.7105/0.7105, allocations: 127.4 MB / 134.6 MB, free: 4.109 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001181/0.001181, allocations: 185.3 kB / 164.4 MB, free: 6.902 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.558/1.558, allocations: 205.1 MB / 399.1 MB, free: 6.109 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001025/0.001025, allocations: 76.06 kB / 476.3 MB, free: 8.875 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.017e-05/1.019e-05, allocations: 4 kB / 0.546 GB, free: 42.78 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.1748, allocations: 76.75 MB / 0.6209 GB, free: 13.96 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.81/4.985, allocations: 2.137 GB / 2.757 GB, free: 76.91 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003205/4.986, allocations: 83.95 kB / 2.758 GB, free: 76.82 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.9852/5.971, allocations: 295.5 MB / 3.046 GB, free: 30.73 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.115e-05/5.971, allocations: 12.19 kB / 3.046 GB, free: 30.71 MB / 0.6355 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.001449/5.972, allocations: 0.6657 MB / 3.047 GB, free: 30 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.957e-05/5.972, allocations: 8.031 kB / 3.047 GB, free: 30 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003432/5.973, allocations: 63.48 kB / 3.047 GB, free: 29.93 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000499/5.973, allocations: 322 kB / 3.047 GB, free: 29.58 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/5.973, allocations: 12 kB / 3.047 GB, free: 29.57 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.986e-05/5.973, allocations: 16 kB / 3.047 GB, free: 29.55 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00034/5.974, allocations: 177.2 kB / 3.047 GB, free: 29.38 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003247/5.974, allocations: 208.8 kB / 3.048 GB, free: 29.17 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/5.974, allocations: 0 / 3.048 GB, free: 29.17 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.289e-05/5.974, allocations: 0 / 3.048 GB, free: 29.17 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/5.974, allocations: 8 kB / 3.048 GB, free: 29.16 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001141/5.975, allocations: 0.9316 MB / 3.049 GB, free: 28.16 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003157/5.976, allocations: 162.7 kB / 3.049 GB, free: 28 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/5.976, allocations: 84.77 kB / 3.049 GB, free: 27.91 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000477/5.976, allocations: 303.3 kB / 3.049 GB, free: 27.56 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.544e-05/5.976, allocations: 34.56 kB / 3.049 GB, free: 27.52 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=18): time 1.683e-06/5.976, allocations: 0 / 3.049 GB, free: 27.52 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18): time 0.0006903/5.977, allocations: 269.4 kB / 3.049 GB, free: 27.25 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.16e-05/5.977, allocations: 55.41 kB / 3.049 GB, free: 27.18 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/5.977, allocations: 176.1 kB / 3.05 GB, free: 27 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/5.977, allocations: 25.7 kB / 3.05 GB, free: 26.97 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.831e-05/5.977, allocations: 156.2 kB / 3.05 GB, free: 26.81 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.261e-05/5.977, allocations: 67 kB / 3.05 GB, free: 26.75 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.927e-06/5.977, allocations: 0 / 3.05 GB, free: 26.75 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.041e-05/5.977, allocations: 326.8 kB / 3.05 GB, free: 26.42 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.13e-05/5.978, allocations: 55.98 kB / 3.05 GB, free: 26.36 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/5.978, allocations: 91.17 kB / 3.05 GB, free: 26.27 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002841/5.978, allocations: 131.8 kB / 3.05 GB, free: 26.14 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/5.978, allocations: 0 / 3.05 GB, free: 26.14 MB / 0.6355 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004091/5.978, allocations: 241.3 kB / 3.051 GB, free: 25.89 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/5.978, allocations: 6.188 kB / 3.051 GB, free: 25.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/5.978, allocations: 0 / 3.051 GB, free: 25.89 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/5.978, allocations: 7.984 kB / 3.051 GB, free: 25.88 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001979/5.979, allocations: 47.92 kB / 3.051 GB, free: 25.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/5.979, allocations: 0 / 3.051 GB, free: 25.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001624/5.979, allocations: 19.89 kB / 3.051 GB, free: 25.82 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.225e-05/5.979, allocations: 12 kB / 3.051 GB, free: 25.8 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.548e-05/5.979, allocations: 111.8 kB / 3.051 GB, free: 25.69 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.819e-05/5.979, allocations: 23.72 kB / 3.051 GB, free: 25.67 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005121/5.979, allocations: 271.4 kB / 3.051 GB, free: 25.39 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/5.979, allocations: 0 / 3.051 GB, free: 25.39 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/5.98, allocations: 7.938 kB / 3.051 GB, free: 25.38 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/5.98, allocations: 3.984 kB / 3.051 GB, free: 25.38 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009332/5.98, allocations: 0.6909 MB / 3.052 GB, free: 24.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/5.98, allocations: 0 / 3.052 GB, free: 24.62 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002061/5.981, allocations: 52.09 kB / 3.052 GB, free: 24.57 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/5.981, allocations: 4 kB / 3.052 GB, free: 24.57 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.864e-05/5.981, allocations: 4 kB / 3.052 GB, free: 24.57 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/5.981, allocations: 0 / 3.052 GB, free: 24.57 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/5.981, allocations: 4 kB / 3.052 GB, free: 24.56 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006207/5.981, allocations: 0.5335 MB / 3.052 GB, free: 23.96 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.27e-05/5.981, allocations: 104.9 kB / 3.052 GB, free: 23.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.947e-05/5.981, allocations: 4 kB / 3.052 GB, free: 23.83 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000213/5.982, allocations: 15.98 kB / 3.052 GB, free: 23.82 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.352e-05/5.982, allocations: 20.09 kB / 3.052 GB, free: 23.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.662e-05/5.982, allocations: 11.89 kB / 3.052 GB, free: 23.79 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.938e-05/5.982, allocations: 148.4 kB / 3.053 GB, free: 23.64 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006981/5.983, allocations: 159.8 kB / 3.053 GB, free: 23.48 MB / 0.6355 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.001761/5.984, allocations: 1.386 MB / 3.054 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002623/5.985, allocations: 143.9 kB / 3.054 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/5.985, allocations: 0 / 3.054 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001123/5.985, allocations: 87.91 kB / 3.054 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000533/5.985, allocations: 72.28 kB / 3.054 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009471/5.986, allocations: 492 kB / 3.055 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003059/5.987, allocations: 0.817 MB / 3.056 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of SimCode: time 4.2e-07/5.987, allocations: 0 / 3.056 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of Templates: time 0.01732/6.004, allocations: 10.66 MB / 3.066 GB, free: 9.785 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)