Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.517/1.517, allocations: 285.5 MB / 292.8 MB, free: 10.48 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001275/0.001275, allocations: 189.2 kB / 361.1 MB, free: 7.121 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.464/1.464, allocations: 205.1 MB / 0.6195 GB, free: 10.3 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008437/0.0008436, allocations: 101.7 kB / 0.7326 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.016e-05/1.018e-05, allocations: 4 kB / 0.8511 GB, free: 3.004 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6844/0.6844, allocations: 115.3 MB / 0.9637 GB, free: 78.21 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.785/5.469, allocations: 2.063 GB / 3.027 GB, free: 336.7 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002749/5.47, allocations: 90.03 kB / 3.027 GB, free: 336.7 MB / 0.9323 GB Notification: Performance of FrontEnd: time 0.5692/6.039, allocations: 303.3 MB / 3.323 GB, free: 65.33 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.331e-05/6.039, allocations: 8 kB / 3.323 GB, free: 65.32 MB / 0.9323 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.001522/6.041, allocations: 0.7214 MB / 3.324 GB, free: 64.55 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/6.041, allocations: 8.031 kB / 3.324 GB, free: 64.55 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001142/6.042, allocations: 139.3 kB / 3.324 GB, free: 64.41 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005363/6.042, allocations: 341.9 kB / 3.324 GB, free: 64.04 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.141e-05/6.042, allocations: 46.34 kB / 3.324 GB, free: 63.99 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.966e-05/6.043, allocations: 19.94 kB / 3.324 GB, free: 63.97 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00035/6.043, allocations: 209.3 kB / 3.324 GB, free: 63.77 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003992/6.043, allocations: 294 kB / 3.325 GB, free: 63.46 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/6.043, allocations: 3.984 kB / 3.325 GB, free: 63.45 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.978e-05/6.043, allocations: 7.938 kB / 3.325 GB, free: 63.45 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.809e-06/6.043, allocations: 8 kB / 3.325 GB, free: 63.44 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001455/6.045, allocations: 1.42 MB / 3.326 GB, free: 61.91 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002611/6.045, allocations: 166.6 kB / 3.326 GB, free: 61.73 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001165/6.045, allocations: 104.8 kB / 3.326 GB, free: 61.63 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008444/6.046, allocations: 0.4975 MB / 3.327 GB, free: 61.04 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/6.046, allocations: 34.56 kB / 3.327 GB, free: 61 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=15): time 1.603e-06/6.046, allocations: 0 / 3.327 GB, free: 61 MB / 0.9323 GB Notification: Performance of matching and sorting (n=15): time 0.0009993/6.047, allocations: 284.3 kB / 3.327 GB, free: 60.71 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.443e-05/6.047, allocations: 55.69 kB / 3.327 GB, free: 60.65 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/6.047, allocations: 193 kB / 3.327 GB, free: 60.45 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.559e-05/6.047, allocations: 25.7 kB / 3.327 GB, free: 60.42 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 7.648e-05/6.047, allocations: 172 kB / 3.328 GB, free: 60.25 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 3.588e-05/6.048, allocations: 51.2 kB / 3.328 GB, free: 60.2 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.22e-05/6.048, allocations: 0 / 3.328 GB, free: 60.2 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.503e-05/6.048, allocations: 334.8 kB / 3.328 GB, free: 59.86 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.516e-05/6.048, allocations: 67.97 kB / 3.328 GB, free: 59.8 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001284/6.048, allocations: 139.6 kB / 3.328 GB, free: 59.63 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004309/6.048, allocations: 131.9 kB / 3.328 GB, free: 59.5 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/6.048, allocations: 4 kB / 3.328 GB, free: 59.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006729/6.049, allocations: 289.2 kB / 3.329 GB, free: 59.21 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/6.049, allocations: 7.938 kB / 3.329 GB, free: 59.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.779e-06/6.049, allocations: 8 kB / 3.329 GB, free: 59.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/6.049, allocations: 3.906 kB / 3.329 GB, free: 59.19 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002458/6.049, allocations: 47.91 kB / 3.329 GB, free: 59.14 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/6.049, allocations: 4 kB / 3.329 GB, free: 59.14 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002351/6.05, allocations: 31.97 kB / 3.329 GB, free: 59.11 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.481e-05/6.05, allocations: 16 kB / 3.329 GB, free: 59.09 MB / 0.9323 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 9.009e-05/6.05, allocations: 108.9 kB / 3.329 GB, free: 58.98 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.622e-05/6.05, allocations: 19.72 kB / 3.329 GB, free: 58.96 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007832/6.051, allocations: 323.2 kB / 3.329 GB, free: 58.63 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/6.051, allocations: 3.906 kB / 3.329 GB, free: 58.63 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/6.051, allocations: 0 / 3.329 GB, free: 58.63 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/6.051, allocations: 0 / 3.329 GB, free: 58.63 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001837/6.052, allocations: 1.235 MB / 3.33 GB, free: 57.24 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/6.053, allocations: 8.062 kB / 3.33 GB, free: 57.23 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002007/6.053, allocations: 43.91 kB / 3.33 GB, free: 57.19 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.623e-06/6.053, allocations: 4 kB / 3.33 GB, free: 57.19 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/6.053, allocations: 4 kB / 3.33 GB, free: 57.18 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.127e-06/6.053, allocations: 4.062 kB / 3.33 GB, free: 57.18 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/6.053, allocations: 8 kB / 3.33 GB, free: 57.17 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005449/6.053, allocations: 0.5344 MB / 3.331 GB, free: 56.52 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/6.053, allocations: 132.7 kB / 3.331 GB, free: 56.37 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.622e-05/6.053, allocations: 4 kB / 3.331 GB, free: 56.37 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002887/6.054, allocations: 35.88 kB / 3.331 GB, free: 56.33 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.481e-05/6.054, allocations: 15.92 kB / 3.331 GB, free: 56.32 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.597e-05/6.054, allocations: 15.94 kB / 3.331 GB, free: 56.3 MB / 0.9323 GB Notification: Performance of sort global known variables: time 9.941e-05/6.054, allocations: 153.2 kB / 3.331 GB, free: 56.15 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0008854/6.055, allocations: 203.7 kB / 3.331 GB, free: 55.95 MB / 0.9323 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.001995/6.057, allocations: 1.409 MB / 3.333 GB, free: 54.51 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0003306/6.057, allocations: 179.8 kB / 3.333 GB, free: 54.33 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/6.057, allocations: 4 kB / 3.333 GB, free: 54.33 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0001342/6.057, allocations: 100.6 kB / 3.333 GB, free: 54.23 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005835/6.058, allocations: 94.17 kB / 3.333 GB, free: 54.14 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008936/6.059, allocations: 422.2 kB / 3.334 GB, free: 53.68 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003267/6.059, allocations: 0.8263 MB / 3.334 GB, free: 52.82 MB / 0.9323 GB Notification: Performance of SimCode: time 2.5e-07/6.059, allocations: 0 / 3.334 GB, free: 52.82 MB / 0.9323 GB Notification: Performance of Templates: time 0.01847/6.078, allocations: 12.23 MB / 3.346 GB, free: 40.66 MB / 0.9323 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)