Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.106/2.106, allocations: 253.1 MB / 260.4 MB, free: 7.488 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001672/0.001672, allocations: 189.2 kB / 319.6 MB, free: 3.316 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.888/1.888, allocations: 205.4 MB / 0.5704 GB, free: 15.14 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001253/0.001253, allocations: 91.39 kB / 0.6746 GB, free: 4.508 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.558e-06/9.729e-06, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2063/0.2064, allocations: 106.3 MB / 0.8881 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.483/6.689, allocations: 2.492 GB / 3.381 GB, free: 210 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003072/6.69, allocations: 99.44 kB / 3.381 GB, free: 210 MB / 0.8698 GB Notification: Performance of FrontEnd: time 20.83/27.52, allocations: 4.37 GB / 7.75 GB, free: 7.09 MB / 1.104 GB Notification: Performance of Transformations before backend: time 0.001965/27.53, allocations: 199.8 kB / 7.751 GB, free: 6.895 MB / 1.104 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.8354/28.36, allocations: 8.05 MB / 7.758 GB, free: 70.73 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/28.36, allocations: 10.12 kB / 7.758 GB, free: 70.73 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01279/28.37, allocations: 1.567 MB / 7.76 GB, free: 70.27 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04275/28.42, allocations: 9.9 MB / 7.77 GB, free: 69.42 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004271/28.42, allocations: 152.5 kB / 7.77 GB, free: 69.42 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002322/28.42, allocations: 288.6 kB / 7.77 GB, free: 69.42 MB / 1.104 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01662/28.44, allocations: 4.143 MB / 7.774 GB, free: 69.4 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02123/28.46, allocations: 4.951 MB / 7.779 GB, free: 68.84 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002105/28.46, allocations: 7.156 kB / 7.779 GB, free: 68.84 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001713/28.46, allocations: 18.97 kB / 7.779 GB, free: 68.84 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002056/28.46, allocations: 169 kB / 7.779 GB, free: 68.83 MB / 1.104 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06737/28.53, allocations: 26.67 MB / 7.805 GB, free: 58.21 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007438/28.53, allocations: 2.852 MB / 7.808 GB, free: 58.07 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00442/28.54, allocations: 1.85 MB / 7.81 GB, free: 58.06 MB / 1.104 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02324/28.56, allocations: 8.137 MB / 7.818 GB, free: 54.7 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.015e-05/28.56, allocations: 56.69 kB / 7.818 GB, free: 54.66 MB / 1.104 GB Notification: Performance of pre-optimization done (n=213): time 7.304e-06/28.56, allocations: 0 / 7.818 GB, free: 54.66 MB / 1.104 GB Notification: Performance of matching and sorting (n=213): time 0.01602/28.58, allocations: 4.22 MB / 7.822 GB, free: 54.21 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002394/28.58, allocations: 414.6 kB / 7.822 GB, free: 53.78 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02212/28.6, allocations: 6.434 MB / 7.829 GB, free: 53.35 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 0.001173/28.6, allocations: 39.17 kB / 7.829 GB, free: 53.32 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.00459/28.61, allocations: 2.108 MB / 7.831 GB, free: 52.6 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.002229/28.61, allocations: 0.6939 MB / 7.831 GB, free: 52.21 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004574/28.61, allocations: 9.531 kB / 7.831 GB, free: 52.21 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 0.0003213/28.61, allocations: 433.9 kB / 7.832 GB, free: 51.9 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005252/28.62, allocations: 2.126 MB / 7.834 GB, free: 51.89 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00725/28.62, allocations: 3.442 MB / 7.837 GB, free: 50.39 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01061/28.63, allocations: 2.674 MB / 7.84 GB, free: 50.34 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.996e-05/28.63, allocations: 7.656 kB / 7.84 GB, free: 50.34 MB / 1.104 GB Notification: Performance of matching and sorting (n=426) (initialization): time 0.02202/28.66, allocations: 6.083 MB / 7.846 GB, free: 49.87 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 0.003392/28.66, allocations: 15.59 MB / 7.861 GB, free: 33.54 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001542/28.66, allocations: 30.47 kB / 7.861 GB, free: 33.54 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001158/28.66, allocations: 52.34 kB / 7.861 GB, free: 33.54 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00614/28.67, allocations: 0.6819 MB / 7.862 GB, free: 33.54 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.919e-05/28.67, allocations: 68.95 kB / 7.862 GB, free: 33.53 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01064/28.68, allocations: 0.5612 MB / 7.862 GB, free: 33.35 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001385/28.68, allocations: 206.9 kB / 7.863 GB, free: 33.35 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/28.68, allocations: 6.031 kB / 7.863 GB, free: 33.35 MB / 1.104 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01845/28.7, allocations: 5.243 MB / 7.868 GB, free: 33.27 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001263/28.7, allocations: 29.69 kB / 7.868 GB, free: 33.27 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.912e-05/28.7, allocations: 50.44 kB / 7.868 GB, free: 33.27 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005911/28.7, allocations: 0.6782 MB / 7.868 GB, free: 33.27 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.138e-05/28.7, allocations: 70.47 kB / 7.868 GB, free: 33.27 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0101/28.71, allocations: 495.9 kB / 7.869 GB, free: 33.14 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001372/28.71, allocations: 202.6 kB / 7.869 GB, free: 33.14 MB / 1.104 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.001668/28.72, allocations: 0.5694 MB / 7.87 GB, free: 32.63 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002565/28.72, allocations: 0.6807 MB / 7.87 GB, free: 32.27 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01824/28.74, allocations: 4.817 MB / 7.875 GB, free: 32.09 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.198e-05/28.74, allocations: 22.16 kB / 7.875 GB, free: 32.09 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.245e-05/28.74, allocations: 0 / 7.875 GB, free: 32.09 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01157/28.75, allocations: 3.741 MB / 7.879 GB, free: 31.8 MB / 1.104 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03719/28.79, allocations: 10.46 MB / 7.889 GB, free: 31.16 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.502e-05/28.79, allocations: 6.094 kB / 7.889 GB, free: 31.16 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004547/28.79, allocations: 438.9 kB / 7.889 GB, free: 31.16 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-05/28.79, allocations: 11.41 kB / 7.889 GB, free: 31.16 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006756/28.79, allocations: 64.64 kB / 7.889 GB, free: 31.16 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.948e-05/28.79, allocations: 12.06 kB / 7.889 GB, free: 31.16 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.297e-06/28.79, allocations: 12.33 kB / 7.889 GB, free: 31.16 MB / 1.104 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02052/28.81, allocations: 8.13 MB / 7.897 GB, free: 29.26 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006522/28.82, allocations: 1.41 MB / 7.899 GB, free: 28.77 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003145/28.82, allocations: 28.75 kB / 7.899 GB, free: 28.77 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008571/28.83, allocations: 306.3 kB / 7.899 GB, free: 28.75 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001258/28.83, allocations: 268.8 kB / 7.899 GB, free: 28.75 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005257/28.83, allocations: 114.3 kB / 7.899 GB, free: 28.75 MB / 1.104 GB Notification: Performance of sort global known variables: time 0.01674/28.85, allocations: 4.828 MB / 7.904 GB, free: 28.5 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.02341/28.87, allocations: 3.71 MB / 7.908 GB, free: 28.05 MB / 1.104 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.01438/28.89, allocations: 7.08 MB / 7.915 GB, free: 24.96 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.02082/28.91, allocations: 8.781 MB / 7.923 GB, free: 23.38 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 1.569e-05/28.91, allocations: 0 / 7.923 GB, free: 23.38 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.008052/28.92, allocations: 3.322 MB / 7.927 GB, free: 23 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02662/28.94, allocations: 3.117 MB / 7.93 GB, free: 22.95 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04322/28.99, allocations: 11.12 MB / 7.94 GB, free: 20.48 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0148/29, allocations: 4.689 MB / 7.945 GB, free: 19.62 MB / 1.104 GB Notification: Performance of SimCode: time 1.583e-06/29, allocations: 0 / 7.945 GB, free: 19.62 MB / 1.104 GB Notification: Performance of Templates: time 0.4762/29.48, allocations: 172.3 MB / 8.113 GB, free: 11.54 MB / 1.12 GB