Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.606/1.606, allocations: 285.5 MB / 292.8 MB, free: 10.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001052/0.001052, allocations: 181.3 kB / 361.1 MB, free: 7.062 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.615/1.615, allocations: 205.1 MB / 0.6195 GB, free: 10.27 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000913/0.0009129, allocations: 79.5 kB / 0.7325 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.135e-05/1.137e-05, allocations: 4 kB / 0.8511 GB, free: 2.934 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7893/0.7893, allocations: 115.3 MB / 0.9637 GB, free: 78.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.774/5.563, allocations: 2.341 GB / 3.305 GB, free: 130.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002438/5.563, allocations: 91.95 kB / 3.305 GB, free: 130.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.919/9.482, allocations: 1.113 GB / 4.418 GB, free: 88.03 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003301/9.483, allocations: 54.73 kB / 4.418 GB, free: 87.98 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.008848/9.492, allocations: 2.106 MB / 4.42 GB, free: 85.85 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.556e-05/9.492, allocations: 8.031 kB / 4.42 GB, free: 85.84 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003751/9.495, allocations: 392 kB / 4.421 GB, free: 85.46 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006733/9.502, allocations: 1.651 MB / 4.422 GB, free: 83.79 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001023/9.502, allocations: 44 kB / 4.422 GB, free: 83.75 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005505/9.503, allocations: 84 kB / 4.422 GB, free: 83.66 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002815/9.506, allocations: 0.9504 MB / 4.423 GB, free: 82.71 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002232/9.508, allocations: 1.231 MB / 4.424 GB, free: 81.42 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.517e-05/9.508, allocations: 3.938 kB / 4.424 GB, free: 81.42 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.871e-05/9.508, allocations: 4 kB / 4.424 GB, free: 81.41 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.966e-05/9.508, allocations: 62.62 kB / 4.425 GB, free: 81.35 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008567/9.517, allocations: 7.21 MB / 4.432 GB, free: 73.73 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001176/9.518, allocations: 0.7828 MB / 4.432 GB, free: 72.92 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004539/9.519, allocations: 395 kB / 4.433 GB, free: 72.54 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007881/9.519, allocations: 0.715 MB / 4.433 GB, free: 71.67 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/9.519, allocations: 43.22 kB / 4.433 GB, free: 71.62 MB / 0.948 GB Notification: Performance of pre-optimization done (n=75): time 3.246e-06/9.519, allocations: 0 / 4.433 GB, free: 71.62 MB / 0.948 GB Notification: Performance of matching and sorting (n=75): time 0.003261/9.523, allocations: 1.183 MB / 4.435 GB, free: 70.43 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.871e-05/9.523, allocations: 63.97 kB / 4.435 GB, free: 70.35 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001186/9.524, allocations: 0.9326 MB / 4.436 GB, free: 69.41 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.943e-05/9.524, allocations: 25.7 kB / 4.436 GB, free: 69.38 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003015/9.524, allocations: 0.5783 MB / 4.436 GB, free: 68.79 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002265/9.525, allocations: 256.2 kB / 4.436 GB, free: 68.54 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.535e-05/9.525, allocations: 0 / 4.436 GB, free: 68.54 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001025/9.525, allocations: 337.9 kB / 4.437 GB, free: 68.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003516/9.525, allocations: 277.9 kB / 4.437 GB, free: 67.93 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004955/9.526, allocations: 0.5505 MB / 4.438 GB, free: 67.26 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007777/9.526, allocations: 449.8 kB / 4.438 GB, free: 66.82 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.92e-06/9.526, allocations: 4 kB / 4.438 GB, free: 66.82 MB / 0.948 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002791/9.529, allocations: 1.257 MB / 4.439 GB, free: 65.55 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004246/9.53, allocations: 1.959 MB / 4.441 GB, free: 63.47 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/9.53, allocations: 4 kB / 4.441 GB, free: 63.47 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001512/9.531, allocations: 375.7 kB / 4.441 GB, free: 63.09 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006048/9.532, allocations: 147.8 kB / 4.442 GB, free: 62.95 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001517/9.533, allocations: 2.155 MB / 4.444 GB, free: 60.71 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001594/9.535, allocations: 151.2 kB / 4.444 GB, free: 60.57 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.379e-05/9.535, allocations: 39.98 kB / 4.444 GB, free: 60.53 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/9.535, allocations: 8.406 kB / 4.444 GB, free: 60.52 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00241/9.537, allocations: 1.056 MB / 4.445 GB, free: 59.46 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/9.537, allocations: 4 kB / 4.445 GB, free: 59.46 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001423/9.539, allocations: 384.2 kB / 4.445 GB, free: 59.08 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005597/9.539, allocations: 151.8 kB / 4.445 GB, free: 58.93 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002876/9.542, allocations: 3.77 MB / 4.449 GB, free: 54.91 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001615/9.544, allocations: 143.3 kB / 4.449 GB, free: 54.77 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.211e-05/9.544, allocations: 43.98 kB / 4.449 GB, free: 54.72 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.0002787/9.544, allocations: 124.8 kB / 4.449 GB, free: 54.59 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002338/9.545, allocations: 138.3 kB / 4.45 GB, free: 54.46 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002978/9.548, allocations: 1.247 MB / 4.451 GB, free: 53.19 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/9.548, allocations: 8 kB / 4.451 GB, free: 53.18 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-06/9.548, allocations: 0 / 4.451 GB, free: 53.18 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002257/9.55, allocations: 1.342 MB / 4.452 GB, free: 51.76 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004365/9.554, allocations: 2.551 MB / 4.455 GB, free: 49.14 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/9.554, allocations: 0 / 4.455 GB, free: 49.14 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004869/9.555, allocations: 104.2 kB / 4.455 GB, free: 49.04 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001382/9.556, allocations: 364.5 kB / 4.455 GB, free: 48.67 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.792e-05/9.556, allocations: 11.91 kB / 4.455 GB, free: 48.66 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001407/9.558, allocations: 2.125 MB / 4.457 GB, free: 46.46 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/9.558, allocations: 10.02 kB / 4.457 GB, free: 46.45 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001905/9.56, allocations: 1.334 MB / 4.458 GB, free: 45 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007454/9.56, allocations: 335 kB / 4.459 GB, free: 44.65 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001805/9.56, allocations: 0 / 4.459 GB, free: 44.65 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001083/9.562, allocations: 115.7 kB / 4.459 GB, free: 44.54 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/9.562, allocations: 48.2 kB / 4.459 GB, free: 44.49 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.469e-05/9.562, allocations: 35.89 kB / 4.459 GB, free: 44.46 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0009825/9.563, allocations: 0.7102 MB / 4.46 GB, free: 43.75 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00326/9.566, allocations: 1.04 MB / 4.461 GB, free: 42.7 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.003575/9.57, allocations: 2.539 MB / 4.463 GB, free: 40.33 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002441/9.572, allocations: 1.466 MB / 4.465 GB, free: 38.85 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.735e-06/9.572, allocations: 0 / 4.465 GB, free: 38.85 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006774/9.573, allocations: 438.1 kB / 4.465 GB, free: 38.43 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003402/9.576, allocations: 0.6984 MB / 4.466 GB, free: 37.75 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003946/9.58, allocations: 1.984 MB / 4.468 GB, free: 35.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009842/9.581, allocations: 1.49 MB / 4.469 GB, free: 34.18 MB / 0.948 GB Notification: Performance of SimCode: time 7.41e-07/9.581, allocations: 0 / 4.469 GB, free: 34.18 MB / 0.948 GB Notification: Performance of Templates: time 0.06766/9.649, allocations: 44.49 MB / 4.513 GB, free: 6.035 MB / 0.9636 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe 2>&1)