Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.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.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb") [: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.001043/0.001043, allocations: 191.6 kB / 7.806 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4517/0.4517, 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.206/1.206, allocations: 221.4 MB / 342.7 MB, free: 5.164 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.0009326/0.0009326, allocations: 89.44 kB / 415.5 MB, free: 6.426 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 1.191e-05/1.195e-05, allocations: 4 kB / 493.9 MB, free: 8.074 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3524/0.3524, allocations: 72.3 MB / 0.5529 GB, free: 73.41 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.219/3.572, allocations: 1.821 GB / 2.374 GB, free: 237.2 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002032/3.572, allocations: 85.28 kB / 2.374 GB, free: 237.2 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.019/4.591, allocations: 429.7 MB / 2.794 GB, free: 44.06 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.917e-05/4.591, allocations: 19.98 kB / 2.794 GB, free: 44.04 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001856/4.593, allocations: 0.9955 MB / 2.795 GB, free: 42.99 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/4.593, allocations: 8.031 kB / 2.795 GB, free: 42.98 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001961/4.595, allocations: 282.7 kB / 2.795 GB, free: 42.7 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007719/4.596, allocations: 480.1 kB / 2.795 GB, free: 42.2 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/4.596, allocations: 15.98 kB / 2.795 GB, free: 42.18 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.596e-05/4.596, allocations: 28 kB / 2.795 GB, free: 42.15 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000611/4.597, allocations: 389.8 kB / 2.796 GB, free: 41.77 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006144/4.597, allocations: 493.6 kB / 2.796 GB, free: 41.25 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/4.597, allocations: 3.938 kB / 2.796 GB, free: 41.25 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.3e-05/4.597, allocations: 3.984 kB / 2.796 GB, free: 41.25 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/4.597, allocations: 12 kB / 2.796 GB, free: 41.23 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002133/4.6, allocations: 2.124 MB / 2.798 GB, free: 39 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005347/4.6, allocations: 380.6 kB / 2.799 GB, free: 38.62 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000231/4.6, allocations: 193.4 kB / 2.799 GB, free: 38.43 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006429/4.601, allocations: 0.6325 MB / 2.799 GB, free: 37.67 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003136/4.601, allocations: 267.4 kB / 2.8 GB, free: 37.39 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=37): time 2.305e-06/4.601, allocations: 0 / 2.8 GB, free: 37.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=37): time 0.001966/4.603, allocations: 0.6176 MB / 2.8 GB, free: 36.77 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.346e-05/4.603, allocations: 55.41 kB / 2.8 GB, free: 36.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002895/4.604, allocations: 309.1 kB / 2.801 GB, free: 36.39 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.946e-05/4.604, allocations: 29.7 kB / 2.801 GB, free: 36.36 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.467e-05/4.604, allocations: 216 kB / 2.801 GB, free: 36.14 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.161e-05/4.604, allocations: 122.2 kB / 2.801 GB, free: 36.02 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.293e-05/4.604, allocations: 0 / 2.801 GB, free: 36.02 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.869e-05/4.604, allocations: 350.8 kB / 2.801 GB, free: 35.67 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001995/4.604, allocations: 148.9 kB / 2.802 GB, free: 35.52 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000247/4.604, allocations: 274 kB / 2.802 GB, free: 35.21 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004281/4.605, allocations: 233 kB / 2.802 GB, free: 34.98 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/4.605, allocations: 7.938 kB / 2.802 GB, free: 34.97 MB / 0.6042 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008106/4.606, allocations: 0.5052 MB / 2.803 GB, free: 34.46 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/4.606, allocations: 11.98 kB / 2.803 GB, free: 34.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/4.606, allocations: 0 / 2.803 GB, free: 34.45 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/4.606, allocations: 8 kB / 2.803 GB, free: 34.44 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004789/4.606, allocations: 112.2 kB / 2.803 GB, free: 34.33 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/4.606, allocations: 4 kB / 2.803 GB, free: 34.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000561/4.607, allocations: 83.48 kB / 2.803 GB, free: 34.25 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.785e-05/4.607, allocations: 27.98 kB / 2.803 GB, free: 34.22 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$PRE.m_flow1.T_start,m_flow1.T_start,$PRE.m_flow1.count,m_flow1.count,$PRE.m_flow2.T_start,m_flow2.T_start,$PRE.m_flow2.count,m_flow2.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 2 * 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.916e-05/4.607, allocations: 116.9 kB / 2.803 GB, free: 34.1 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.231e-05/4.607, allocations: 47.44 kB / 2.803 GB, free: 34.05 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008255/4.608, allocations: 485.6 kB / 2.803 GB, free: 33.57 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/4.608, allocations: 8 kB / 2.803 GB, free: 33.56 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/4.608, allocations: 3.938 kB / 2.803 GB, free: 33.56 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/4.608, allocations: 0 / 2.803 GB, free: 33.56 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001648/4.61, allocations: 1.223 MB / 2.805 GB, free: 32.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/4.61, allocations: 4.438 kB / 2.805 GB, free: 32.25 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004209/4.61, allocations: 87.8 kB / 2.805 GB, free: 32.16 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.167e-06/4.61, allocations: 7.984 kB / 2.805 GB, free: 32.15 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.61e-05/4.61, allocations: 16 kB / 2.805 GB, free: 32.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/4.61, allocations: 7.938 kB / 2.805 GB, free: 32.13 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/4.61, allocations: 4 kB / 2.805 GB, free: 32.12 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001012/4.611, allocations: 0.9883 MB / 2.806 GB, free: 30.98 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001646/4.611, allocations: 160.5 kB / 2.806 GB, free: 30.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.935e-05/4.611, allocations: 7.906 kB / 2.806 GB, free: 30.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004977/4.612, allocations: 52.02 kB / 2.806 GB, free: 30.75 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/4.612, allocations: 47.84 kB / 2.806 GB, free: 30.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-05/4.612, allocations: 23.92 kB / 2.806 GB, free: 30.68 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0002231/4.612, allocations: 231.2 kB / 2.806 GB, free: 30.45 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0008445/4.613, allocations: 251.7 kB / 2.806 GB, free: 30.21 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (temDyn.T,temDynLoss.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,m_flow1.T_start,m_flow1.count,m_flow2.T_start,m_flow2.count) * Number of discrete states: 2 (m_flow2.count,m_flow1.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001667/4.615, allocations: 1.676 MB / 2.808 GB, free: 28.48 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005867/4.615, allocations: 419.9 kB / 2.808 GB, free: 28.06 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/4.615, allocations: 8.25 kB / 2.808 GB, free: 28.05 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003938/4.616, allocations: 239.7 kB / 2.809 GB, free: 27.82 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009055/4.617, allocations: 176.4 kB / 2.809 GB, free: 27.64 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001534/4.618, allocations: 0.7803 MB / 2.81 GB, free: 26.79 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004426/4.619, allocations: 0.9294 MB / 2.811 GB, free: 25.83 MB / 0.6042 GB Notification: Performance of SimCode: time 2.6e-07/4.619, allocations: 0 / 2.811 GB, free: 25.83 MB / 0.6042 GB Notification: Performance of Templates: time 0.02284/4.642, allocations: 16.72 MB / 2.827 GB, free: 9.238 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)