Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|beaCooHea.heaToRoo.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|beaCooHea.heaToRoo.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating") [: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 10.0.0-master/package.mo): time 1.995/1.995, allocations: 390.4 MB / 397.7 MB, free: 11.26 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 185.3 kB / 490.8 MB, free: 1.934 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 221.3 MB / 0.7863 GB, free: 13.64 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008899/0.0008899, allocations: 97.12 kB / 0.9264 GB, free: 14.18 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.724e-06/7.744e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.276, allocations: 143 MB / 1.212 GB, free: 40.09 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.17/4.446, allocations: 2.185 GB / 3.396 GB, free: 124.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000239/4.446, allocations: 102.8 kB / 3.396 GB, free: 124.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 4.163/8.609, allocations: 1.252 GB / 4.648 GB, free: 160 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.000572/8.61, allocations: 92.19 kB / 4.648 GB, free: 160 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 516 * Number of variables: 516 Notification: Performance of Generate backend data structure: time 0.009708/8.619, allocations: 3.636 MB / 4.652 GB, free: 157.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/8.62, allocations: 7.438 kB / 4.652 GB, free: 157.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003281/8.623, allocations: 0.5444 MB / 4.653 GB, free: 157.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008451/8.631, allocations: 3.458 MB / 4.656 GB, free: 154.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001138/8.631, allocations: 72.41 kB / 4.656 GB, free: 154.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008149/8.632, allocations: 132.4 kB / 4.656 GB, free: 154.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003809/8.636, allocations: 1.833 MB / 4.658 GB, free: 153.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004093/8.64, allocations: 2.257 MB / 4.66 GB, free: 152.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.402e-05/8.64, allocations: 9.859 kB / 4.66 GB, free: 152.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001815/8.64, allocations: 7.5 kB / 4.66 GB, free: 152.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-05/8.641, allocations: 76.84 kB / 4.66 GB, free: 152.6 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01917/8.66, allocations: 11.02 MB / 4.671 GB, free: 143.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002049/8.662, allocations: 1.11 MB / 4.672 GB, free: 143.3 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001345/8.663, allocations: 0.9702 MB / 4.673 GB, free: 142.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000823/8.664, allocations: 1.18 MB / 4.674 GB, free: 141.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/8.664, allocations: 46.69 kB / 4.674 GB, free: 141.4 MB / 1.167 GB Notification: Performance of pre-optimization done (n=126): time 3.286e-06/8.664, allocations: 1.281 kB / 4.674 GB, free: 141.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=134): time 0.01007/8.674, allocations: 4.701 MB / 4.679 GB, free: 138.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001216/8.674, allocations: 342 kB / 4.679 GB, free: 138.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004731/8.679, allocations: 2.658 MB / 4.682 GB, free: 137.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002525/8.679, allocations: 32.02 kB / 4.682 GB, free: 137.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006441/8.68, allocations: 0.8901 MB / 4.683 GB, free: 136.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004923/8.68, allocations: 443 kB / 4.683 GB, free: 136 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.277e-05/8.681, allocations: 3.781 kB / 4.683 GB, free: 136 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001033/8.681, allocations: 372 kB / 4.683 GB, free: 135.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001514/8.682, allocations: 1.034 MB / 4.684 GB, free: 135.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001765/8.684, allocations: 1.461 MB / 4.686 GB, free: 133.8 MB / 1.167 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.00608/8.69, allocations: 3.797 MB / 4.69 GB, free: 130 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.052e-06/8.69, allocations: 3.906 kB / 4.69 GB, free: 130 MB / 1.167 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004477/8.695, allocations: 2.804 MB / 4.692 GB, free: 127.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004919/8.695, allocations: 2.524 MB / 4.695 GB, free: 124.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/8.695, allocations: 7.984 kB / 4.695 GB, free: 124.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003832/8.695, allocations: 137.7 kB / 4.695 GB, free: 124.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001021/8.696, allocations: 263.2 kB / 4.695 GB, free: 124 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007872/8.697, allocations: 1.32 MB / 4.696 GB, free: 122.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002621/8.7, allocations: 176.4 kB / 4.697 GB, free: 122.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001614/8.7, allocations: 80.03 kB / 4.697 GB, free: 122.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 8.666e-06/8.7, allocations: 4 kB / 4.697 GB, free: 122.4 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003377/8.703, allocations: 2.479 MB / 4.699 GB, free: 120 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/8.704, allocations: 4 kB / 4.699 GB, free: 119.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003181/8.704, allocations: 145.6 kB / 4.699 GB, free: 119.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/8.705, allocations: 266.4 kB / 4.699 GB, free: 119.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007552/8.706, allocations: 1.324 MB / 4.701 GB, free: 118.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003046/8.709, allocations: 169.1 kB / 4.701 GB, free: 118 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001642/8.709, allocations: 80.03 kB / 4.701 GB, free: 117.9 MB / 1.167 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: vol.dynBal.medium.p = vol.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 8 (beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.airFlo_mod.i,conCoo.I.trigger_internal,conHea.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (159): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 12 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0005541/8.709, allocations: 325.6 kB / 4.701 GB, free: 117.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000625/8.71, allocations: 296.2 kB / 4.702 GB, free: 117.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003719/8.714, allocations: 2.216 MB / 4.704 GB, free: 115.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.596e-05/8.714, allocations: 19.59 kB / 4.704 GB, free: 115.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/8.714, allocations: 0 / 4.704 GB, free: 115.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002277/8.716, allocations: 1.986 MB / 4.706 GB, free: 113 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008133/8.724, allocations: 5.416 MB / 4.711 GB, free: 107.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.649e-06/8.724, allocations: 8 kB / 4.711 GB, free: 107.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001149/8.725, allocations: 261.8 kB / 4.711 GB, free: 107.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.439e-05/8.725, allocations: 10.38 kB / 4.711 GB, free: 107.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.633e-05/8.726, allocations: 31.98 kB / 4.711 GB, free: 107.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.737e-06/8.726, allocations: 8 kB / 4.711 GB, free: 107.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/8.726, allocations: 11.94 kB / 4.711 GB, free: 107.2 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004588/8.73, allocations: 4.216 MB / 4.715 GB, free: 102.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001621/8.732, allocations: 0.6869 MB / 4.716 GB, free: 102.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004268/8.732, allocations: 23.88 kB / 4.716 GB, free: 102 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001611/8.734, allocations: 152.1 kB / 4.716 GB, free: 101.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002877/8.734, allocations: 143.1 kB / 4.716 GB, free: 101.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001159/8.734, allocations: 61.88 kB / 4.716 GB, free: 101.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.002938/8.737, allocations: 2.014 MB / 4.718 GB, free: 99.71 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.004248/8.742, allocations: 1.351 MB / 4.72 GB, free: 98.36 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 6 (conHea.I.y,vol.dynBal.medium.Xi[1],vol.dynBal.U,conCoo.I.y,beaCooHea.watCoo_a.h_outflow,beaCooHea.watHea_a.h_outflow) * Number of discrete variables: 6 (beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.airFlo_mod.i) * Number of discrete states: 6 (beaCooHea.conHea.mod.airFlo_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (132): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 4 * 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.003851/8.745, allocations: 2.973 MB / 4.723 GB, free: 95.78 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.004715/8.75, allocations: 4.27 MB / 4.727 GB, free: 91.38 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.164e-06/8.75, allocations: 4 kB / 4.727 GB, free: 91.37 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001742/8.752, allocations: 1.727 MB / 4.729 GB, free: 89.61 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006232/8.758, allocations: 1.326 MB / 4.73 GB, free: 88.41 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009955/8.768, allocations: 5.29 MB / 4.735 GB, free: 83.19 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002069/8.77, allocations: 2.36 MB / 4.737 GB, free: 80.84 MB / 1.167 GB Notification: Performance of SimCode: time 1.102e-06/8.77, allocations: 0 / 4.737 GB, free: 80.84 MB / 1.167 GB Notification: Performance of Templates: time 0.1161/8.886, allocations: 76.97 MB / 4.812 GB, free: 6.086 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingAndHeating.csv","../files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches