Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.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.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") [: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.303/2.303, allocations: 284.9 MB / 292.2 MB, free: 10.73 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.002214/0.002213, allocations: 181.2 kB / 360.4 MB, free: 7.492 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.794/1.794, allocations: 205.1 MB / 0.6188 GB, free: 12.44 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001274/0.001273, allocations: 91.48 kB / 0.7318 GB, free: 45 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.115e-05/1.125e-05, allocations: 4 kB / 0.8502 GB, free: 3.867 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6175/0.6176, allocations: 115.2 MB / 0.9628 GB, free: 78.26 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.565/5.183, allocations: 2.062 GB / 3.025 GB, free: 38.27 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002883/5.183, allocations: 87.27 kB / 3.025 GB, free: 38.23 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.285/7.468, allocations: 425.8 MB / 3.441 GB, free: 225.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.726e-05/7.468, allocations: 15.12 kB / 3.441 GB, free: 225.8 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.002775/7.471, allocations: 1.003 MB / 3.442 GB, free: 225.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/7.471, allocations: 11.38 kB / 3.442 GB, free: 225.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003416/7.475, allocations: 273.3 kB / 3.442 GB, free: 225.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001481/7.476, allocations: 480.7 kB / 3.443 GB, free: 225.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.064e-05/7.476, allocations: 15.12 kB / 3.443 GB, free: 225.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001208/7.476, allocations: 31.31 kB / 3.443 GB, free: 225.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001159/7.478, allocations: 389.1 kB / 3.443 GB, free: 225.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001102/7.479, allocations: 491 kB / 3.443 GB, free: 225 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.12e-05/7.479, allocations: 0 / 3.443 GB, free: 225 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.814e-05/7.479, allocations: 7.344 kB / 3.443 GB, free: 225 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.371e-05/7.479, allocations: 7.625 kB / 3.443 GB, free: 225 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004033/7.483, allocations: 2.127 MB / 3.446 GB, free: 223.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001037/7.484, allocations: 374.2 kB / 3.446 GB, free: 223.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004598/7.484, allocations: 194 kB / 3.446 GB, free: 223.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001028/7.485, allocations: 0.6366 MB / 3.447 GB, free: 223.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005575/7.486, allocations: 255.9 kB / 3.447 GB, free: 223.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=37): time 3.306e-06/7.486, allocations: 2.625 kB / 3.447 GB, free: 223.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=37): time 0.003492/7.49, allocations: 0.6208 MB / 3.448 GB, free: 223 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.669e-05/7.49, allocations: 58.81 kB / 3.448 GB, free: 223 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004771/7.49, allocations: 296.4 kB / 3.448 GB, free: 222.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.605e-05/7.49, allocations: 32.7 kB / 3.448 GB, free: 222.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001651/7.49, allocations: 223 kB / 3.448 GB, free: 222.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001314/7.491, allocations: 121.3 kB / 3.448 GB, free: 222.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.861e-05/7.491, allocations: 0 / 3.448 GB, free: 222.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.937e-05/7.491, allocations: 358.7 kB / 3.449 GB, free: 222.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003955/7.491, allocations: 139.8 kB / 3.449 GB, free: 222.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004956/7.492, allocations: 278.9 kB / 3.449 GB, free: 222.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008739/7.492, allocations: 232.2 kB / 3.449 GB, free: 222.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/7.493, allocations: 3.312 kB / 3.449 GB, free: 222.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001593/7.494, allocations: 0.5101 MB / 3.45 GB, free: 222.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/7.494, allocations: 7.594 kB / 3.45 GB, free: 222.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/7.494, allocations: 6.375 kB / 3.45 GB, free: 222.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.615e-05/7.494, allocations: 7.266 kB / 3.45 GB, free: 222.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009371/7.495, allocations: 111.2 kB / 3.45 GB, free: 222.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/7.495, allocations: 10.59 kB / 3.45 GB, free: 222.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001092/7.496, allocations: 84.39 kB / 3.45 GB, free: 222.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.941e-05/7.496, allocations: 21 kB / 3.45 GB, free: 222.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$PRE.m_flow1.T_start,m_flow1.T_start,$PRE.m_flow1.count,m_flow1.count,$PRE.m_flow2.T_start,m_flow2.T_start,$PRE.m_flow2.count,m_flow2.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 2 * 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.0001707/7.497, allocations: 122.3 kB / 3.45 GB, free: 222 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.984e-05/7.497, allocations: 49.23 kB / 3.45 GB, free: 222 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001559/7.498, allocations: 480.2 kB / 3.451 GB, free: 221.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/7.498, allocations: 10.09 kB / 3.451 GB, free: 221.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/7.498, allocations: 3.906 kB / 3.451 GB, free: 221.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/7.498, allocations: 0 / 3.451 GB, free: 221.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003114/7.501, allocations: 1.224 MB / 3.452 GB, free: 221.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/7.502, allocations: 2.312 kB / 3.452 GB, free: 221.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008442/7.502, allocations: 85.81 kB / 3.452 GB, free: 221.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.33e-05/7.502, allocations: 6.875 kB / 3.452 GB, free: 221.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.943e-05/7.502, allocations: 9.844 kB / 3.452 GB, free: 221.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.254e-06/7.502, allocations: 3.375 kB / 3.452 GB, free: 221.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.125e-06/7.502, allocations: 10.09 kB / 3.452 GB, free: 221.6 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001969/7.504, allocations: 0.983 MB / 3.453 GB, free: 221 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003098/7.505, allocations: 167.9 kB / 3.453 GB, free: 220.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/7.505, allocations: 3.906 kB / 3.453 GB, free: 220.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008901/7.506, allocations: 52.31 kB / 3.453 GB, free: 220.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001836/7.506, allocations: 51.75 kB / 3.453 GB, free: 220.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.922e-05/7.506, allocations: 21.33 kB / 3.453 GB, free: 220.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0003345/7.506, allocations: 233.8 kB / 3.453 GB, free: 220.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001155/7.508, allocations: 254 kB / 3.454 GB, free: 220.8 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (temDyn.T,temDynLoss.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,m_flow1.T_start,m_flow1.count,m_flow2.T_start,m_flow2.count) * Number of discrete states: 2 (m_flow2.count,m_flow1.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002657/7.51, allocations: 1.66 MB / 3.455 GB, free: 220.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00122/7.512, allocations: 426.1 kB / 3.456 GB, free: 220.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.353e-06/7.512, allocations: 0 / 3.456 GB, free: 220.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008167/7.512, allocations: 240 kB / 3.456 GB, free: 220.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001839/7.514, allocations: 178.7 kB / 3.456 GB, free: 220.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002499/7.517, allocations: 0.7916 MB / 3.457 GB, free: 220.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000731/7.518, allocations: 0.9366 MB / 3.458 GB, free: 219.3 MB / 0.948 GB Notification: Performance of SimCode: time 1.312e-06/7.518, allocations: 3.438 kB / 3.458 GB, free: 219.3 MB / 0.948 GB Notification: Performance of Templates: time 0.04223/7.56, allocations: 16.7 MB / 3.474 GB, free: 219.1 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)