Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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 8.0.0/package.mo): time 2.421/2.421, allocations: 284.9 MB / 292.2 MB, free: 10.73 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001651/0.001651, allocations: 191.9 kB / 360.4 MB, free: 7.512 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.826/1.826, allocations: 205.1 MB / 0.6188 GB, free: 12.44 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001329/0.001328, allocations: 94.48 kB / 0.7318 GB, free: 45.01 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.374e-05/1.398e-05, allocations: 4 kB / 0.8503 GB, free: 3.855 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7053/0.7054, allocations: 115.2 MB / 0.9628 GB, free: 78.39 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.05/1.755, allocations: 361 MB / 1.315 GB, free: 185 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003513/1.756, allocations: 90.14 kB / 1.315 GB, free: 185 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.05113/1.807, allocations: 13.61 MB / 1.329 GB, free: 182.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.206e-05/1.807, allocations: 2.656 kB / 1.329 GB, free: 182.2 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.001289/1.808, allocations: 468.7 kB / 1.329 GB, free: 181.8 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/1.808, allocations: 9.5 kB / 1.329 GB, free: 181.8 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.454e-05/1.809, allocations: 14.75 kB / 1.329 GB, free: 181.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/1.809, allocations: 180.8 kB / 1.329 GB, free: 181.5 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/1.809, allocations: 2.906 kB / 1.329 GB, free: 181.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.574e-05/1.809, allocations: 7.531 kB / 1.329 GB, free: 181.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003016/1.809, allocations: 91.47 kB / 1.329 GB, free: 181.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002005/1.809, allocations: 78.89 kB / 1.33 GB, free: 181.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/1.809, allocations: 4 kB / 1.33 GB, free: 181.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.794e-05/1.809, allocations: 0 / 1.33 GB, free: 181.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/1.809, allocations: 2.906 kB / 1.33 GB, free: 181.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007979/1.81, allocations: 393.8 kB / 1.33 GB, free: 181.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002155/1.81, allocations: 92.2 kB / 1.33 GB, free: 181.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/1.811, allocations: 45.02 kB / 1.33 GB, free: 181.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001387/1.812, allocations: 0.9319 MB / 1.331 GB, free: 180.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/1.812, allocations: 34.56 kB / 1.331 GB, free: 180.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=12): time 2.796e-06/1.812, allocations: 0 / 1.331 GB, free: 180.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12): time 0.0007387/1.813, allocations: 142.6 kB / 1.331 GB, free: 180.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.126e-05/1.813, allocations: 51.41 kB / 1.331 GB, free: 180 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/1.813, allocations: 145.2 kB / 1.331 GB, free: 179.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/1.813, allocations: 25.7 kB / 1.331 GB, free: 179.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.629e-05/1.813, allocations: 97.36 kB / 1.331 GB, free: 179.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.276e-05/1.813, allocations: 52.45 kB / 1.331 GB, free: 179.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.635e-05/1.813, allocations: 0.75 kB / 1.331 GB, free: 179.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.995e-05/1.813, allocations: 321.7 kB / 1.332 GB, free: 179.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001476/1.813, allocations: 49.55 kB / 1.332 GB, free: 179.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001745/1.814, allocations: 76.34 kB / 1.332 GB, free: 179.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009462/1.815, allocations: 142.5 kB / 1.332 GB, free: 179.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/1.815, allocations: 0 / 1.332 GB, free: 179.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001223/1.816, allocations: 264.8 kB / 1.332 GB, free: 179.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.764e-05/1.816, allocations: 9.703 kB / 1.332 GB, free: 179.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/1.816, allocations: 4.031 kB / 1.332 GB, free: 179.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.361e-05/1.816, allocations: 0 / 1.332 GB, free: 179.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005709/1.817, allocations: 64.66 kB / 1.332 GB, free: 179.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/1.817, allocations: 0 / 1.332 GB, free: 179.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003364/1.817, allocations: 33.31 kB / 1.332 GB, free: 179.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.59e-05/1.817, allocations: 16.66 kB / 1.332 GB, free: 179.2 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 9.822e-05/1.817, allocations: 112.7 kB / 1.333 GB, free: 179.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.992e-05/1.817, allocations: 13.84 kB / 1.333 GB, free: 179.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007618/1.818, allocations: 154.2 kB / 1.333 GB, free: 179 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/1.818, allocations: 4.438 kB / 1.333 GB, free: 179 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/1.818, allocations: 0 / 1.333 GB, free: 179 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/1.818, allocations: 0 / 1.333 GB, free: 179 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002605/1.818, allocations: 192 kB / 1.333 GB, free: 178.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/1.818, allocations: 2.688 kB / 1.333 GB, free: 178.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003347/1.819, allocations: 38.89 kB / 1.333 GB, free: 178.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/1.819, allocations: 0 / 1.333 GB, free: 178.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/1.819, allocations: 4.25 kB / 1.333 GB, free: 178.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/1.819, allocations: 3.984 kB / 1.333 GB, free: 178.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/1.819, allocations: 0 / 1.333 GB, free: 178.8 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005674/1.819, allocations: 236.1 kB / 1.333 GB, free: 178.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.419e-05/1.819, allocations: 91.7 kB / 1.333 GB, free: 178.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.699e-05/1.819, allocations: 0 / 1.333 GB, free: 178.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002712/1.82, allocations: 22.67 kB / 1.333 GB, free: 178.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.322e-05/1.82, allocations: 10.61 kB / 1.333 GB, free: 178.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.414e-05/1.82, allocations: 2.875 kB / 1.333 GB, free: 178.6 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0001117/1.82, allocations: 110.8 kB / 1.333 GB, free: 178.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005157/1.82, allocations: 68.3 kB / 1.333 GB, free: 178.5 MB / 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.0004162/1.821, allocations: 176.9 kB / 1.334 GB, free: 178.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003498/1.821, allocations: 116.7 kB / 1.334 GB, free: 178.3 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.821, allocations: 2.938 kB / 1.334 GB, free: 178.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001121/1.821, allocations: 43.75 kB / 1.334 GB, free: 178.3 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003522/1.822, allocations: 20.02 kB / 1.334 GB, free: 178.3 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005355/1.822, allocations: 141.7 kB / 1.334 GB, free: 178.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002835/1.823, allocations: 0.7365 MB / 1.335 GB, free: 177.5 MB / 0.8542 GB Notification: Performance of SimCode: time 1.853e-06/1.823, allocations: 0 / 1.335 GB, free: 177.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.008726/1.831, allocations: 2.741 MB / 1.337 GB, free: 176.1 MB / 0.8542 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)