Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.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.Validation.NumberOfBeamsDynamics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics") translateModel(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics") [: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.7629/0.7629, allocations: 141.8 MB / 149.1 MB, free: 12.04 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 189.4 kB / 181.9 MB, free: 8.812 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 221.3 MB / 436 MB, free: 1.035 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.001011/0.001011, allocations: 93.16 kB / 0.507 GB, free: 17.69 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001973/0.001973, allocations: 274.5 kB / 0.5884 GB, free: 2.777 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 8.896e-06/8.916e-06, allocations: 2.094 kB / 0.6759 GB, free: 136.2 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2075/0.2076, allocations: 82.78 MB / 0.7567 GB, free: 81.45 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.946/5.153, allocations: 2.163 GB / 2.919 GB, free: 77.93 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/5.154, allocations: 103.8 kB / 2.919 GB, free: 77.84 MB / 0.6982 GB Notification: Performance of FrontEnd: time 17.94/23.1, allocations: 4.515 GB / 7.434 GB, free: 49.37 MB / 0.9013 GB Notification: Performance of Transformations before backend: time 0.001797/23.1, allocations: 202 kB / 7.435 GB, free: 49.33 MB / 0.9013 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1118 * Number of variables: 1118 Notification: Performance of Generate backend data structure: time 0.03052/23.13, allocations: 8.058 MB / 7.442 GB, free: 44.98 MB / 0.9013 GB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/23.13, allocations: 8.875 kB / 7.442 GB, free: 44.98 MB / 0.9013 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009642/23.14, allocations: 1.571 MB / 7.444 GB, free: 44.49 MB / 0.9013 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03509/23.17, allocations: 9.898 MB / 7.454 GB, free: 41.5 MB / 0.9013 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005128/23.17, allocations: 147.9 kB / 7.454 GB, free: 41.5 MB / 0.9013 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002592/23.18, allocations: 290 kB / 7.454 GB, free: 41.5 MB / 0.9013 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01242/23.19, allocations: 4.142 MB / 7.458 GB, free: 39.77 MB / 0.9013 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0172/23.21, allocations: 4.965 MB / 7.463 GB, free: 37.59 MB / 0.9013 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003115/23.21, allocations: 6.562 kB / 7.463 GB, free: 37.59 MB / 0.9013 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001848/23.21, allocations: 16.44 kB / 7.463 GB, free: 37.59 MB / 0.9013 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002051/23.21, allocations: 168.8 kB / 7.463 GB, free: 37.57 MB / 0.9013 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06369/23.27, allocations: 26.74 MB / 7.489 GB, free: 15.32 MB / 0.9013 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004617/23.28, allocations: 2.851 MB / 7.492 GB, free: 12.45 MB / 0.9013 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002377/23.28, allocations: 1.838 MB / 7.494 GB, free: 10.61 MB / 0.9013 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01835/23.3, allocations: 8.182 MB / 7.502 GB, free: 1.871 MB / 0.9013 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.398e-05/23.3, allocations: 70.16 kB / 7.502 GB, free: 1.801 MB / 0.9013 GB Notification: Performance of pre-optimization done (n=213): time 6.382e-06/23.3, allocations: 0 / 7.502 GB, free: 1.801 MB / 0.9013 GB Notification: Performance of matching and sorting (n=213): time 0.01147/23.31, allocations: 4.215 MB / 7.506 GB, free: 13.57 MB / 0.9169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000241/23.31, allocations: 417.8 kB / 7.506 GB, free: 13.07 MB / 0.9169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01713/23.33, allocations: 6.433 MB / 7.513 GB, free: 6.66 MB / 0.9169 GB Notification: Performance of collectPreVariables (initialization): time 0.001227/23.33, allocations: 41.64 kB / 7.513 GB, free: 6.613 MB / 0.9169 GB Notification: Performance of collectInitialEqns (initialization): time 0.003269/23.33, allocations: 2.094 MB / 7.515 GB, free: 4.496 MB / 0.9169 GB Notification: Performance of collectInitialBindings (initialization): time 0.002172/23.33, allocations: 0.689 MB / 7.515 GB, free: 3.797 MB / 0.9169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003259/23.33, allocations: 8 kB / 7.515 GB, free: 3.789 MB / 0.9169 GB Notification: Performance of setup shared object (initialization): time 0.0003377/23.33, allocations: 446.1 kB / 7.516 GB, free: 3.348 MB / 0.9169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003399/23.34, allocations: 2.119 MB / 7.518 GB, free: 1.227 MB / 0.9169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.5825/23.92, allocations: 3.443 MB / 7.521 GB, free: 113.1 MB / 0.9169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006393/23.93, allocations: 2.669 MB / 7.524 GB, free: 113 MB / 0.9169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.08e-05/23.93, allocations: 10.22 kB / 7.524 GB, free: 113 MB / 0.9169 GB Notification: Performance of matching and sorting (n=426) (initialization): time 0.01312/23.94, allocations: 6.088 MB / 7.53 GB, free: 112.9 MB / 0.9169 GB Notification: Performance of prepare postOptimizeDAE: time 0.002864/23.94, allocations: 15.59 MB / 7.545 GB, free: 96.66 MB / 0.9169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.364e-05/23.94, allocations: 30.38 kB / 7.545 GB, free: 96.66 MB / 0.9169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.209e-05/23.94, allocations: 46.16 kB / 7.545 GB, free: 96.66 MB / 0.9169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003418/23.95, allocations: 0.6841 MB / 7.546 GB, free: 96.66 MB / 0.9169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.395e-05/23.95, allocations: 65.27 kB / 7.546 GB, free: 96.66 MB / 0.9169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007449/23.95, allocations: 0.5666 MB / 7.546 GB, free: 96.66 MB / 0.9169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001035/23.95, allocations: 206.8 kB / 7.547 GB, free: 96.66 MB / 0.9169 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/23.95, allocations: 3.906 kB / 7.547 GB, free: 96.66 MB / 0.9169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01058/23.96, allocations: 5.245 MB / 7.552 GB, free: 96.58 MB / 0.9169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-05/23.96, allocations: 33.47 kB / 7.552 GB, free: 96.58 MB / 0.9169 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.634e-05/23.96, allocations: 47.41 kB / 7.552 GB, free: 96.58 MB / 0.9169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002913/23.97, allocations: 0.6776 MB / 7.552 GB, free: 96.58 MB / 0.9169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.214e-05/23.97, allocations: 56.59 kB / 7.553 GB, free: 96.58 MB / 0.9169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007781/23.98, allocations: 496 kB / 7.553 GB, free: 96.58 MB / 0.9169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001142/23.98, allocations: 209.6 kB / 7.553 GB, free: 96.58 MB / 0.9169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 133 * Number of states: 0 () * Number of discrete variables: 12 (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,beaCooHea10.conCoo.mod.temDif_mod.i,beaCooHea10.conCoo.mod.watFlo_mod.i,beaCooHea10.conCoo.mod.airFlo_mod.i,beaCooHea10.conHea.mod.temDif_mod.i,beaCooHea10.conHea.mod.watFlo_mod.i,beaCooHea10.conHea.mod.airFlo_mod.i) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (366): * Single equations (assignments): 338 * Array equations: 4 * Algorithm blocks: 24 * 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.001292/23.98, allocations: 0.5708 MB / 7.554 GB, free: 96.09 MB / 0.9169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002406/23.98, allocations: 0.6815 MB / 7.554 GB, free: 95.83 MB / 0.9169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01027/23.99, allocations: 4.816 MB / 7.559 GB, free: 95.66 MB / 0.9169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.673e-05/23.99, allocations: 30.28 kB / 7.559 GB, free: 95.66 MB / 0.9169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/23.99, allocations: 3.188 kB / 7.559 GB, free: 95.66 MB / 0.9169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00562/24, allocations: 3.733 MB / 7.563 GB, free: 95.37 MB / 0.9169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02727/24.02, allocations: 10.51 MB / 7.573 GB, free: 94.75 MB / 0.9169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-05/24.02, allocations: 3.906 kB / 7.573 GB, free: 94.75 MB / 0.9169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002215/24.03, allocations: 442.3 kB / 7.573 GB, free: 94.75 MB / 0.9169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.858e-05/24.03, allocations: 14.31 kB / 7.573 GB, free: 94.75 MB / 0.9169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002838/24.03, allocations: 53.59 kB / 7.574 GB, free: 94.75 MB / 0.9169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.749e-05/24.03, allocations: 13.06 kB / 7.574 GB, free: 94.75 MB / 0.9169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.169e-05/24.03, allocations: 17.08 kB / 7.574 GB, free: 94.75 MB / 0.9169 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01205/24.04, allocations: 8.135 MB / 7.582 GB, free: 92.85 MB / 0.9169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005479/24.04, allocations: 1.414 MB / 7.583 GB, free: 92.38 MB / 0.9169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002783/24.05, allocations: 27.59 kB / 7.583 GB, free: 92.38 MB / 0.9169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006079/24.05, allocations: 303.1 kB / 7.583 GB, free: 92.38 MB / 0.9169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008759/24.05, allocations: 269.5 kB / 7.583 GB, free: 92.37 MB / 0.9169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004424/24.05, allocations: 120.4 kB / 7.584 GB, free: 92.37 MB / 0.9169 GB Notification: Performance of sort global known variables: time 0.01304/24.07, allocations: 4.83 MB / 7.588 GB, free: 92.12 MB / 0.9169 GB Notification: Performance of remove unused functions: time 0.02036/24.09, allocations: 3.747 MB / 7.592 GB, free: 91.91 MB / 0.9169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 4 (beaCooHea.conCoo.hex.vol.dynBal.U,beaCooHea.conHea.hex.vol.dynBal.U,beaCooHea10.conCoo.hex.vol.dynBal.U,beaCooHea10.conHea.hex.vol.dynBal.U) * Number of discrete variables: 12 (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,beaCooHea10.conCoo.mod.temDif_mod.i,beaCooHea10.conCoo.mod.watFlo_mod.i,beaCooHea10.conCoo.mod.airFlo_mod.i,beaCooHea10.conHea.mod.temDif_mod.i,beaCooHea10.conHea.mod.watFlo_mod.i,beaCooHea10.conHea.mod.airFlo_mod.i) * Number of discrete states: 12 (beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conHea.mod.airFlo_mod.i,beaCooHea10.conCoo.mod.airFlo_mod.i,beaCooHea10.conHea.mod.airFlo_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea10.conHea.mod.watFlo_mod.i,beaCooHea10.conCoo.mod.watFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i,beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea10.conHea.mod.temDif_mod.i,beaCooHea10.conCoo.mod.temDif_mod.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (229): * Single equations (assignments): 205 * Array equations: 0 * Algorithm blocks: 12 * Record equations: 12 * 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.01064/24.1, allocations: 7.116 MB / 7.599 GB, free: 88.9 MB / 0.9169 GB Notification: Performance of simCode: created initialization part: time 0.0144/24.11, allocations: 8.783 MB / 7.607 GB, free: 87.31 MB / 0.9169 GB Notification: Performance of simCode: created event and clocks part: time 1.69e-05/24.11, allocations: 0 / 7.607 GB, free: 87.31 MB / 0.9169 GB Notification: Performance of simCode: created simulation system equations: time 0.005002/24.12, allocations: 3.319 MB / 7.611 GB, free: 86.93 MB / 0.9169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01901/24.14, allocations: 3.114 MB / 7.614 GB, free: 86.89 MB / 0.9169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03154/24.17, allocations: 11.12 MB / 7.625 GB, free: 84.44 MB / 0.9169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01004/24.18, allocations: 4.689 MB / 7.629 GB, free: 83.58 MB / 0.9169 GB Notification: Performance of SimCode: time 1.833e-06/24.18, allocations: 2.25 kB / 7.629 GB, free: 83.58 MB / 0.9169 GB Notification: Performance of Templates: time 0.3106/24.49, allocations: 173 MB / 7.798 GB, free: 71.22 MB / 0.9169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.pipe 2>&1)