Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.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.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb") translateModel(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb") [: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.509/1.509, allocations: 285.5 MB / 292.8 MB, free: 10.42 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.0009812/0.0009811, allocations: 185.3 kB / 361.1 MB, free: 7.078 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.306/1.306, allocations: 205.1 MB / 0.6195 GB, free: 11.92 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.0009426/0.0009428, allocations: 86.98 kB / 0.7326 GB, free: 44.45 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.129e-05/1.148e-05, allocations: 4 kB / 0.8511 GB, free: 3.227 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6556/0.6556, allocations: 115.3 MB / 0.9637 GB, free: 77.93 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.833/4.489, allocations: 2.063 GB / 3.027 GB, free: 50.51 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002833/4.489, allocations: 86.36 kB / 3.027 GB, free: 50.47 MB / 0.948 GB Notification: Performance of FrontEnd: time 0.8708/5.36, allocations: 197.3 MB / 3.22 GB, free: 243.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.02e-05/5.36, allocations: 11.98 kB / 3.22 GB, free: 243.9 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001536/5.362, allocations: 0.6385 MB / 3.22 GB, free: 243.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/5.362, allocations: 8.031 kB / 3.221 GB, free: 243.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006865/5.363, allocations: 79.45 kB / 3.221 GB, free: 243.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005578/5.363, allocations: 301.9 kB / 3.221 GB, free: 242.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/5.363, allocations: 8 kB / 3.221 GB, free: 242.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.872e-05/5.363, allocations: 15.94 kB / 3.221 GB, free: 242.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000351/5.364, allocations: 152.8 kB / 3.221 GB, free: 242.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003674/5.364, allocations: 235.4 kB / 3.221 GB, free: 242.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/5.364, allocations: 4 kB / 3.221 GB, free: 242.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.975e-05/5.364, allocations: 7.938 kB / 3.221 GB, free: 242.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/5.364, allocations: 4 kB / 3.221 GB, free: 242.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001631/5.366, allocations: 1.221 MB / 3.222 GB, free: 241 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002141/5.366, allocations: 126.6 kB / 3.223 GB, free: 240.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001149/5.366, allocations: 80.83 kB / 3.223 GB, free: 240.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005112/5.367, allocations: 307.2 kB / 3.223 GB, free: 240.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/5.367, allocations: 34.56 kB / 3.223 GB, free: 240.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=14): time 2.585e-06/5.367, allocations: 3.984 kB / 3.223 GB, free: 240.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=14): time 0.001214/5.368, allocations: 312.7 kB / 3.223 GB, free: 240.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.318e-05/5.368, allocations: 51.41 kB / 3.223 GB, free: 240 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000164/5.368, allocations: 180.3 kB / 3.224 GB, free: 239.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.825e-05/5.368, allocations: 25.7 kB / 3.224 GB, free: 239.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.146e-05/5.368, allocations: 152 kB / 3.224 GB, free: 239.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.406e-05/5.368, allocations: 47.36 kB / 3.224 GB, free: 239.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.202e-05/5.368, allocations: 4 kB / 3.224 GB, free: 239.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.687e-05/5.368, allocations: 330.8 kB / 3.224 GB, free: 239.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.817e-05/5.368, allocations: 55.98 kB / 3.224 GB, free: 239.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/5.368, allocations: 113.3 kB / 3.224 GB, free: 239.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002151/5.369, allocations: 103.9 kB / 3.224 GB, free: 239 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/5.369, allocations: 3.938 kB / 3.224 GB, free: 239 MB / 0.948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0008827/5.37, allocations: 302.2 kB / 3.225 GB, free: 238.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/5.37, allocations: 4 kB / 3.225 GB, free: 238.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/5.37, allocations: 0 / 3.225 GB, free: 238.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000645/5.37, allocations: 88.89 kB / 3.225 GB, free: 238.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002608/5.371, allocations: 63.89 kB / 3.225 GB, free: 238.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001815/5.372, allocations: 1.503 MB / 3.226 GB, free: 236.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002828/5.373, allocations: 39.98 kB / 3.226 GB, free: 236.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.991e-05/5.373, allocations: 8 kB / 3.226 GB, free: 236.8 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 9.666e-05/5.373, allocations: 116.9 kB / 3.226 GB, free: 236.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.175e-05/5.373, allocations: 19.72 kB / 3.226 GB, free: 236.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008682/5.374, allocations: 304.1 kB / 3.227 GB, free: 236.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/5.374, allocations: 4 kB / 3.227 GB, free: 236.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/5.374, allocations: 3.906 kB / 3.227 GB, free: 236.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/5.374, allocations: 3.938 kB / 3.227 GB, free: 236.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001296/5.375, allocations: 0.6815 MB / 3.227 GB, free: 235.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/5.375, allocations: 4 kB / 3.227 GB, free: 235.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002213/5.375, allocations: 48.28 kB / 3.227 GB, free: 235.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005197/5.376, allocations: 92.75 kB / 3.228 GB, free: 235.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.248e-05/5.376, allocations: 4 kB / 3.228 GB, free: 235.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001576/5.378, allocations: 1.527 MB / 3.229 GB, free: 233.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/5.378, allocations: 3.906 kB / 3.229 GB, free: 233.8 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008344/5.378, allocations: 439.6 kB / 3.229 GB, free: 233.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/5.379, allocations: 116.8 kB / 3.23 GB, free: 233.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.181e-05/5.379, allocations: 4 kB / 3.23 GB, free: 233.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003022/5.379, allocations: 39.88 kB / 3.23 GB, free: 233.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.834e-05/5.379, allocations: 11.98 kB / 3.23 GB, free: 233.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.323e-05/5.379, allocations: 7.984 kB / 3.23 GB, free: 233.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0001117/5.379, allocations: 144.5 kB / 3.23 GB, free: 233 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0006686/5.38, allocations: 147.8 kB / 3.23 GB, free: 232.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001513/5.381, allocations: 1.087 MB / 3.231 GB, free: 231.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0006228/5.382, allocations: 261.8 kB / 3.231 GB, free: 231.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/5.382, allocations: 4 kB / 3.231 GB, free: 231.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003525/5.382, allocations: 197.8 kB / 3.231 GB, free: 231.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000559/5.383, allocations: 86.11 kB / 3.231 GB, free: 231.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008618/5.384, allocations: 362.3 kB / 3.232 GB, free: 230.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003162/5.384, allocations: 0.8006 MB / 3.233 GB, free: 230 MB / 0.948 GB Notification: Performance of SimCode: time 2.61e-07/5.384, allocations: 0 / 3.233 GB, free: 230 MB / 0.948 GB Notification: Performance of Templates: time 0.01728/5.401, allocations: 10.25 MB / 3.243 GB, free: 219.8 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)