Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.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.NumberOfBeams,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams") [: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.179/2.179, allocations: 253.1 MB / 260.4 MB, free: 7.535 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.00236/0.00236, allocations: 181.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.831/1.831, allocations: 205.4 MB / 0.5704 GB, free: 15.05 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.001588/0.001587, allocations: 89.84 kB / 0.6746 GB, free: 4.406 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.432e-05/1.458e-05, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2152/0.2152, allocations: 106.3 MB / 0.888 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.379/6.594, allocations: 2.492 GB / 3.38 GB, free: 210.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003264/6.594, allocations: 103.1 kB / 3.38 GB, free: 210.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 17.62/24.21, allocations: 3.605 GB / 6.985 GB, free: 54.1 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.0019/24.21, allocations: 185 kB / 6.985 GB, free: 54.08 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1018 * Number of variables: 1018 Notification: Performance of Generate backend data structure: time 0.02675/24.24, allocations: 7.66 MB / 6.993 GB, free: 50.02 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/24.24, allocations: 7.094 kB / 6.993 GB, free: 50.02 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0172/24.26, allocations: 1.981 MB / 6.995 GB, free: 49.54 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04087/24.3, allocations: 9.341 MB / 7.004 GB, free: 48.32 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002957/24.3, allocations: 473.3 kB / 7.004 GB, free: 48.3 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002343/24.3, allocations: 270.2 kB / 7.005 GB, free: 48.3 MB / 1.042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0154/24.32, allocations: 3.889 MB / 7.008 GB, free: 48.29 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02017/24.34, allocations: 4.656 MB / 7.013 GB, free: 47.77 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002318/24.34, allocations: 3 kB / 7.013 GB, free: 47.77 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001793/24.34, allocations: 11.66 kB / 7.013 GB, free: 47.77 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001144/24.34, allocations: 95.5 kB / 7.013 GB, free: 47.77 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07344/24.41, allocations: 25.63 MB / 7.038 GB, free: 37.3 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007115/24.42, allocations: 2.637 MB / 7.041 GB, free: 37.27 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004463/24.43, allocations: 1.774 MB / 7.042 GB, free: 37.25 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02454/24.45, allocations: 7.817 MB / 7.05 GB, free: 33.89 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.651e-05/24.45, allocations: 57.22 kB / 7.05 GB, free: 33.86 MB / 1.042 GB Notification: Performance of pre-optimization done (n=190): time 5.26e-06/24.45, allocations: 0.9375 kB / 7.05 GB, free: 33.86 MB / 1.042 GB Notification: Performance of matching and sorting (n=190): time 0.02553/24.48, allocations: 4.906 MB / 7.055 GB, free: 33.38 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002853/24.48, allocations: 418.9 kB / 7.055 GB, free: 32.94 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02464/24.5, allocations: 6.269 MB / 7.061 GB, free: 32.49 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.00116/24.5, allocations: 40.17 kB / 7.061 GB, free: 32.46 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.003633/24.51, allocations: 1.951 MB / 7.063 GB, free: 31.57 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.001943/24.51, allocations: 0.61 MB / 7.064 GB, free: 31.16 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005873/24.51, allocations: 6.625 kB / 7.064 GB, free: 31.16 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0003239/24.51, allocations: 426 kB / 7.064 GB, free: 30.85 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00536/24.52, allocations: 2.07 MB / 7.066 GB, free: 30.84 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007045/24.52, allocations: 3.261 MB / 7.069 GB, free: 29.49 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01045/24.53, allocations: 2.564 MB / 7.072 GB, free: 29.46 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.303e-05/24.53, allocations: 6.594 kB / 7.072 GB, free: 29.46 MB / 1.042 GB Notification: Performance of matching and sorting (n=375) (initialization): time 0.02507/24.56, allocations: 6.155 MB / 7.078 GB, free: 29 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.00294/24.56, allocations: 13.33 MB / 7.091 GB, free: 15 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000136/24.56, allocations: 29.94 kB / 7.091 GB, free: 15 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0018/24.56, allocations: 476.3 kB / 7.091 GB, free: 14.97 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005315/24.57, allocations: 0.6088 MB / 7.092 GB, free: 14.97 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003363/24.57, allocations: 2.674 MB / 7.095 GB, free: 12.89 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01048/24.58, allocations: 0.6189 MB / 7.095 GB, free: 12.72 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001383/24.58, allocations: 194.9 kB / 7.095 GB, free: 12.72 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/24.58, allocations: 9 kB / 7.095 GB, free: 12.72 MB / 1.042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02044/24.6, allocations: 5.327 MB / 7.101 GB, free: 12.65 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001262/24.6, allocations: 23.84 kB / 7.101 GB, free: 12.65 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001551/24.61, allocations: 476.2 kB / 7.101 GB, free: 12.62 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005168/24.61, allocations: 0.6081 MB / 7.102 GB, free: 12.61 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003275/24.61, allocations: 2.671 MB / 7.104 GB, free: 10.54 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01022/24.62, allocations: 0.548 MB / 7.105 GB, free: 10.43 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001333/24.63, allocations: 183.1 kB / 7.105 GB, free: 10.43 MB / 1.042 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: beaCooHea10.conHea.hex.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true final = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: beaCooHea10.conCoo.hex.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true final = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: beaCooHea.conHea.hex.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true final = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: beaCooHea.conCoo.hex.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true final = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 114 * 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 (299): * Single equations (assignments): 267 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.002104/24.63, allocations: 0.5767 MB / 7.106 GB, free: 9.926 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002584/24.63, allocations: 0.6561 MB / 7.106 GB, free: 9.566 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02672/24.66, allocations: 5.509 MB / 7.112 GB, free: 9.359 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.644e-05/24.66, allocations: 29.14 kB / 7.112 GB, free: 9.359 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.721e-05/24.66, allocations: 0 / 7.112 GB, free: 9.359 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-05/24.66, allocations: 12.28 kB / 7.112 GB, free: 9.359 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04351/24.7, allocations: 10.64 MB / 7.122 GB, free: 24.68 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.189e-05/24.7, allocations: 8.062 kB / 7.122 GB, free: 24.68 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003996/24.71, allocations: 418.5 kB / 7.122 GB, free: 24.68 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001604/24.71, allocations: 440.7 kB / 7.123 GB, free: 24.64 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007654/24.71, allocations: 52.34 kB / 7.123 GB, free: 24.64 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003589/24.71, allocations: 2.635 MB / 7.126 GB, free: 22.57 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.161e-05/24.71, allocations: 8.25 kB / 7.126 GB, free: 22.56 MB / 1.057 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02181/24.73, allocations: 5.956 MB / 7.131 GB, free: 20.84 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006611/24.74, allocations: 1.387 MB / 7.133 GB, free: 20.36 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003407/24.74, allocations: 30.62 kB / 7.133 GB, free: 20.36 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009429/24.75, allocations: 422.2 kB / 7.133 GB, free: 20.34 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001241/24.75, allocations: 263.7 kB / 7.133 GB, free: 20.34 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000806/24.76, allocations: 109.8 kB / 7.134 GB, free: 20.34 MB / 1.057 GB Notification: Performance of sort global known variables: time 0.01643/24.77, allocations: 4.712 MB / 7.138 GB, free: 20.09 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.02319/24.79, allocations: 3.389 MB / 7.141 GB, free: 19.61 MB / 1.057 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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: 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 (190): * Single equations (assignments): 162 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.01479/24.81, allocations: 6.995 MB / 7.148 GB, free: 16.33 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.02144/24.83, allocations: 8.6 MB / 7.157 GB, free: 14.59 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 1.388e-05/24.83, allocations: 1.562 kB / 7.157 GB, free: 14.59 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.00879/24.84, allocations: 3.186 MB / 7.16 GB, free: 14.16 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02483/24.86, allocations: 2.886 MB / 7.163 GB, free: 14.04 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04918/24.91, allocations: 10.61 MB / 7.173 GB, free: 11.45 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01644/24.93, allocations: 4.471 MB / 7.177 GB, free: 10.13 MB / 1.057 GB Notification: Performance of SimCode: time 2.154e-06/24.93, allocations: 0 / 7.177 GB, free: 10.13 MB / 1.057 GB Notification: Performance of Templates: time 1.212/26.14, allocations: 169 MB / 7.342 GB, free: 140.1 MB / 1.073 GB