Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.HeatGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Rooms.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.HeatGain") translateModel(Buildings.Rooms.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.HeatGain") [: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 1.6.0+build.1/package.mo): time 0.5032/0.5032, allocations: 94.74 MB / 102 MB, free: 10.37 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001161/0.001161, allocations: 181.6 kB / 125.3 MB, free: 12 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.367/1.367, allocations: 170.5 MB / 319 MB, free: 9.531 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001688/0.001688, allocations: 105.9 kB / 381 MB, free: 18.1 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.828e-05/1.832e-05, allocations: 4 kB / 448.6 MB, free: 2.137 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1466, allocations: 61.51 MB / 0.4981 GB, free: 4.523 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.09/12.23, allocations: 5.308 GB / 5.806 GB, free: 172.9 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003435/12.23, allocations: 81.69 kB / 5.806 GB, free: 172.9 MB / 0.5261 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/Rooms/BaseClasses/HeatGain.mo:38:31-38:42:writable] Warning: Non-array modification 'false' for array component, possibly due to missing 'each'. Notification: Performance of FrontEnd: time 1.144/13.38, allocations: 339.6 MB / 6.137 GB, free: 56.75 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001276/13.38, allocations: 27.88 kB / 6.137 GB, free: 56.72 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.00397/13.38, allocations: 1.132 MB / 6.139 GB, free: 55.53 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6e-05/13.38, allocations: 12.02 kB / 6.139 GB, free: 55.52 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008292/13.38, allocations: 94.97 kB / 6.139 GB, free: 55.43 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1546/13.54, allocations: 48.33 MB / 6.186 GB, free: 7.234 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001314/13.54, allocations: 84.7 kB / 6.186 GB, free: 7.141 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/13.54, allocations: 36 kB / 6.186 GB, free: 7.105 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001257/13.54, allocations: 0.6234 MB / 6.187 GB, free: 6.48 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001046/13.54, allocations: 0.6518 MB / 6.187 GB, free: 5.801 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.33e-05/13.54, allocations: 3.938 kB / 6.187 GB, free: 5.797 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.919e-05/13.54, allocations: 0 / 6.187 GB, free: 5.797 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.022e-05/13.54, allocations: 16 kB / 6.187 GB, free: 5.781 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004302/13.55, allocations: 2.642 MB / 6.19 GB, free: 3.012 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004662/13.55, allocations: 305.1 kB / 6.19 GB, free: 2.711 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000284/13.55, allocations: 225.5 kB / 6.19 GB, free: 2.488 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005453/13.55, allocations: 327.5 kB / 6.191 GB, free: 2.117 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/13.55, allocations: 42.89 kB / 6.191 GB, free: 2.066 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=39): time 2.365e-06/13.55, allocations: 0 / 6.191 GB, free: 2.066 MB / 0.5261 GB Notification: Performance of matching and sorting (n=44): time 0.3356/13.88, allocations: 2.125 MB / 6.193 GB, free: 126.8 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.04e-05/13.88, allocations: 61.38 kB / 6.193 GB, free: 126.7 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007921/13.88, allocations: 424.5 kB / 6.193 GB, free: 126.6 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002232/13.88, allocations: 31.38 kB / 6.193 GB, free: 126.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.00021/13.88, allocations: 303.5 kB / 6.194 GB, free: 126.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001613/13.88, allocations: 152.5 kB / 6.194 GB, free: 126.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.401e-05/13.88, allocations: 0 / 6.194 GB, free: 126.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001183/13.88, allocations: 366.3 kB / 6.194 GB, free: 126.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003829/13.88, allocations: 234.4 kB / 6.194 GB, free: 126.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004014/13.89, allocations: 368.2 kB / 6.195 GB, free: 126 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002029/13.89, allocations: 0.5188 MB / 6.195 GB, free: 126 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/13.89, allocations: 2.312 kB / 6.195 GB, free: 126 MB / 0.5261 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002374/13.89, allocations: 0.9563 MB / 6.196 GB, free: 125.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/13.89, allocations: 6.906 kB / 6.196 GB, free: 125.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/13.89, allocations: 1.312 kB / 6.196 GB, free: 125.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.965e-05/13.89, allocations: 12.44 kB / 6.196 GB, free: 125.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006776/13.89, allocations: 125.2 kB / 6.196 GB, free: 125.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.41e-05/13.89, allocations: 14.52 kB / 6.196 GB, free: 125.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006497/13.89, allocations: 48.94 kB / 6.196 GB, free: 125.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.07e-05/13.89, allocations: 27.84 kB / 6.196 GB, free: 125.9 MB / 0.5261 GB Warning: Assuming fixed start value for the following 2 variables: vol.dynBal.medium.T:VARIABLE(min = max(1.0, 1.0) max = min(10000.0, 10000.0) start = vol.dynBal.T_start unit = "K" nominal = 293.15 stateSelect=StateSelect.prefer protected = true ) "Temperature of medium" type: Real vol.dynBal.medium.Xi[1]:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))))))))) max = min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, 1.0))))))))))) start = 0.01 unit = "1" nominal = 0.1 stateSelect=StateSelect.prefer protected = true ) "Structurally independent mass fractions" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 2 (QSen_flow.i_x,QLat_flow.i_x) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 3 * 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.0003687/13.89, allocations: 168.3 kB / 6.196 GB, free: 125.8 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001287/13.89, allocations: 64.72 kB / 6.197 GB, free: 125.8 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002215/13.89, allocations: 0.9325 MB / 6.197 GB, free: 125.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.207e-05/13.89, allocations: 7.344 kB / 6.197 GB, free: 125.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/13.89, allocations: 2.531 kB / 6.197 GB, free: 125.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.852e-05/13.89, allocations: 3.141 kB / 6.197 GB, free: 125.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003328/13.9, allocations: 1.756 MB / 6.199 GB, free: 125.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.657e-06/13.9, allocations: 6.859 kB / 6.199 GB, free: 125.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005397/13.9, allocations: 104.3 kB / 6.199 GB, free: 125.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-05/13.9, allocations: 6.812 kB / 6.199 GB, free: 125.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.059e-05/13.9, allocations: 9.781 kB / 6.199 GB, free: 125.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.608e-05/13.9, allocations: 5.875 kB / 6.199 GB, free: 125.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.29e-05/13.9, allocations: 15 kB / 6.199 GB, free: 125.4 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002349/13.9, allocations: 1.407 MB / 6.201 GB, free: 125 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000388/13.9, allocations: 221.6 kB / 6.201 GB, free: 124.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001091/13.9, allocations: 6.938 kB / 6.201 GB, free: 124.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006047/13.9, allocations: 32.66 kB / 6.201 GB, free: 124.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.912e-05/13.9, allocations: 39.97 kB / 6.201 GB, free: 124.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.123e-05/13.9, allocations: 32.03 kB / 6.201 GB, free: 124.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0004462/13.9, allocations: 334 kB / 6.201 GB, free: 124.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001846/13.9, allocations: 470 kB / 6.202 GB, free: 124.8 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 2 (vol.dynBal.medium.Xi[1],vol.dynBal.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.002741/13.91, allocations: 1.446 MB / 6.203 GB, free: 124.6 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001149/13.91, allocations: 0.6745 MB / 6.204 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/13.91, allocations: 9.375 kB / 6.204 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003881/13.91, allocations: 305.1 kB / 6.204 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001498/13.91, allocations: 280.4 kB / 6.204 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00295/13.91, allocations: 1.197 MB / 6.206 GB, free: 124.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007418/13.91, allocations: 1.058 MB / 6.207 GB, free: 123.4 MB / 0.5261 GB Notification: Performance of SimCode: time 1.322e-06/13.91, allocations: 3.562 kB / 6.207 GB, free: 123.4 MB / 0.5261 GB Notification: Performance of Templates: time 0.04171/13.96, allocations: 21.86 MB / 6.228 GB, free: 123.1 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.HeatGain.makefile (rm -f Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.HeatGain.sim & ./Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.HeatGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.HeatGain.pipe 2>&1)