Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.664/1.664, allocations: 289.8 MB / 297 MB, free: 10.64 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001137/0.001137, allocations: 181.3 kB / 366.3 MB, free: 6.336 MB / 302.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.534/1.534, allocations: 205.1 MB / 0.6256 GB, free: 9.727 MB / 478.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009359/0.000936, allocations: 86.38 kB / 0.7395 GB, free: 43.45 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 1.289e-05/1.324e-05, allocations: 4 kB / 0.859 GB, free: 1.191 MB / 0.5919 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.79/0.7901, allocations: 116.3 MB / 0.9725 GB, free: 77.01 MB / 0.67 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.636/5.426, allocations: 2.062 GB / 3.035 GB, free: 87.71 MB / 0.9512 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002432/5.426, allocations: 84.61 kB / 3.035 GB, free: 87.63 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.14/6.566, allocations: 297.4 MB / 3.325 GB, free: 171.9 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.694e-05/6.566, allocations: 8 kB / 3.325 GB, free: 171.9 MB / 0.9512 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.001355/6.568, allocations: 0.6472 MB / 3.326 GB, free: 171.2 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/6.568, allocations: 8.031 kB / 3.326 GB, free: 171.2 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003425/6.568, allocations: 71.48 kB / 3.326 GB, free: 171.2 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004695/6.569, allocations: 317.9 kB / 3.326 GB, free: 170.8 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/6.569, allocations: 8 kB / 3.326 GB, free: 170.8 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.475e-05/6.569, allocations: 16 kB / 3.326 GB, free: 170.8 MB / 0.9512 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002889/6.569, allocations: 145.3 kB / 3.327 GB, free: 170.6 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003434/6.569, allocations: 271.6 kB / 3.327 GB, free: 170.3 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/6.569, allocations: 0 / 3.327 GB, free: 170.3 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.475e-05/6.569, allocations: 3.906 kB / 3.327 GB, free: 170.3 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/6.569, allocations: 8 kB / 3.327 GB, free: 170.3 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001296/6.571, allocations: 1.48 MB / 3.328 GB, free: 168.7 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001357/6.571, allocations: 90.56 kB / 3.328 GB, free: 168.6 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.588e-05/6.571, allocations: 68.83 kB / 3.328 GB, free: 168.6 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005278/6.571, allocations: 303.3 kB / 3.329 GB, free: 168.2 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/6.571, allocations: 38.5 kB / 3.329 GB, free: 168.2 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=13): time 1.974e-06/6.571, allocations: 0 / 3.329 GB, free: 168.2 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13): time 0.0006063/6.572, allocations: 208 kB / 3.329 GB, free: 168 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.247e-05/6.572, allocations: 55.41 kB / 3.329 GB, free: 167.9 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001539/6.572, allocations: 181.1 kB / 3.329 GB, free: 167.7 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/6.572, allocations: 33.69 kB / 3.329 GB, free: 167.7 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.471e-05/6.572, allocations: 164 kB / 3.329 GB, free: 167.5 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.775e-05/6.572, allocations: 43.36 kB / 3.329 GB, free: 167.5 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.687e-06/6.572, allocations: 0 / 3.329 GB, free: 167.5 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.804e-05/6.573, allocations: 338.8 kB / 3.33 GB, free: 167.1 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.417e-05/6.573, allocations: 39.98 kB / 3.33 GB, free: 167.1 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.352e-05/6.573, allocations: 94.86 kB / 3.33 GB, free: 167 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001759/6.573, allocations: 99.84 kB / 3.33 GB, free: 166.9 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/6.573, allocations: 3.906 kB / 3.33 GB, free: 166.9 MB / 0.9512 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000306/6.573, allocations: 197.2 kB / 3.33 GB, free: 166.7 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/6.573, allocations: 4 kB / 3.33 GB, free: 166.7 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/6.573, allocations: 8.141 kB / 3.33 GB, free: 166.7 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/6.573, allocations: 4.062 kB / 3.33 GB, free: 166.7 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001878/6.574, allocations: 47.89 kB / 3.33 GB, free: 166.6 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/6.574, allocations: 0 / 3.33 GB, free: 166.6 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001826/6.574, allocations: 31.83 kB / 3.33 GB, free: 166.6 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.672e-05/6.574, allocations: 11.98 kB / 3.33 GB, free: 166.6 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.749e-05/6.574, allocations: 107 kB / 3.33 GB, free: 166.5 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.224e-05/6.574, allocations: 23.72 kB / 3.33 GB, free: 166.4 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003582/6.574, allocations: 195.6 kB / 3.331 GB, free: 166.2 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/6.574, allocations: 0 / 3.331 GB, free: 166.2 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/6.574, allocations: 0 / 3.331 GB, free: 166.2 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/6.574, allocations: 8 kB / 3.331 GB, free: 166.2 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007711/6.575, allocations: 0.6295 MB / 3.331 GB, free: 165.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/6.575, allocations: 7.938 kB / 3.331 GB, free: 165.5 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001375/6.575, allocations: 35.92 kB / 3.331 GB, free: 165.5 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/6.575, allocations: 0 / 3.331 GB, free: 165.5 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/6.575, allocations: 4 kB / 3.331 GB, free: 165.5 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/6.575, allocations: 7.984 kB / 3.331 GB, free: 165.5 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/6.575, allocations: 0 / 3.331 GB, free: 165.5 MB / 0.9512 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003462/6.576, allocations: 409.1 kB / 3.332 GB, free: 165 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.424e-05/6.576, allocations: 108.9 kB / 3.332 GB, free: 164.9 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.719e-05/6.576, allocations: 7.984 kB / 3.332 GB, free: 164.9 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000184/6.576, allocations: 27.92 kB / 3.332 GB, free: 164.8 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.027e-05/6.576, allocations: 11.89 kB / 3.332 GB, free: 164.8 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/6.576, allocations: 8 kB / 3.332 GB, free: 164.8 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9.064e-05/6.576, allocations: 149.2 kB / 3.332 GB, free: 164.7 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0006168/6.577, allocations: 151.8 kB / 3.332 GB, free: 164.5 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (13): * Single equations (assignments): 13 * 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.001652/6.578, allocations: 1.36 MB / 3.333 GB, free: 163.1 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002308/6.579, allocations: 120 kB / 3.334 GB, free: 163 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/6.579, allocations: 4.125 kB / 3.334 GB, free: 163 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 8.814e-05/6.579, allocations: 67.86 kB / 3.334 GB, free: 163 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005523/6.579, allocations: 85.38 kB / 3.334 GB, free: 162.9 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000653/6.58, allocations: 347.2 kB / 3.334 GB, free: 162.5 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002893/6.58, allocations: 0.8027 MB / 3.335 GB, free: 161.7 MB / 0.9512 GB Notification: Performance of SimCode: time 2.4e-07/6.58, allocations: 4 kB / 3.335 GB, free: 161.7 MB / 0.9512 GB Notification: Performance of Templates: time 0.0156/6.596, allocations: 10.29 MB / 3.345 GB, free: 151.4 MB / 0.9512 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)