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.ModificationFactor.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.ModificationFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor") [: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.078/2.078, allocations: 253.1 MB / 260.4 MB, free: 7.594 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.001617/0.001616, allocations: 181.3 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.821/1.821, allocations: 205.4 MB / 0.5704 GB, free: 15.04 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.001376/0.001376, allocations: 102.4 kB / 0.6746 GB, free: 4.406 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.209e-05/1.22e-05, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2216/0.2217, allocations: 106.2 MB / 0.8881 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7598/0.9815, allocations: 136.1 MB / 1.021 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003289/0.9819, allocations: 90.5 kB / 1.021 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.03255/1.014, allocations: 6.582 MB / 1.027 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.22e-05/1.015, allocations: 7.938 kB / 1.027 GB, free: 12.65 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001498/1.016, allocations: 0.7384 MB / 1.028 GB, free: 11.85 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/1.016, allocations: 8.031 kB / 1.028 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001181/1.016, allocations: 38.91 kB / 1.028 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006261/1.017, allocations: 305.1 kB / 1.029 GB, free: 11.51 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.293e-05/1.017, allocations: 8 kB / 1.029 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.72e-05/1.017, allocations: 12 kB / 1.029 GB, free: 11.49 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005571/1.018, allocations: 198.7 kB / 1.029 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000596/1.018, allocations: 235 kB / 1.029 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/1.018, allocations: 0 / 1.029 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.726e-05/1.018, allocations: 3.984 kB / 1.029 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/1.018, allocations: 8 kB / 1.029 GB, free: 11.17 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002036/1.02, allocations: 0.7062 MB / 1.03 GB, free: 10.56 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005994/1.021, allocations: 198 kB / 1.03 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003677/1.021, allocations: 153.1 kB / 1.03 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/1.021, allocations: 4 kB / 1.03 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.408e-05/1.021, allocations: 37.75 kB / 1.03 GB, free: 10.26 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=14): time 2.395e-06/1.021, allocations: 0 / 1.03 GB, free: 10.26 MB / 0.6511 GB Notification: Performance of matching and sorting (n=14): time 0.0009752/1.022, allocations: 347.5 kB / 1.03 GB, free: 9.992 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/1.023, allocations: 136.5 kB / 1.031 GB, free: 9.832 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005694/1.023, allocations: 308.3 kB / 1.031 GB, free: 9.586 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.293e-05/1.023, allocations: 25.7 kB / 1.031 GB, free: 9.555 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002038/1.023, allocations: 136.5 kB / 1.031 GB, free: 9.43 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.956e-05/1.023, allocations: 42.64 kB / 1.031 GB, free: 9.395 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.803e-05/1.024, allocations: 8 kB / 1.031 GB, free: 9.387 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001703/1.024, allocations: 332.8 kB / 1.031 GB, free: 9.062 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004674/1.024, allocations: 204.5 kB / 1.032 GB, free: 8.926 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004512/1.025, allocations: 200.1 kB / 1.032 GB, free: 8.789 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005985/1.025, allocations: 198 kB / 1.032 GB, free: 8.656 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/1.025, allocations: 3.906 kB / 1.032 GB, free: 8.652 MB / 0.6511 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001223/1.026, allocations: 485 kB / 1.032 GB, free: 8.289 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/1.027, allocations: 4 kB / 1.032 GB, free: 8.285 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/1.027, allocations: 112 / 1.032 GB, free: 8.285 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/1.027, allocations: 11.94 kB / 1.032 GB, free: 8.273 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003879/1.027, allocations: 35.97 kB / 1.032 GB, free: 8.238 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.269e-05/1.027, allocations: 4.547 kB / 1.032 GB, free: 8.234 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004785/1.027, allocations: 55.72 kB / 1.032 GB, free: 8.18 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.451e-05/1.028, allocations: 11.62 kB / 1.032 GB, free: 8.172 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (mod.temDif_mod.i,mod.watFlo_mod.i,mod.airFlo_mod.i) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 8 * 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.0002179/1.028, allocations: 197.8 kB / 1.033 GB, free: 7.957 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.923e-05/1.028, allocations: 27.62 kB / 1.033 GB, free: 7.93 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001115/1.028, allocations: 36 kB / 1.033 GB, free: 7.902 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/1.028, allocations: 0 / 1.033 GB, free: 7.902 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/1.028, allocations: 3.938 kB / 1.033 GB, free: 7.898 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/1.028, allocations: 0 / 1.033 GB, free: 7.898 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004988/1.029, allocations: 315.7 kB / 1.033 GB, free: 7.609 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/1.029, allocations: 0 / 1.033 GB, free: 7.609 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003592/1.029, allocations: 43.97 kB / 1.033 GB, free: 7.566 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/1.029, allocations: 0 / 1.033 GB, free: 7.566 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.201e-05/1.029, allocations: 4 kB / 1.033 GB, free: 7.562 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/1.029, allocations: 7.984 kB / 1.033 GB, free: 7.555 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/1.029, allocations: 0 / 1.033 GB, free: 7.555 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009856/1.03, allocations: 468.8 kB / 1.034 GB, free: 7.176 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001177/1.03, allocations: 112.5 kB / 1.034 GB, free: 7.051 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.832e-05/1.03, allocations: 4 kB / 1.034 GB, free: 7.047 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004733/1.031, allocations: 47.91 kB / 1.034 GB, free: 7 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001478/1.031, allocations: 22.53 kB / 1.034 GB, free: 6.984 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.344e-05/1.031, allocations: 7.812 kB / 1.034 GB, free: 6.98 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0004287/1.031, allocations: 239.4 kB / 1.034 GB, free: 6.797 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007063/1.032, allocations: 119.6 kB / 1.034 GB, free: 6.688 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (mod.temDif_mod.i,mod.watFlo_mod.i,mod.airFlo_mod.i) * Number of discrete states: 3 (mod.airFlo_mod.i,mod.watFlo_mod.i,mod.temDif_mod.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 3 * 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 Backend phase and start with SimCode phase: time 0.0006796/1.033, allocations: 277.6 kB / 1.034 GB, free: 6.418 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001065/1.034, allocations: 0.5359 MB / 1.035 GB, free: 5.961 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/1.034, allocations: 0 / 1.035 GB, free: 5.961 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005039/1.034, allocations: 263.7 kB / 1.035 GB, free: 5.742 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005491/1.035, allocations: 59.2 kB / 1.035 GB, free: 5.695 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001548/1.037, allocations: 0.4901 MB / 1.036 GB, free: 5.27 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006311/1.037, allocations: 0.8153 MB / 1.036 GB, free: 4.445 MB / 0.6511 GB Notification: Performance of SimCode: time 9.02e-07/1.037, allocations: 0 / 1.036 GB, free: 4.445 MB / 0.6511 GB Notification: Performance of Templates: time 0.01635/1.054, allocations: 5.273 MB / 1.042 GB, free: 15.28 MB / 0.6667 GB