Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") [: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.174/2.174, allocations: 253.1 MB / 260.4 MB, free: 7.48 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.002681/0.002681, allocations: 181.2 kB / 319.6 MB, free: 3.305 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.88/1.88, allocations: 205.4 MB / 0.5704 GB, free: 14.95 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.001319/0.001319, allocations: 96.53 kB / 0.6746 GB, free: 4.305 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.48e-05/1.498e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2598/0.2598, allocations: 106.2 MB / 0.8881 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.005/1.265, allocations: 354.5 MB / 1.234 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000317/1.265, allocations: 85.58 kB / 1.234 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.05228/1.318, allocations: 13.28 MB / 1.247 GB, free: 5.004 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.287e-05/1.318, allocations: 4 kB / 1.247 GB, free: 5 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001185/1.319, allocations: 460 kB / 1.248 GB, free: 4.516 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/1.319, allocations: 8.031 kB / 1.248 GB, free: 4.508 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.863e-05/1.319, allocations: 15.81 kB / 1.248 GB, free: 4.492 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001786/1.319, allocations: 183.5 kB / 1.248 GB, free: 4.273 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/1.319, allocations: 4 kB / 1.248 GB, free: 4.27 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.764e-05/1.319, allocations: 8 kB / 1.248 GB, free: 4.262 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003109/1.32, allocations: 89.66 kB / 1.248 GB, free: 4.203 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002179/1.32, allocations: 82.61 kB / 1.248 GB, free: 4.137 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/1.32, allocations: 0 / 1.248 GB, free: 4.137 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/1.32, allocations: 0 / 1.248 GB, free: 4.137 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/1.32, allocations: 11.84 kB / 1.248 GB, free: 4.125 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008734/1.321, allocations: 394.5 kB / 1.248 GB, free: 3.762 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002599/1.321, allocations: 83.56 kB / 1.249 GB, free: 3.695 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001256/1.321, allocations: 42.98 kB / 1.249 GB, free: 3.664 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001658/1.323, allocations: 0.9307 MB / 1.25 GB, free: 2.645 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.452e-05/1.323, allocations: 40.77 kB / 1.25 GB, free: 2.602 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=12): time 2.295e-06/1.323, allocations: 0 / 1.25 GB, free: 2.602 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12): time 0.0007534/1.324, allocations: 134.1 kB / 1.25 GB, free: 2.484 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/1.324, allocations: 51.41 kB / 1.25 GB, free: 2.422 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001898/1.324, allocations: 150.4 kB / 1.25 GB, free: 2.285 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.92e-05/1.324, allocations: 33.64 kB / 1.25 GB, free: 2.246 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.158e-05/1.324, allocations: 104.7 kB / 1.25 GB, free: 2.148 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.263e-05/1.324, allocations: 38.58 kB / 1.25 GB, free: 2.113 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.592e-05/1.324, allocations: 0 / 1.25 GB, free: 2.113 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002126/1.324, allocations: 325 kB / 1.25 GB, free: 1.793 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001602/1.325, allocations: 45.69 kB / 1.25 GB, free: 1.766 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001937/1.325, allocations: 76.3 kB / 1.25 GB, free: 1.699 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001001/1.326, allocations: 147.1 kB / 1.251 GB, free: 1.582 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/1.326, allocations: 0 / 1.251 GB, free: 1.582 MB / 0.8542 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001289/1.327, allocations: 267.7 kB / 1.251 GB, free: 1.359 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/1.327, allocations: 7.938 kB / 1.251 GB, free: 1.352 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/1.327, allocations: 0 / 1.251 GB, free: 1.352 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.161e-05/1.327, allocations: 4 kB / 1.251 GB, free: 1.348 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005597/1.328, allocations: 60.05 kB / 1.251 GB, free: 1.289 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/1.328, allocations: 4 kB / 1.251 GB, free: 1.285 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003363/1.328, allocations: 35.73 kB / 1.251 GB, free: 1.25 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.154e-05/1.328, allocations: 11.88 kB / 1.251 GB, free: 1.242 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * 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.0001078/1.328, allocations: 104.9 kB / 1.251 GB, free: 1.133 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.591e-05/1.328, allocations: 15.8 kB / 1.251 GB, free: 1.117 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007425/1.329, allocations: 152.5 kB / 1.251 GB, free: 0.9922 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/1.329, allocations: 7.938 kB / 1.251 GB, free: 0.9844 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/1.329, allocations: 4 kB / 1.251 GB, free: 0.9805 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/1.329, allocations: 4 kB / 1.251 GB, free: 0.9766 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000307/1.329, allocations: 190.8 kB / 1.251 GB, free: 0.7695 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/1.329, allocations: 0 / 1.251 GB, free: 0.7695 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003437/1.33, allocations: 39.47 kB / 1.251 GB, free: 0.7344 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-06/1.33, allocations: 4 kB / 1.251 GB, free: 0.7305 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/1.33, allocations: 4 kB / 1.251 GB, free: 0.7266 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/1.33, allocations: 3.906 kB / 1.251 GB, free: 0.7227 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/1.33, allocations: 0 / 1.251 GB, free: 0.7227 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006495/1.331, allocations: 239 kB / 1.252 GB, free: 0.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.277e-05/1.331, allocations: 85.02 kB / 1.252 GB, free: 408 kB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.851e-05/1.331, allocations: 3.984 kB / 1.252 GB, free: 404 kB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002777/1.331, allocations: 19.98 kB / 1.252 GB, free: 384 kB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.368e-05/1.331, allocations: 11.89 kB / 1.252 GB, free: 372 kB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.846e-05/1.331, allocations: 4 kB / 1.252 GB, free: 368 kB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0001085/1.331, allocations: 110.1 kB / 1.252 GB, free: 268 kB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004943/1.332, allocations: 59.12 kB / 1.252 GB, free: 212 kB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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.0004181/1.332, allocations: 174.4 kB / 1.252 GB, free: 32 kB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.3287/1.661, allocations: 110.4 kB / 1.252 GB, free: 411.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 8.406e-06/1.661, allocations: 0 / 1.252 GB, free: 411.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001298/1.661, allocations: 46.38 kB / 1.252 GB, free: 411.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000413/1.662, allocations: 21.19 kB / 1.252 GB, free: 411.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005585/1.662, allocations: 151.4 kB / 1.252 GB, free: 411.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002813/1.662, allocations: 0.7324 MB / 1.253 GB, free: 410.9 MB / 0.8542 GB Notification: Performance of SimCode: time 1.533e-06/1.662, allocations: 0 / 1.253 GB, free: 410.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.008344/1.671, allocations: 2.733 MB / 1.256 GB, free: 410.9 MB / 0.8542 GB