Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.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.HexElementLatent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") [: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.259/2.259, allocations: 284.9 MB / 292.2 MB, free: 10.7 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.001675/0.001674, allocations: 177.3 kB / 360.4 MB, free: 7.504 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.899/1.899, allocations: 205.1 MB / 0.6188 GB, free: 12.43 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.0012/0.001199, allocations: 93.47 kB / 0.7318 GB, free: 44.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.072e-05/1.086e-05, allocations: 0 / 0.8503 GB, free: 3.836 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6833/0.6834, allocations: 115.2 MB / 0.9628 GB, free: 78.09 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.393/6.076, allocations: 2.341 GB / 3.304 GB, free: 114 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003338/6.077, allocations: 96.39 kB / 3.304 GB, free: 113.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 5.181/11.26, allocations: 1.113 GB / 4.417 GB, free: 78.85 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003627/11.26, allocations: 55.2 kB / 4.417 GB, free: 78.8 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.008249/11.27, allocations: 2.118 MB / 4.419 GB, free: 76.66 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/11.27, allocations: 8.031 kB / 4.419 GB, free: 76.65 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003484/11.27, allocations: 385 kB / 4.42 GB, free: 76.27 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006635/11.28, allocations: 1.65 MB / 4.421 GB, free: 74.61 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.83e-05/11.28, allocations: 40 kB / 4.421 GB, free: 74.57 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003534/11.28, allocations: 84 kB / 4.421 GB, free: 74.48 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003563/11.28, allocations: 0.9543 MB / 4.422 GB, free: 73.53 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004024/11.28, allocations: 1.228 MB / 4.423 GB, free: 72.23 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5e-05/11.28, allocations: 0 / 4.423 GB, free: 72.23 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001856/11.28, allocations: 7.938 kB / 4.423 GB, free: 72.23 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.228e-05/11.28, allocations: 58.58 kB / 4.423 GB, free: 72.17 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01507/11.3, allocations: 7.232 MB / 4.431 GB, free: 64.54 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002336/11.3, allocations: 0.778 MB / 4.431 GB, free: 63.72 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009384/11.3, allocations: 392.1 kB / 4.432 GB, free: 63.33 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001184/11.3, allocations: 0.7183 MB / 4.432 GB, free: 62.47 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.894e-05/11.3, allocations: 43.22 kB / 4.432 GB, free: 62.42 MB / 0.948 GB Notification: Performance of pre-optimization done (n=75): time 3.346e-06/11.3, allocations: 0 / 4.432 GB, free: 62.42 MB / 0.948 GB Notification: Performance of matching and sorting (n=75): time 0.006183/11.31, allocations: 1.187 MB / 4.434 GB, free: 61.22 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.776e-05/11.31, allocations: 63.97 kB / 4.434 GB, free: 61.15 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002308/11.31, allocations: 0.932 MB / 4.435 GB, free: 60.21 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003093/11.31, allocations: 32.64 kB / 4.435 GB, free: 60.17 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000428/11.31, allocations: 0.5705 MB / 4.435 GB, free: 59.59 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003924/11.31, allocations: 256.2 kB / 4.435 GB, free: 59.34 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.948e-05/11.31, allocations: 0 / 4.435 GB, free: 59.34 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.667e-05/11.31, allocations: 334 kB / 4.436 GB, free: 59.01 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007294/11.32, allocations: 273.9 kB / 4.436 GB, free: 58.74 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000929/11.32, allocations: 0.5599 MB / 4.436 GB, free: 58.06 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001505/11.32, allocations: 453.7 kB / 4.437 GB, free: 57.62 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.446e-06/11.32, allocations: 0 / 4.437 GB, free: 57.62 MB / 0.948 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.005599/11.32, allocations: 1.257 MB / 4.438 GB, free: 56.35 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004575/11.32, allocations: 1.964 MB / 4.44 GB, free: 54.27 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/11.32, allocations: 4 kB / 4.44 GB, free: 54.27 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002984/11.33, allocations: 374 kB / 4.44 GB, free: 53.89 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001294/11.33, allocations: 147.8 kB / 4.441 GB, free: 53.75 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002575/11.33, allocations: 2.146 MB / 4.443 GB, free: 51.52 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002692/11.33, allocations: 155.2 kB / 4.443 GB, free: 51.37 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002384/11.33, allocations: 36 kB / 4.443 GB, free: 51.34 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/11.33, allocations: 4 kB / 4.443 GB, free: 51.33 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00477/11.34, allocations: 1.054 MB / 4.444 GB, free: 50.27 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.124e-05/11.34, allocations: 4 kB / 4.444 GB, free: 50.27 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002888/11.34, allocations: 386.9 kB / 4.444 GB, free: 49.88 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001276/11.34, allocations: 151.8 kB / 4.444 GB, free: 49.73 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004718/11.35, allocations: 3.773 MB / 4.448 GB, free: 45.71 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002517/11.35, allocations: 147.3 kB / 4.448 GB, free: 45.56 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001894/11.35, allocations: 32 kB / 4.448 GB, free: 45.53 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 67 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {3 21,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003285/11.35, allocations: 126.6 kB / 4.448 GB, free: 45.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004638/11.35, allocations: 142.3 kB / 4.449 GB, free: 45.26 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005425/11.36, allocations: 1.248 MB / 4.45 GB, free: 44 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.125e-05/11.36, allocations: 8 kB / 4.45 GB, free: 43.99 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/11.36, allocations: 3.938 kB / 4.45 GB, free: 43.98 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00466/11.36, allocations: 1.341 MB / 4.451 GB, free: 42.55 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007701/11.37, allocations: 2.547 MB / 4.454 GB, free: 39.94 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.065e-05/11.37, allocations: 0 / 4.454 GB, free: 39.94 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009677/11.37, allocations: 112.2 kB / 4.454 GB, free: 39.83 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002719/11.37, allocations: 354.3 kB / 4.454 GB, free: 39.47 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001517/11.37, allocations: 11.91 kB / 4.454 GB, free: 39.46 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002377/11.38, allocations: 2.125 MB / 4.456 GB, free: 37.27 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-05/11.38, allocations: 7.938 kB / 4.456 GB, free: 37.26 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003556/11.38, allocations: 1.339 MB / 4.457 GB, free: 35.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001359/11.38, allocations: 331 kB / 4.458 GB, free: 35.45 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003813/11.38, allocations: 7.984 kB / 4.458 GB, free: 35.45 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002386/11.38, allocations: 111.7 kB / 4.458 GB, free: 35.34 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001832/11.38, allocations: 44.59 kB / 4.458 GB, free: 35.29 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001142/11.38, allocations: 35.89 kB / 4.458 GB, free: 35.26 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001659/11.39, allocations: 0.7141 MB / 4.459 GB, free: 34.54 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005567/11.39, allocations: 1.04 MB / 4.46 GB, free: 33.5 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {3 21,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004842/11.4, allocations: 2.535 MB / 4.462 GB, free: 31.12 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004244/11.4, allocations: 1.471 MB / 4.464 GB, free: 29.64 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.798e-06/11.4, allocations: 0 / 4.464 GB, free: 29.64 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001384/11.4, allocations: 425.6 kB / 4.464 GB, free: 29.22 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006956/11.41, allocations: 0.7017 MB / 4.465 GB, free: 28.53 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006851/11.42, allocations: 1.988 MB / 4.467 GB, free: 26.47 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001741/11.42, allocations: 1.49 MB / 4.468 GB, free: 24.96 MB / 0.948 GB Notification: Performance of SimCode: time 1.853e-06/11.42, allocations: 4 kB / 4.468 GB, free: 24.95 MB / 0.948 GB Notification: Performance of Templates: time 0.5509/11.97, allocations: 44.49 MB / 4.511 GB, free: 223.9 MB / 0.9636 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe 2>&1)