Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.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.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(IBPSA.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate") [: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.001304/0.001304, allocations: 192.2 kB / 7.807 MB, free: 2.484 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.462/0.462, allocations: 90.85 MB / 99.07 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.353/1.353, allocations: 221.4 MB / 342.8 MB, free: 5.129 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.001044/0.001044, allocations: 108.2 kB / 415.5 MB, free: 6.406 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 1.189e-05/1.197e-05, allocations: 4 kB / 493.9 MB, free: 8.062 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3817/0.3817, allocations: 72.3 MB / 0.5529 GB, free: 73.34 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.151/3.533, allocations: 1.822 GB / 2.374 GB, free: 2.219 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002621/3.533, allocations: 88.7 kB / 2.375 GB, free: 2.133 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.156/4.689, allocations: 306.2 MB / 2.674 GB, free: 157.3 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.504e-05/4.69, allocations: 10.34 kB / 2.674 GB, free: 157.3 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001794/4.691, allocations: 0.715 MB / 2.674 GB, free: 156.8 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/4.691, allocations: 10.44 kB / 2.674 GB, free: 156.8 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00141/4.693, allocations: 140.6 kB / 2.674 GB, free: 156.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007033/4.694, allocations: 334.5 kB / 2.675 GB, free: 156.6 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.746e-05/4.694, allocations: 43.23 kB / 2.675 GB, free: 156.5 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.105e-05/4.694, allocations: 17.69 kB / 2.675 GB, free: 156.5 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003982/4.694, allocations: 217.3 kB / 2.675 GB, free: 156.5 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004298/4.695, allocations: 297.6 kB / 2.675 GB, free: 156.5 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/4.695, allocations: 3.281 kB / 2.675 GB, free: 156.5 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.125e-05/4.695, allocations: 5.969 kB / 2.675 GB, free: 156.5 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.361e-05/4.695, allocations: 7.438 kB / 2.675 GB, free: 156.5 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001712/4.696, allocations: 1.411 MB / 2.677 GB, free: 155.5 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004188/4.697, allocations: 174.1 kB / 2.677 GB, free: 155.5 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001876/4.697, allocations: 97.62 kB / 2.677 GB, free: 155.5 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009542/4.698, allocations: 0.4993 MB / 2.677 GB, free: 155 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/4.698, allocations: 36.22 kB / 2.677 GB, free: 155 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 2.635e-06/4.698, allocations: 0 / 2.677 GB, free: 155 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.001224/4.699, allocations: 287.9 kB / 2.678 GB, free: 155 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.388e-05/4.699, allocations: 56.72 kB / 2.678 GB, free: 154.9 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001963/4.699, allocations: 192.3 kB / 2.678 GB, free: 154.8 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.909e-05/4.699, allocations: 26.36 kB / 2.678 GB, free: 154.8 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.916e-05/4.7, allocations: 175 kB / 2.678 GB, free: 154.7 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.668e-05/4.7, allocations: 45.61 kB / 2.678 GB, free: 154.6 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.214e-05/4.7, allocations: 1.875 kB / 2.678 GB, free: 154.6 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.691e-05/4.7, allocations: 333.8 kB / 2.678 GB, free: 154.3 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001191/4.7, allocations: 68.34 kB / 2.679 GB, free: 154.3 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001712/4.7, allocations: 134.3 kB / 2.679 GB, free: 154.2 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000507/4.701, allocations: 146.5 kB / 2.679 GB, free: 154.2 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/4.701, allocations: 0 / 2.679 GB, free: 154.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007287/4.701, allocations: 287.1 kB / 2.679 GB, free: 154.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/4.701, allocations: 7.25 kB / 2.679 GB, free: 154.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/4.701, allocations: 6.625 kB / 2.679 GB, free: 154.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/4.701, allocations: 3.656 kB / 2.679 GB, free: 154.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002453/4.702, allocations: 47.14 kB / 2.679 GB, free: 154.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/4.702, allocations: 3.938 kB / 2.679 GB, free: 154.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002635/4.702, allocations: 33.7 kB / 2.679 GB, free: 154.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.406e-05/4.702, allocations: 7.812 kB / 2.679 GB, free: 154.2 MB / 0.6042 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 (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 8.282e-05/4.702, allocations: 110.5 kB / 2.679 GB, free: 154.1 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/4.702, allocations: 26.25 kB / 2.679 GB, free: 154.1 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007741/4.703, allocations: 318.9 kB / 2.68 GB, free: 154 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-06/4.703, allocations: 3.625 kB / 2.68 GB, free: 154 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/4.703, allocations: 0 / 2.68 GB, free: 154 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/4.703, allocations: 0 / 2.68 GB, free: 154 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00199/4.705, allocations: 1.242 MB / 2.681 GB, free: 153.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/4.705, allocations: 0 / 2.681 GB, free: 153.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002018/4.705, allocations: 44.58 kB / 2.681 GB, free: 153.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-06/4.705, allocations: 3.062 kB / 2.681 GB, free: 153.3 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.261e-05/4.705, allocations: 7.562 kB / 2.681 GB, free: 153.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/4.705, allocations: 9.219 kB / 2.681 GB, free: 153.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/4.705, allocations: 5.594 kB / 2.681 GB, free: 153.3 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005879/4.706, allocations: 0.5334 MB / 2.681 GB, free: 152.9 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001437/4.706, allocations: 127.6 kB / 2.682 GB, free: 152.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.932e-05/4.706, allocations: 7.875 kB / 2.682 GB, free: 152.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003097/4.706, allocations: 31.36 kB / 2.682 GB, free: 152.8 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.171e-05/4.706, allocations: 13.72 kB / 2.682 GB, free: 152.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.9e-05/4.706, allocations: 16.75 kB / 2.682 GB, free: 152.8 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0001069/4.707, allocations: 153 kB / 2.682 GB, free: 152.7 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0008467/4.707, allocations: 205.6 kB / 2.682 GB, free: 152.7 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.002039/4.709, allocations: 1.407 MB / 2.683 GB, free: 152.4 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003376/4.71, allocations: 181.3 kB / 2.683 GB, free: 152.4 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/4.71, allocations: 0 / 2.683 GB, free: 152.4 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001412/4.71, allocations: 100.8 kB / 2.684 GB, free: 152.4 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006167/4.711, allocations: 94.23 kB / 2.684 GB, free: 152.4 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009883/4.712, allocations: 434.2 kB / 2.684 GB, free: 152.1 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003664/4.712, allocations: 0.822 MB / 2.685 GB, free: 151.4 MB / 0.6042 GB Notification: Performance of SimCode: time 6.81e-07/4.712, allocations: 0 / 2.685 GB, free: 151.4 MB / 0.6042 GB Notification: Performance of Templates: time 0.02073/4.733, allocations: 12.24 MB / 2.697 GB, free: 150.8 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)