Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating") translateModel(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.7589/0.7589, allocations: 141.8 MB / 149.1 MB, free: 4.391 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001195/0.001196, allocations: 189.5 kB / 181.9 MB, free: 64 kB / 138.9 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 / 436 MB, free: 9.242 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001096, allocations: 102 kB / 0.507 GB, free: 24.21 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001939/0.001939, allocations: 284.3 kB / 0.5884 GB, free: 12.26 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 9.618e-06/9.649e-06, allocations: 0 / 0.6759 GB, free: 2.613 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5317/0.5318, allocations: 82.76 MB / 0.7567 GB, free: 112.8 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.851/5.383, allocations: 2.144 GB / 2.901 GB, free: 216.7 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003317/5.383, allocations: 104.4 kB / 2.901 GB, free: 216.6 MB / 0.6982 GB Notification: Performance of FrontEnd: time 4.274/9.657, allocations: 1.248 GB / 4.149 GB, free: 47.41 MB / 0.7294 GB Notification: Performance of Transformations before backend: time 0.001042/9.658, allocations: 88.16 kB / 4.149 GB, free: 47.39 MB / 0.7294 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.01345/9.671, allocations: 3.629 MB / 4.153 GB, free: 44.11 MB / 0.7294 GB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/9.671, allocations: 11.97 kB / 4.153 GB, free: 44.1 MB / 0.7294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003833/9.675, allocations: 0.5541 MB / 4.153 GB, free: 43.55 MB / 0.7294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01081/9.686, allocations: 3.429 MB / 4.157 GB, free: 40.14 MB / 0.7294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001621/9.686, allocations: 68 kB / 4.157 GB, free: 40.08 MB / 0.7294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001144/9.688, allocations: 139.9 kB / 4.157 GB, free: 39.94 MB / 0.7294 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005144/9.693, allocations: 1.832 MB / 4.158 GB, free: 38.11 MB / 0.7294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005776/9.698, allocations: 2.261 MB / 4.161 GB, free: 35.76 MB / 0.7294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.045e-05/9.699, allocations: 0 / 4.161 GB, free: 35.76 MB / 0.7294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003811/9.699, allocations: 8 kB / 4.161 GB, free: 35.75 MB / 0.7294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-05/9.699, allocations: 73.88 kB / 4.161 GB, free: 35.68 MB / 0.7294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01857/9.718, allocations: 10.98 MB / 4.172 GB, free: 24.56 MB / 0.7294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002182/9.72, allocations: 1.443 MB / 4.173 GB, free: 23.11 MB / 0.7294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001164/9.721, allocations: 0.9723 MB / 4.174 GB, free: 22.14 MB / 0.7294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000801/9.722, allocations: 1.183 MB / 4.175 GB, free: 20.71 MB / 0.7294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.028e-05/9.722, allocations: 51.66 kB / 4.175 GB, free: 20.65 MB / 0.7294 GB Notification: Performance of pre-optimization done (n=126): time 3.136e-06/9.722, allocations: 3.938 kB / 4.175 GB, free: 20.64 MB / 0.7294 GB Notification: Performance of matching and sorting (n=132): time 0.01151/9.733, allocations: 4.646 MB / 4.18 GB, free: 15.94 MB / 0.7294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001253/9.734, allocations: 345.4 kB / 4.18 GB, free: 15.53 MB / 0.7294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005693/9.739, allocations: 2.647 MB / 4.183 GB, free: 12.88 MB / 0.7294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003178/9.74, allocations: 33.64 kB / 4.183 GB, free: 12.84 MB / 0.7294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008643/9.741, allocations: 0.9019 MB / 4.183 GB, free: 11.92 MB / 0.7294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005754/9.741, allocations: 433.5 kB / 4.184 GB, free: 11.49 MB / 0.7294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/9.741, allocations: 4 kB / 4.184 GB, free: 11.49 MB / 0.7294 GB Notification: Performance of setup shared object (initialization): time 0.0001371/9.741, allocations: 361.9 kB / 4.184 GB, free: 11.13 MB / 0.7294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001274/9.743, allocations: 1.031 MB / 4.185 GB, free: 10.1 MB / 0.7294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001569/9.744, allocations: 1.461 MB / 4.187 GB, free: 8.492 MB / 0.7294 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.006439/9.751, allocations: 3.777 MB / 4.19 GB, free: 4.656 MB / 0.7294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/9.751, allocations: 0 / 4.19 GB, free: 4.656 MB / 0.7294 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004707/9.755, allocations: 2.787 MB / 4.193 GB, free: 1.863 MB / 0.7294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007389/9.756, allocations: 2.521 MB / 4.196 GB, free: 15.12 MB / 0.745 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.391e-05/9.756, allocations: 8 kB / 4.196 GB, free: 15.11 MB / 0.745 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000441/9.757, allocations: 141.6 kB / 4.196 GB, free: 14.97 MB / 0.745 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/9.758, allocations: 263.1 kB / 4.196 GB, free: 14.71 MB / 0.745 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001229/9.759, allocations: 1.315 MB / 4.197 GB, free: 13.35 MB / 0.745 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003059/9.762, allocations: 182.1 kB / 4.197 GB, free: 13.19 MB / 0.745 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002651/9.762, allocations: 79.98 kB / 4.197 GB, free: 13.11 MB / 0.745 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/9.762, allocations: 4 kB / 4.197 GB, free: 13.11 MB / 0.745 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004847/9.767, allocations: 2.469 MB / 4.2 GB, free: 10.65 MB / 0.745 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.685e-05/9.767, allocations: 4 kB / 4.2 GB, free: 10.65 MB / 0.745 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003971/9.768, allocations: 145 kB / 4.2 GB, free: 10.5 MB / 0.745 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001227/9.769, allocations: 262.2 kB / 4.2 GB, free: 10.25 MB / 0.745 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001489/9.77, allocations: 1.315 MB / 4.202 GB, free: 8.887 MB / 0.745 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003523/9.774, allocations: 176.4 kB / 4.202 GB, free: 8.73 MB / 0.745 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002727/9.774, allocations: 76.05 kB / 4.202 GB, free: 8.656 MB / 0.745 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 (157): * Single equations (assignments): 143 * 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.000815/9.775, allocations: 331.4 kB / 4.202 GB, free: 8.289 MB / 0.745 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001093/9.776, allocations: 296.2 kB / 4.202 GB, free: 7.996 MB / 0.745 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004704/9.781, allocations: 2.205 MB / 4.205 GB, free: 5.785 MB / 0.745 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.156e-05/9.781, allocations: 12 kB / 4.205 GB, free: 5.773 MB / 0.745 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.595e-06/9.781, allocations: 0 / 4.205 GB, free: 5.773 MB / 0.745 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002999/9.784, allocations: 1.974 MB / 4.206 GB, free: 3.75 MB / 0.745 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4244/10.21, allocations: 5.35 MB / 4.212 GB, free: 114 MB / 0.745 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.469e-05/10.21, allocations: 3.969 kB / 4.212 GB, free: 114 MB / 0.745 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00115/10.21, allocations: 255 kB / 4.212 GB, free: 114 MB / 0.745 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.802e-05/10.21, allocations: 7.656 kB / 4.212 GB, free: 114 MB / 0.745 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.995e-05/10.21, allocations: 29.47 kB / 4.212 GB, free: 114 MB / 0.745 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-05/10.21, allocations: 12.47 kB / 4.212 GB, free: 114 MB / 0.745 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.676e-06/10.21, allocations: 9.125 kB / 4.212 GB, free: 114 MB / 0.745 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005235/10.22, allocations: 4.216 MB / 4.216 GB, free: 113 MB / 0.745 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002573/10.22, allocations: 0.6908 MB / 4.217 GB, free: 112.9 MB / 0.745 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001049/10.22, allocations: 20.59 kB / 4.217 GB, free: 112.9 MB / 0.745 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002161/10.22, allocations: 144.9 kB / 4.217 GB, free: 112.9 MB / 0.745 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003461/10.22, allocations: 141.6 kB / 4.217 GB, free: 112.9 MB / 0.745 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001388/10.22, allocations: 58.92 kB / 4.217 GB, free: 112.9 MB / 0.745 GB Notification: Performance of sort global known variables: time 0.003707/10.23, allocations: 2.01 MB / 4.219 GB, free: 112.8 MB / 0.745 GB Notification: Performance of remove unused functions: time 0.006217/10.23, allocations: 1.358 MB / 4.22 GB, free: 112.8 MB / 0.745 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.U,vol.dynBal.mXi[1],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 (130): * Single equations (assignments): 120 * 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.004699/10.24, allocations: 2.961 MB / 4.223 GB, free: 111.9 MB / 0.745 GB Notification: Performance of simCode: created initialization part: time 0.005621/10.24, allocations: 4.259 MB / 4.227 GB, free: 111.1 MB / 0.745 GB Notification: Performance of simCode: created event and clocks part: time 1.299e-05/10.24, allocations: 0 / 4.227 GB, free: 111.1 MB / 0.745 GB Notification: Performance of simCode: created simulation system equations: time 0.002208/10.24, allocations: 1.724 MB / 4.229 GB, free: 110.9 MB / 0.745 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007735/10.25, allocations: 1.35 MB / 4.23 GB, free: 110.9 MB / 0.745 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01558/10.27, allocations: 5.257 MB / 4.236 GB, free: 109.8 MB / 0.745 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004258/10.27, allocations: 2.358 MB / 4.238 GB, free: 109 MB / 0.745 GB Notification: Performance of SimCode: time 1.523e-06/10.27, allocations: 3.172 kB / 4.238 GB, free: 109 MB / 0.745 GB Notification: Performance of Templates: time 0.1322/10.4, allocations: 77.3 MB / 4.313 GB, free: 105.4 MB / 0.745 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe 2>&1)