Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.557/1.557, allocations: 289.8 MB / 297.1 MB, free: 6.656 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001335/0.001334, allocations: 177.3 kB / 366.3 MB, free: 1.973 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.763/1.763, allocations: 205.2 MB / 0.6256 GB, free: 5.793 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001012/0.001012, allocations: 86.45 kB / 0.7395 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.073e-05/1.076e-05, allocations: 4 kB / 0.859 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7935/0.7935, allocations: 116.3 MB / 0.9726 GB, free: 68.05 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.885/5.678, allocations: 2.376 GB / 3.348 GB, free: 74.81 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003618/5.679, allocations: 105.3 kB / 3.348 GB, free: 74.71 MB / 0.948 GB Notification: Performance of FrontEnd: time 16.42/22.1, allocations: 4.488 GB / 7.836 GB, free: 73.47 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.001608/22.1, allocations: 199.4 kB / 7.836 GB, free: 73.44 MB / 1.151 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.03123/22.13, allocations: 8.056 MB / 7.844 GB, free: 69.64 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/22.13, allocations: 12.5 kB / 7.844 GB, free: 69.64 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01042/22.14, allocations: 1.563 MB / 7.846 GB, free: 69.14 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03205/22.17, allocations: 9.923 MB / 7.855 GB, free: 67.88 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003765/22.17, allocations: 150.7 kB / 7.856 GB, free: 67.88 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00228/22.18, allocations: 290.6 kB / 7.856 GB, free: 67.88 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01135/22.19, allocations: 4.14 MB / 7.86 GB, free: 67.86 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01357/22.2, allocations: 4.969 MB / 7.865 GB, free: 67.31 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001072/22.2, allocations: 7.906 kB / 7.865 GB, free: 67.31 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005044/22.2, allocations: 11.19 kB / 7.865 GB, free: 67.31 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001645/22.2, allocations: 169.4 kB / 7.865 GB, free: 67.3 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05253/22.26, allocations: 26.73 MB / 7.891 GB, free: 56.48 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00492/22.26, allocations: 2.85 MB / 7.894 GB, free: 56.35 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002645/22.26, allocations: 1.845 MB / 7.896 GB, free: 56.34 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01745/22.28, allocations: 8.176 MB / 7.904 GB, free: 52.89 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.464e-05/22.28, allocations: 61.61 kB / 7.904 GB, free: 52.86 MB / 1.151 GB Notification: Performance of pre-optimization done (n=213): time 5.981e-06/22.28, allocations: 5.172 kB / 7.904 GB, free: 52.86 MB / 1.151 GB Notification: Performance of matching and sorting (n=213): time 0.01153/22.29, allocations: 4.219 MB / 7.908 GB, free: 52.41 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001571/22.29, allocations: 418.9 kB / 7.908 GB, free: 51.97 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02179/22.31, allocations: 6.434 MB / 7.914 GB, free: 51.51 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.001149/22.32, allocations: 40.52 kB / 7.915 GB, free: 51.48 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.003217/22.32, allocations: 2.098 MB / 7.917 GB, free: 50.49 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.001955/22.32, allocations: 0.6939 MB / 7.917 GB, free: 50.04 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002854/22.32, allocations: 6.25 kB / 7.917 GB, free: 50.04 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0002664/22.32, allocations: 438.6 kB / 7.918 GB, free: 49.72 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00307/22.32, allocations: 2.129 MB / 7.92 GB, free: 49.71 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003891/22.33, allocations: 3.442 MB / 7.923 GB, free: 48.21 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006203/22.33, allocations: 2.671 MB / 7.926 GB, free: 48.16 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.74e-05/22.33, allocations: 7.656 kB / 7.926 GB, free: 48.16 MB / 1.151 GB Notification: Performance of matching and sorting (n=426) (initialization): time 0.01408/22.35, allocations: 6.083 MB / 7.932 GB, free: 47.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.003481/22.35, allocations: 15.59 MB / 7.947 GB, free: 31.35 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000103/22.35, allocations: 30.84 kB / 7.947 GB, free: 31.35 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001102/22.35, allocations: 46.06 kB / 7.947 GB, free: 31.35 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003831/22.36, allocations: 0.6839 MB / 7.948 GB, free: 31.35 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.803e-05/22.36, allocations: 64.83 kB / 7.948 GB, free: 31.35 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008168/22.36, allocations: 0.5636 MB / 7.948 GB, free: 31.16 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001173/22.37, allocations: 212.5 kB / 7.948 GB, free: 31.16 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/22.37, allocations: 4.812 kB / 7.948 GB, free: 31.16 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01054/22.38, allocations: 5.239 MB / 7.954 GB, free: 31.09 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.689e-05/22.38, allocations: 28.88 kB / 7.954 GB, free: 31.09 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.956e-05/22.38, allocations: 47.25 kB / 7.954 GB, free: 31.09 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002893/22.38, allocations: 0.6775 MB / 7.954 GB, free: 31.09 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.752e-05/22.38, allocations: 64.81 kB / 7.954 GB, free: 31.09 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007502/22.39, allocations: 0.493 MB / 7.955 GB, free: 30.96 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001053/22.39, allocations: 207.3 kB / 7.955 GB, free: 30.96 MB / 1.151 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.001489/22.39, allocations: 0.5616 MB / 7.956 GB, free: 30.46 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002951/22.39, allocations: 0.6778 MB / 7.956 GB, free: 30.09 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01098/22.4, allocations: 4.808 MB / 7.961 GB, free: 29.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.372e-05/22.4, allocations: 28.47 kB / 7.961 GB, free: 29.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/22.4, allocations: 0 / 7.961 GB, free: 29.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005695/22.41, allocations: 3.737 MB / 7.965 GB, free: 29.61 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02827/22.44, allocations: 10.49 MB / 7.975 GB, free: 28.96 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.701e-05/22.44, allocations: 7.125 kB / 7.975 GB, free: 28.96 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002179/22.44, allocations: 441.3 kB / 7.975 GB, free: 28.96 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.517e-05/22.44, allocations: 11.88 kB / 7.975 GB, free: 28.96 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002058/22.44, allocations: 56.59 kB / 7.975 GB, free: 28.96 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-05/22.44, allocations: 17.12 kB / 7.975 GB, free: 28.96 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.518e-06/22.44, allocations: 10.84 kB / 7.975 GB, free: 28.96 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01225/22.45, allocations: 8.135 MB / 7.983 GB, free: 27.07 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005973/22.46, allocations: 1.418 MB / 7.985 GB, free: 26.57 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002966/22.46, allocations: 29.91 kB / 7.985 GB, free: 26.57 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006016/22.47, allocations: 301.9 kB / 7.985 GB, free: 26.56 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005982/22.47, allocations: 269.6 kB / 7.985 GB, free: 26.55 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003943/22.47, allocations: 119.7 kB / 7.985 GB, free: 26.55 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.01184/22.48, allocations: 4.835 MB / 7.99 GB, free: 26.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.02485/22.51, allocations: 3.74 MB / 7.994 GB, free: 25.75 MB / 1.151 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.01157/22.52, allocations: 7.109 MB / 8.001 GB, free: 22.51 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.01322/22.53, allocations: 8.783 MB / 8.009 GB, free: 20.93 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.736e-05/22.53, allocations: 0.7812 kB / 8.009 GB, free: 20.93 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.004293/22.53, allocations: 3.32 MB / 8.013 GB, free: 20.55 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01828/22.55, allocations: 3.12 MB / 8.016 GB, free: 20.47 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03217/22.58, allocations: 11.12 MB / 8.026 GB, free: 18 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009491/22.59, allocations: 4.69 MB / 8.031 GB, free: 17.14 MB / 1.151 GB Notification: Performance of SimCode: time 1.402e-06/22.59, allocations: 1.75 kB / 8.031 GB, free: 17.14 MB / 1.151 GB Notification: Performance of Templates: time 1.003/23.6, allocations: 173 MB / 8.2 GB, free: 183 MB / 1.182 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.pipe 2>&1)