Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.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.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy") [: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.464/1.464, allocations: 285.5 MB / 292.8 MB, free: 10.47 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.001177/0.001177, allocations: 177.3 kB / 361.1 MB, free: 7.113 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.353/1.353, allocations: 205.1 MB / 0.6195 GB, free: 10.32 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.0009438/0.0009438, allocations: 83.05 kB / 0.7326 GB, free: 44.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.226e-06/8.256e-06, allocations: 0 / 0.8511 GB, free: 3.016 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.64/0.64, allocations: 115.3 MB / 0.9637 GB, free: 78.37 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.979/4.619, allocations: 2.061 GB / 3.024 GB, free: 76.42 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003614/4.619, allocations: 80.98 kB / 3.025 GB, free: 76.34 MB / 0.948 GB Notification: Performance of FrontEnd: time 0.9732/5.593, allocations: 221.9 MB / 3.241 GB, free: 240.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.584e-05/5.593, allocations: 12 kB / 3.241 GB, free: 240.4 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001428/5.594, allocations: 0.6032 MB / 3.242 GB, free: 239.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/5.594, allocations: 8.031 kB / 3.242 GB, free: 239.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007999/5.595, allocations: 91.45 kB / 3.242 GB, free: 239.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005569/5.596, allocations: 295.5 kB / 3.242 GB, free: 239.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/5.596, allocations: 8 kB / 3.242 GB, free: 239.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.681e-05/5.596, allocations: 12 kB / 3.242 GB, free: 239.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003066/5.596, allocations: 152 kB / 3.242 GB, free: 239.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003151/5.596, allocations: 239.4 kB / 3.243 GB, free: 238.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/5.596, allocations: 4 kB / 3.243 GB, free: 238.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.311e-05/5.596, allocations: 0 / 3.243 GB, free: 238.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.2e-05/5.596, allocations: 4 kB / 3.243 GB, free: 238.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001933/5.598, allocations: 1.441 MB / 3.244 GB, free: 237.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001869/5.599, allocations: 137.1 kB / 3.244 GB, free: 237.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.961e-05/5.599, allocations: 80.39 kB / 3.244 GB, free: 237 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002482/5.599, allocations: 113.1 kB / 3.244 GB, free: 236.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/5.599, allocations: 38.5 kB / 3.244 GB, free: 236.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=10): time 2.094e-06/5.599, allocations: 0 / 3.244 GB, free: 236.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=10): time 0.0005077/5.599, allocations: 145.3 kB / 3.245 GB, free: 236.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/5.599, allocations: 154.3 kB / 3.245 GB, free: 236.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001858/5.6, allocations: 211.8 kB / 3.245 GB, free: 236.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/5.6, allocations: 29.7 kB / 3.245 GB, free: 236.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.847e-05/5.6, allocations: 152 kB / 3.245 GB, free: 236.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.2e-05/5.6, allocations: 35.45 kB / 3.245 GB, free: 236.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.388e-06/5.6, allocations: 0 / 3.245 GB, free: 236.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.815e-05/5.6, allocations: 326.8 kB / 3.245 GB, free: 235.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.497e-05/5.6, allocations: 55.97 kB / 3.245 GB, free: 235.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/5.6, allocations: 142.1 kB / 3.246 GB, free: 235.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00024/5.6, allocations: 99.88 kB / 3.246 GB, free: 235.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/5.6, allocations: 0 / 3.246 GB, free: 235.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004858/5.601, allocations: 225.2 kB / 3.246 GB, free: 235.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/5.601, allocations: 4 kB / 3.246 GB, free: 235.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/5.601, allocations: 7.906 kB / 3.246 GB, free: 235.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/5.601, allocations: 8.25 kB / 3.246 GB, free: 235.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002152/5.601, allocations: 43.91 kB / 3.246 GB, free: 235.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/5.601, allocations: 0 / 3.246 GB, free: 235.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000262/5.601, allocations: 27.83 kB / 3.246 GB, free: 235.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.749e-05/5.601, allocations: 12 kB / 3.246 GB, free: 235.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 7.261e-05/5.602, allocations: 112.9 kB / 3.246 GB, free: 235 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001644/5.602, allocations: 19.72 kB / 3.246 GB, free: 234.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002726/5.602, allocations: 115.3 kB / 3.246 GB, free: 234.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/5.602, allocations: 4.188 kB / 3.246 GB, free: 234.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/5.602, allocations: 4 kB / 3.246 GB, free: 234.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.549e-05/5.602, allocations: 4 kB / 3.246 GB, free: 234.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007977/5.603, allocations: 0.8046 MB / 3.247 GB, free: 233.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/5.603, allocations: 4 kB / 3.247 GB, free: 233.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001368/5.603, allocations: 31.92 kB / 3.247 GB, free: 233.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/5.603, allocations: 4.156 kB / 3.247 GB, free: 233.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/5.603, allocations: 4 kB / 3.247 GB, free: 233.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/5.603, allocations: 4 kB / 3.247 GB, free: 233.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/5.603, allocations: 0 / 3.247 GB, free: 233.9 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004063/5.603, allocations: 359.9 kB / 3.247 GB, free: 233.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.289e-05/5.604, allocations: 108.9 kB / 3.248 GB, free: 233.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.665e-05/5.604, allocations: 0 / 3.248 GB, free: 233.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001778/5.604, allocations: 23.95 kB / 3.248 GB, free: 233.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.386e-05/5.604, allocations: 16.02 kB / 3.248 GB, free: 233.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.044e-06/5.604, allocations: 4 kB / 3.248 GB, free: 233.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0001102/5.604, allocations: 164.5 kB / 3.248 GB, free: 233.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0007779/5.605, allocations: 175.8 kB / 3.248 GB, free: 233 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.s) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.001723/5.606, allocations: 1.179 MB / 3.249 GB, free: 231.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002285/5.607, allocations: 116.1 kB / 3.249 GB, free: 231.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/5.607, allocations: 4.188 kB / 3.249 GB, free: 231.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.655e-05/5.607, allocations: 43.94 kB / 3.249 GB, free: 231.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004466/5.607, allocations: 48.62 kB / 3.249 GB, free: 231.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006749/5.608, allocations: 351.2 kB / 3.25 GB, free: 231.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002683/5.608, allocations: 0.7902 MB / 3.25 GB, free: 230.4 MB / 0.948 GB Notification: Performance of SimCode: time 2.8e-07/5.608, allocations: 0 / 3.25 GB, free: 230.4 MB / 0.948 GB Notification: Performance of Templates: time 0.01505/5.623, allocations: 9.69 MB / 3.26 GB, free: 220.8 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)