Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.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.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb") translateModel(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.578/1.578, allocations: 289.8 MB / 297.1 MB, free: 6.688 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.00152/0.00152, allocations: 177.3 kB / 366.3 MB, free: 2.004 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.399/1.399, allocations: 205.1 MB / 0.6256 GB, free: 5.914 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.0009342/0.0009338, allocations: 98.52 kB / 0.7396 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.274e-05/1.284e-05, allocations: 4 kB / 0.859 GB, free: 13.39 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6477/0.6477, allocations: 116.3 MB / 0.9726 GB, free: 68.23 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.932/4.58, allocations: 2.064 GB / 3.037 GB, free: 11.71 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002638/4.581, allocations: 87.89 kB / 3.037 GB, free: 11.62 MB / 0.948 GB Notification: Performance of FrontEnd: time 0.8418/5.422, allocations: 197.3 MB / 3.23 GB, free: 198.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 2.548e-05/5.422, allocations: 12 kB / 3.23 GB, free: 198.3 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.001184/5.424, allocations: 0.6387 MB / 3.23 GB, free: 197.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/5.424, allocations: 12.03 kB / 3.23 GB, free: 197.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005148/5.424, allocations: 79.48 kB / 3.23 GB, free: 197.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003986/5.425, allocations: 305.8 kB / 3.231 GB, free: 197.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/5.425, allocations: 4 kB / 3.231 GB, free: 197.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.574e-05/5.425, allocations: 16 kB / 3.231 GB, free: 197.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002764/5.425, allocations: 152.8 kB / 3.231 GB, free: 197 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003375/5.425, allocations: 247.4 kB / 3.231 GB, free: 196.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/5.425, allocations: 0 / 3.231 GB, free: 196.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.809e-05/5.425, allocations: 3.906 kB / 3.231 GB, free: 196.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/5.425, allocations: 8 kB / 3.231 GB, free: 196.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001356/5.427, allocations: 1.217 MB / 3.232 GB, free: 195.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001902/5.427, allocations: 130.6 kB / 3.232 GB, free: 195.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/5.427, allocations: 76.84 kB / 3.233 GB, free: 195.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004681/5.427, allocations: 307.2 kB / 3.233 GB, free: 194.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/5.428, allocations: 34.56 kB / 3.233 GB, free: 194.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=14): time 1.372e-06/5.428, allocations: 3.938 kB / 3.233 GB, free: 194.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=14): time 0.001113/5.429, allocations: 302.3 kB / 3.233 GB, free: 194.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.386e-05/5.429, allocations: 55.41 kB / 3.233 GB, free: 194.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/5.429, allocations: 180.3 kB / 3.233 GB, free: 194.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.185e-05/5.429, allocations: 29.7 kB / 3.233 GB, free: 194.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.359e-05/5.429, allocations: 152 kB / 3.234 GB, free: 194.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.082e-05/5.429, allocations: 47.3 kB / 3.234 GB, free: 194 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.168e-05/5.429, allocations: 0 / 3.234 GB, free: 194 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.712e-05/5.429, allocations: 330.8 kB / 3.234 GB, free: 193.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.874e-05/5.429, allocations: 59.97 kB / 3.234 GB, free: 193.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001091/5.429, allocations: 114.8 kB / 3.234 GB, free: 193.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001944/5.429, allocations: 101.1 kB / 3.234 GB, free: 193.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/5.429, allocations: 0 / 3.234 GB, free: 193.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0008166/5.43, allocations: 298.5 kB / 3.234 GB, free: 193.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/5.43, allocations: 8 kB / 3.234 GB, free: 193.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/5.43, allocations: 3.906 kB / 3.234 GB, free: 193.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006162/5.431, allocations: 88.89 kB / 3.235 GB, free: 193 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002429/5.431, allocations: 55.91 kB / 3.235 GB, free: 192.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001651/5.433, allocations: 1.508 MB / 3.236 GB, free: 191.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002613/5.433, allocations: 43.92 kB / 3.236 GB, free: 191.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.124e-05/5.433, allocations: 11.98 kB / 3.236 GB, free: 191.2 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 8.64e-05/5.433, allocations: 111.1 kB / 3.236 GB, free: 191.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.757e-05/5.433, allocations: 19.72 kB / 3.236 GB, free: 191.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000832/5.434, allocations: 312 kB / 3.237 GB, free: 190.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/5.434, allocations: 3.984 kB / 3.237 GB, free: 190.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-06/5.434, allocations: 4 kB / 3.237 GB, free: 190.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/5.434, allocations: 3.938 kB / 3.237 GB, free: 190.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001231/5.435, allocations: 0.6815 MB / 3.237 GB, free: 190.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/5.435, allocations: 0 / 3.237 GB, free: 190.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002112/5.436, allocations: 52 kB / 3.237 GB, free: 190 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004951/5.436, allocations: 92.77 kB / 3.237 GB, free: 189.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.91e-05/5.436, allocations: 0 / 3.237 GB, free: 189.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001464/5.438, allocations: 1.531 MB / 3.239 GB, free: 188.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/5.438, allocations: 0 / 3.239 GB, free: 188.3 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008076/5.438, allocations: 436.8 kB / 3.239 GB, free: 187.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/5.439, allocations: 113 kB / 3.239 GB, free: 187.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.281e-05/5.439, allocations: 15.88 kB / 3.239 GB, free: 187.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000283/5.439, allocations: 31.97 kB / 3.239 GB, free: 187.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.656e-05/5.439, allocations: 19.92 kB / 3.239 GB, free: 187.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.956e-05/5.439, allocations: 7.938 kB / 3.239 GB, free: 187.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 9.726e-05/5.439, allocations: 144.5 kB / 3.24 GB, free: 187.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0006137/5.44, allocations: 151.8 kB / 3.24 GB, free: 187.3 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.001273/5.441, allocations: 1.071 MB / 3.241 GB, free: 186.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0005453/5.442, allocations: 272.4 kB / 3.241 GB, free: 185.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/5.442, allocations: 4 kB / 3.241 GB, free: 185.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000326/5.442, allocations: 201.9 kB / 3.241 GB, free: 185.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000506/5.442, allocations: 80.27 kB / 3.241 GB, free: 185.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007325/5.443, allocations: 351.2 kB / 3.242 GB, free: 185.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000253/5.443, allocations: 0.7998 MB / 3.242 GB, free: 184.5 MB / 0.948 GB Notification: Performance of SimCode: time 2.41e-07/5.443, allocations: 4 kB / 3.242 GB, free: 184.4 MB / 0.948 GB Notification: Performance of Templates: time 0.01427/5.458, allocations: 10.26 MB / 3.252 GB, free: 174.2 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.makefile (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)