Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example4.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: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) [: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.389/1.389, allocations: 285.5 MB / 292.8 MB, free: 10.48 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.001183/0.001183, allocations: 185.3 kB / 361.1 MB, free: 7.121 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.139/1.139, allocations: 205.1 MB / 0.6195 GB, free: 10.41 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.0008245/0.0008245, allocations: 89.44 kB / 0.7325 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2009/0.2018, allocations: 121.4 MB / 0.8511 GB, free: 2.93 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4575/0.6593, allocations: 115.3 MB / 0.9637 GB, free: 78.16 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.894/3.553, allocations: 2.105 GB / 3.069 GB, free: 40.68 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002306/3.554, allocations: 87.95 kB / 3.069 GB, free: 40.6 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 3.993/7.546, allocations: 1.454 GB / 4.523 GB, free: 37.45 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/7.546, allocations: 12.5 kB / 4.523 GB, free: 37.43 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003444/7.55, allocations: 0.5444 MB / 4.523 GB, free: 36.89 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00344/7.553, allocations: 1.231 MB / 4.524 GB, free: 35.6 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008859/7.554, allocations: 261.8 kB / 4.525 GB, free: 35.34 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003358/7.554, allocations: 60 kB / 4.525 GB, free: 35.29 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001708/7.556, allocations: 0.7302 MB / 4.525 GB, free: 34.55 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001841/7.558, allocations: 1.087 MB / 4.527 GB, free: 33.37 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.473e-05/7.558, allocations: 4 kB / 4.527 GB, free: 33.37 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001205/7.558, allocations: 4 kB / 4.527 GB, free: 33.36 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.691e-05/7.558, allocations: 41.94 kB / 4.527 GB, free: 33.32 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00858/7.567, allocations: 6.524 MB / 4.533 GB, free: 26.38 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006856/7.567, allocations: 462.6 kB / 4.533 GB, free: 25.9 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002375/7.568, allocations: 181.4 kB / 4.534 GB, free: 25.72 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003892/7.568, allocations: 376.6 kB / 4.534 GB, free: 25.28 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/7.568, allocations: 38.84 kB / 4.534 GB, free: 25.23 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=33): time 2.755e-06/7.568, allocations: 3.938 kB / 4.534 GB, free: 25.23 MB / 0.9636 GB Notification: Performance of matching and sorting (n=33): time 0.001442/7.57, allocations: 0.518 MB / 4.534 GB, free: 24.71 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.069e-05/7.57, allocations: 55.41 kB / 4.534 GB, free: 24.64 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001119/7.571, allocations: 0.8305 MB / 4.535 GB, free: 23.8 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 7.91e-05/7.571, allocations: 29.69 kB / 4.535 GB, free: 23.77 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002766/7.571, allocations: 0.5172 MB / 4.536 GB, free: 23.24 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 9.297e-05/7.571, allocations: 114.3 kB / 4.536 GB, free: 23.12 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.287e-05/7.571, allocations: 0 / 4.536 GB, free: 23.12 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 5.926e-05/7.571, allocations: 341.9 kB / 4.536 GB, free: 22.79 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000264/7.572, allocations: 193.2 kB / 4.536 GB, free: 22.59 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004116/7.572, allocations: 0.5595 MB / 4.537 GB, free: 21.86 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004862/7.573, allocations: 314.5 kB / 4.537 GB, free: 21.56 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/7.573, allocations: 4 kB / 4.537 GB, free: 21.55 MB / 0.9636 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001215/7.574, allocations: 0.7578 MB / 4.538 GB, free: 20.79 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.000682/7.574, allocations: 4.103 MB / 4.542 GB, free: 16.37 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.924e-05/7.574, allocations: 12 kB / 4.542 GB, free: 16.36 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.324e-05/7.575, allocations: 16 kB / 4.542 GB, free: 16.34 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008639/7.575, allocations: 219.6 kB / 4.542 GB, free: 16.13 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.612e-05/7.575, allocations: 19.92 kB / 4.542 GB, free: 16.11 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001456/7.577, allocations: 187.2 kB / 4.542 GB, free: 15.93 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001048/7.577, allocations: 51.97 kB / 4.543 GB, free: 15.88 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/7.577, allocations: 4 kB / 4.543 GB, free: 15.87 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001077/7.578, allocations: 0.6128 MB / 4.543 GB, free: 15.26 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.686e-05/7.578, allocations: 12 kB / 4.543 GB, free: 15.25 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/7.578, allocations: 16 kB / 4.543 GB, free: 15.23 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008473/7.579, allocations: 216.4 kB / 4.543 GB, free: 15.02 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.384e-05/7.579, allocations: 15.94 kB / 4.543 GB, free: 15 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001243/7.58, allocations: 159.4 kB / 4.544 GB, free: 14.85 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.484e-05/7.58, allocations: 43.98 kB / 4.544 GB, free: 14.8 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 81 * 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.0002089/7.581, allocations: 140.6 kB / 4.544 GB, free: 14.66 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002566/7.581, allocations: 114.5 kB / 4.544 GB, free: 14.55 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001037/7.582, allocations: 0.4976 MB / 4.544 GB, free: 14.04 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/7.582, allocations: 4 kB / 4.544 GB, free: 14.04 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/7.582, allocations: 0 / 4.544 GB, free: 14.04 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/7.582, allocations: 7.984 kB / 4.544 GB, free: 14.03 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002947/7.585, allocations: 1.673 MB / 4.546 GB, free: 12.25 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/7.585, allocations: 4 kB / 4.546 GB, free: 12.25 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005371/7.585, allocations: 116.1 kB / 4.546 GB, free: 12.14 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.899e-06/7.585, allocations: 7.984 kB / 4.546 GB, free: 12.13 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.286e-05/7.586, allocations: 12 kB / 4.546 GB, free: 12.12 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/7.586, allocations: 4 kB / 4.546 GB, free: 12.11 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/7.586, allocations: 4 kB / 4.546 GB, free: 12.11 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008332/7.586, allocations: 0.8422 MB / 4.547 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001575/7.588, allocations: 1.436 MB / 4.548 GB, free: 9.566 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005183/7.588, allocations: 255.5 kB / 4.549 GB, free: 9.297 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000348/7.589, allocations: 11.98 kB / 4.549 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001098/7.59, allocations: 103.9 kB / 4.549 GB, free: 9.184 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.507e-05/7.59, allocations: 31.88 kB / 4.549 GB, free: 9.152 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.055e-05/7.59, allocations: 23.98 kB / 4.549 GB, free: 9.129 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.0007758/7.591, allocations: 0.6202 MB / 4.549 GB, free: 8.504 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.005519/7.596, allocations: 1.647 MB / 4.551 GB, free: 6.855 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * 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.004317/7.601, allocations: 3.508 MB / 4.554 GB, free: 2.996 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.001514/7.602, allocations: 0.8263 MB / 4.555 GB, free: 2.172 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/7.602, allocations: 4 kB / 4.555 GB, free: 2.168 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.000279/7.603, allocations: 179.7 kB / 4.555 GB, free: 1.992 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002124/7.605, allocations: 378.3 kB / 4.556 GB, free: 1.621 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004835/7.61, allocations: 1.686 MB / 4.557 GB, free: 15.84 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001358/7.611, allocations: 1.301 MB / 4.559 GB, free: 14.52 MB / 0.9792 GB Notification: Performance of SimCode: time 8.41e-07/7.611, allocations: 7.938 kB / 4.559 GB, free: 14.51 MB / 0.9792 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example4_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example4.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1)