Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature") translateModel(Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.172/2.172, allocations: 284.9 MB / 292.2 MB, free: 9.816 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001619/0.001619, allocations: 179.6 kB / 360.4 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.648/1.648, allocations: 205.2 MB / 0.6188 GB, free: 3.203 MB / 442.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001239/0.001238, allocations: 92.05 kB / 0.7318 GB, free: 1.625 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 8.066e-06/8.165e-06, allocations: 1.281 kB / 0.8502 GB, free: 150.4 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1888/0.1888, allocations: 115.3 MB / 0.9628 GB, free: 56.96 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.575/0.7638, allocations: 141 MB / 1.101 GB, free: 33.09 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002721/0.7642, allocations: 79.5 kB / 1.101 GB, free: 33.09 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.02753/0.7917, allocations: 7.092 MB / 1.108 GB, free: 32.67 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.94e-05/0.7918, allocations: 9.062 kB / 1.108 GB, free: 32.67 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001215/0.793, allocations: 0.6839 MB / 1.108 GB, free: 32.17 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.7931, allocations: 7.656 kB / 1.108 GB, free: 32.17 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001396/0.7932, allocations: 54.34 kB / 1.108 GB, free: 32.14 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008203/0.794, allocations: 395.8 kB / 1.109 GB, free: 31.89 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.149e-05/0.7941, allocations: 15.59 kB / 1.109 GB, free: 31.89 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.32e-05/0.7942, allocations: 31.12 kB / 1.109 GB, free: 31.88 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000785/0.795, allocations: 273.1 kB / 1.109 GB, free: 31.88 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008333/0.7958, allocations: 357.1 kB / 1.109 GB, free: 31.82 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.7959, allocations: 0 / 1.109 GB, free: 31.82 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.19e-05/0.7959, allocations: 3.906 kB / 1.109 GB, free: 31.81 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.343e-05/0.796, allocations: 11.62 kB / 1.109 GB, free: 31.81 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002748/0.7987, allocations: 1.269 MB / 1.111 GB, free: 31.39 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007422/0.7995, allocations: 248 kB / 1.111 GB, free: 31.36 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002702/0.7998, allocations: 122.5 kB / 1.111 GB, free: 31.34 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.653e-05/0.7998, allocations: 240 / 1.111 GB, free: 31.34 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003448/0.8002, allocations: 186.4 kB / 1.111 GB, free: 31.26 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=30): time 1.993e-06/0.8002, allocations: 0 / 1.111 GB, free: 31.26 MB / 0.7136 GB Notification: Performance of matching and sorting (n=30): time 0.0006768/0.8009, allocations: 251.7 kB / 1.111 GB, free: 31.2 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.168e-05/0.801, allocations: 164.6 kB / 1.111 GB, free: 31.01 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003685/0.8013, allocations: 254 kB / 1.112 GB, free: 30.91 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.808e-05/0.8014, allocations: 25.7 kB / 1.112 GB, free: 30.88 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001412/0.8015, allocations: 201.6 kB / 1.112 GB, free: 30.74 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.679e-05/0.8016, allocations: 96.58 kB / 1.112 GB, free: 30.68 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.624e-05/0.8017, allocations: 0 / 1.112 GB, free: 30.68 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.732e-05/0.8018, allocations: 341.5 kB / 1.112 GB, free: 30.37 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003049/0.8021, allocations: 105.2 kB / 1.112 GB, free: 30.37 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003497/0.8024, allocations: 173.2 kB / 1.113 GB, free: 30.29 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005464/0.803, allocations: 130.7 kB / 1.113 GB, free: 30.29 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.803, allocations: 0 / 1.113 GB, free: 30.29 MB / 0.7136 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001007/0.804, allocations: 338.5 kB / 1.113 GB, free: 30.23 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.003e-05/0.8041, allocations: 282.3 kB / 1.113 GB, free: 29.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.8041, allocations: 7.875 kB / 1.113 GB, free: 29.95 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.29e-05/0.8042, allocations: 4.062 kB / 1.113 GB, free: 29.94 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005144/0.8047, allocations: 55.83 kB / 1.113 GB, free: 29.94 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.8047, allocations: 10.16 kB / 1.113 GB, free: 29.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006737/0.8054, allocations: 79.31 kB / 1.113 GB, free: 29.91 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.072e-05/0.8055, allocations: 14.69 kB / 1.113 GB, free: 29.91 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.183e-06/0.8055, allocations: 3.875 kB / 1.114 GB, free: 29.91 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008823/0.8064, allocations: 275.1 kB / 1.114 GB, free: 29.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.8064, allocations: 0 / 1.114 GB, free: 29.91 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.092e-06/0.8064, allocations: 0 / 1.114 GB, free: 29.91 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004537/0.8069, allocations: 50.88 kB / 1.114 GB, free: 29.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.8069, allocations: 7.969 kB / 1.114 GB, free: 29.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006077/0.8075, allocations: 71.08 kB / 1.114 GB, free: 29.88 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.349e-05/0.8076, allocations: 14.94 kB / 1.114 GB, free: 29.88 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,$whenCondition3,$PRE.uEna.y,uEna.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001377/0.8077, allocations: 108.8 kB / 1.114 GB, free: 29.77 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.026e-05/0.8078, allocations: 37.97 kB / 1.114 GB, free: 29.76 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00075/0.8086, allocations: 277.4 kB / 1.114 GB, free: 29.71 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.8086, allocations: 3.875 kB / 1.114 GB, free: 29.71 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.8086, allocations: 0 / 1.114 GB, free: 29.71 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/0.8086, allocations: 9.25 kB / 1.114 GB, free: 29.7 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001196/0.8098, allocations: 0.7485 MB / 1.115 GB, free: 29.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.8098, allocations: 6.531 kB / 1.115 GB, free: 29.39 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004887/0.8103, allocations: 58.16 kB / 1.115 GB, free: 29.39 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.516e-06/0.8104, allocations: 3.906 kB / 1.115 GB, free: 29.39 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.049e-05/0.8104, allocations: 11.97 kB / 1.115 GB, free: 29.38 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.8104, allocations: 0 / 1.115 GB, free: 29.38 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/0.8104, allocations: 3.938 kB / 1.115 GB, free: 29.38 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009357/0.8114, allocations: 0.5423 MB / 1.116 GB, free: 29.14 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.774e-05/0.8115, allocations: 114.5 kB / 1.116 GB, free: 29.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.177e-05/0.8115, allocations: 0 / 1.116 GB, free: 29.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003871/0.8119, allocations: 27.44 kB / 1.116 GB, free: 29.02 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.3e-05/0.812, allocations: 24.84 kB / 1.116 GB, free: 29.02 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.041e-05/0.8121, allocations: 14.56 kB / 1.116 GB, free: 29.02 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0002449/0.8123, allocations: 193 kB / 1.116 GB, free: 28.93 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007745/0.8131, allocations: 163.8 kB / 1.116 GB, free: 28.89 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (conTSup.con.I.y) * Number of discrete variables: 4 ($whenCondition3,$whenCondition1,$whenCondition2,uEna.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001927/0.8133, allocations: 119.7 kB / 1.116 GB, free: 28.79 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001116/0.8144, allocations: 477.2 kB / 1.117 GB, free: 28.71 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.8145, allocations: 0 / 1.117 GB, free: 28.71 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002956/0.8148, allocations: 130.5 kB / 1.117 GB, free: 28.7 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005807/0.8154, allocations: 44.14 kB / 1.117 GB, free: 28.7 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001486/0.8169, allocations: 492.1 kB / 1.117 GB, free: 28.5 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000544/0.8174, allocations: 0.865 MB / 1.118 GB, free: 43.77 MB / 0.7292 GB Notification: Performance of SimCode: time 9.82e-07/0.8174, allocations: 0 / 1.118 GB, free: 43.77 MB / 0.7292 GB Notification: Performance of Templates: time 0.01463/0.8321, allocations: 5.513 MB / 1.124 GB, free: 43.41 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.makefile (rm -f Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.sim & ./Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe 2>&1)