Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.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.BaseClasses.Examples.Convector,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector") [: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.062/2.062, allocations: 253.1 MB / 260.4 MB, free: 7.469 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.312 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.847/1.847, allocations: 205.4 MB / 0.5704 GB, free: 15.12 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.001238/0.001237, allocations: 94.16 kB / 0.6746 GB, free: 4.48 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.065e-05/1.096e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2191/0.2191, allocations: 106.2 MB / 0.8881 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.487/1.706, allocations: 405.2 MB / 1.284 GB, free: 252.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003721/1.707, allocations: 114.4 kB / 1.284 GB, free: 252.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.637/3.344, allocations: 351.4 MB / 1.627 GB, free: 200.6 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001397/3.344, allocations: 24.53 kB / 1.627 GB, free: 200.6 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.003366/3.347, allocations: 1.442 MB / 1.628 GB, free: 199.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.505e-05/3.347, allocations: 7.75 kB / 1.628 GB, free: 199.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006545/3.348, allocations: 129.1 kB / 1.629 GB, free: 199.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003959/3.352, allocations: 1.185 MB / 1.63 GB, free: 199.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.697e-05/3.352, allocations: 19.66 kB / 1.63 GB, free: 199.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001522/3.352, allocations: 45.88 kB / 1.63 GB, free: 199.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001633/3.354, allocations: 0.54 MB / 1.63 GB, free: 199.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001727/3.356, allocations: 0.6871 MB / 1.631 GB, free: 199.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.467e-05/3.356, allocations: 6.859 kB / 1.631 GB, free: 199.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.662e-05/3.356, allocations: 3.812 kB / 1.631 GB, free: 199.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.305e-05/3.356, allocations: 14.84 kB / 1.631 GB, free: 199.5 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007372/3.363, allocations: 3.281 MB / 1.634 GB, free: 198.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/3.364, allocations: 418 kB / 1.635 GB, free: 198.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005856/3.365, allocations: 286 kB / 1.635 GB, free: 198.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009898/3.366, allocations: 0.7675 MB / 1.636 GB, free: 197.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.276e-05/3.366, allocations: 37.78 kB / 1.636 GB, free: 197.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=37): time 4.097e-06/3.366, allocations: 2.969 kB / 1.636 GB, free: 197.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=37): time 0.002233/3.368, allocations: 0.6503 MB / 1.636 GB, free: 197.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.05e-05/3.368, allocations: 139.9 kB / 1.636 GB, free: 197.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001757/3.37, allocations: 0.8085 MB / 1.637 GB, free: 196.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001294/3.37, allocations: 28.98 kB / 1.637 GB, free: 196.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002554/3.371, allocations: 332.3 kB / 1.638 GB, free: 196.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001666/3.371, allocations: 120.8 kB / 1.638 GB, free: 196.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.436e-05/3.371, allocations: 10.58 kB / 1.638 GB, free: 196.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.92e-05/3.371, allocations: 324.7 kB / 1.638 GB, free: 196.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006898/3.372, allocations: 316.1 kB / 1.638 GB, free: 196.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007499/3.372, allocations: 428.7 kB / 1.639 GB, free: 196.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001407/3.374, allocations: 397.4 kB / 1.639 GB, free: 196.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/3.374, allocations: 0 / 1.639 GB, free: 196.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002548/3.376, allocations: 0.8828 MB / 1.64 GB, free: 196.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001992/3.377, allocations: 0.6976 MB / 1.641 GB, free: 195.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/3.377, allocations: 6.672 kB / 1.641 GB, free: 195.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.95e-05/3.377, allocations: 3.906 kB / 1.641 GB, free: 195.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007607/3.377, allocations: 94.83 kB / 1.641 GB, free: 195.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/3.377, allocations: 7.344 kB / 1.641 GB, free: 195.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00126/3.379, allocations: 85.64 kB / 1.641 GB, free: 195.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/3.379, allocations: 23.25 kB / 1.641 GB, free: 195.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.909e-06/3.379, allocations: 3.469 kB / 1.641 GB, free: 195.5 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002241/3.381, allocations: 0.7546 MB / 1.642 GB, free: 195.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/3.381, allocations: 3.812 kB / 1.642 GB, free: 195.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/3.381, allocations: 7.469 kB / 1.642 GB, free: 195.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006909/3.382, allocations: 88.62 kB / 1.642 GB, free: 195.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/3.382, allocations: 6.844 kB / 1.642 GB, free: 195.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001238/3.383, allocations: 70.34 kB / 1.642 GB, free: 195.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/3.383, allocations: 32.38 kB / 1.642 GB, free: 195.4 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 (con.mod.temDif_mod.i,con.mod.watFlo_mod.i,con.mod.airFlo_mod.i) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 6 * 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.0003062/3.384, allocations: 205.3 kB / 1.642 GB, free: 195.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002545/3.384, allocations: 88 kB / 1.642 GB, free: 195.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002814/3.387, allocations: 0.8095 MB / 1.643 GB, free: 195.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.852e-05/3.387, allocations: 7.109 kB / 1.643 GB, free: 195.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.807e-06/3.387, allocations: 3.688 kB / 1.643 GB, free: 195.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001866/3.389, allocations: 0.8815 MB / 1.644 GB, free: 194.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005739/3.394, allocations: 1.897 MB / 1.646 GB, free: 194.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-05/3.394, allocations: 2.25 kB / 1.646 GB, free: 194.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006384/3.395, allocations: 72.16 kB / 1.646 GB, free: 194.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.337e-05/3.395, allocations: 3.656 kB / 1.646 GB, free: 194.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.325e-05/3.395, allocations: 10.97 kB / 1.646 GB, free: 194.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.777e-06/3.395, allocations: 7.094 kB / 1.646 GB, free: 194.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/3.395, allocations: 3.031 kB / 1.646 GB, free: 194.3 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003269/3.399, allocations: 1.373 MB / 1.647 GB, free: 193.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008712/3.399, allocations: 281.1 kB / 1.647 GB, free: 193.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002075/3.4, allocations: 3.812 kB / 1.647 GB, free: 193.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009129/3.401, allocations: 38.8 kB / 1.647 GB, free: 193.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001858/3.401, allocations: 52.16 kB / 1.647 GB, free: 193.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.287e-05/3.401, allocations: 17.81 kB / 1.647 GB, free: 193.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001364/3.402, allocations: 0.6228 MB / 1.648 GB, free: 193.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00258/3.405, allocations: 0.5751 MB / 1.649 GB, free: 193.6 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (con.hex.vol.dynBal.U,senTem.T) * Number of discrete variables: 3 (con.mod.temDif_mod.i,con.mod.watFlo_mod.i,con.mod.airFlo_mod.i) * Number of discrete states: 3 (con.mod.watFlo_mod.i,con.mod.temDif_mod.i,con.mod.airFlo_mod.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 3 * 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.001942/3.407, allocations: 0.7304 MB / 1.649 GB, free: 193.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002652/3.41, allocations: 1.402 MB / 1.651 GB, free: 193.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/3.41, allocations: 0 / 1.651 GB, free: 193.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009182/3.411, allocations: 461.5 kB / 1.651 GB, free: 193 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003337/3.414, allocations: 385.5 kB / 1.651 GB, free: 193 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004409/3.418, allocations: 1.494 MB / 1.653 GB, free: 192.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001131/3.42, allocations: 1.173 MB / 1.654 GB, free: 191.9 MB / 0.8698 GB Notification: Performance of SimCode: time 1.313e-06/3.42, allocations: 0 / 1.654 GB, free: 191.9 MB / 0.8698 GB Notification: Performance of Templates: time 0.0598/3.479, allocations: 22.98 MB / 1.677 GB, free: 191.5 MB / 0.8698 GB