Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.Example4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.126/2.126, allocations: 387.2 MB / 394.5 MB, free: 13.71 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001194/0.001195, allocations: 180.7 kB / 487 MB, free: 5.422 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 221.3 MB / 0.7819 GB, free: 1.473 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 95.25 kB / 0.9213 GB, free: 2.711 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6761/0.6772, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.9701, allocations: 142.3 MB / 1.205 GB, free: 26.17 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.143/5.113, allocations: 1.951 GB / 3.156 GB, free: 366.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002155/5.114, allocations: 91.8 kB / 3.156 GB, free: 366.1 MB / 1.151 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 4.339/9.452, allocations: 1.471 GB / 4.628 GB, free: 173 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/9.452, allocations: 11.23 kB / 4.628 GB, free: 173 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003694/9.456, allocations: 0.5482 MB / 4.628 GB, free: 172.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003689/9.46, allocations: 1.241 MB / 4.629 GB, free: 171.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009156/9.461, allocations: 266.3 kB / 4.63 GB, free: 171.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003071/9.461, allocations: 60.47 kB / 4.63 GB, free: 171.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001848/9.463, allocations: 0.7295 MB / 4.63 GB, free: 171.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002068/9.465, allocations: 1.075 MB / 4.631 GB, free: 170.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.944e-05/9.465, allocations: 3.938 kB / 4.631 GB, free: 170.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000124/9.465, allocations: 3.812 kB / 4.631 GB, free: 170.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.961e-05/9.465, allocations: 42.64 kB / 4.631 GB, free: 170.8 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008551/9.474, allocations: 6.598 MB / 4.638 GB, free: 165 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00074/9.475, allocations: 463.2 kB / 4.638 GB, free: 164.7 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002903/9.475, allocations: 182.7 kB / 4.638 GB, free: 164.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004645/9.475, allocations: 373.7 kB / 4.639 GB, free: 164.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/9.475, allocations: 40.69 kB / 4.639 GB, free: 164.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=33): time 3.036e-06/9.475, allocations: 0 / 4.639 GB, free: 164.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=33): time 0.001633/9.477, allocations: 0.5216 MB / 4.639 GB, free: 164 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.53e-05/9.477, allocations: 55.22 kB / 4.639 GB, free: 163.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001458/9.479, allocations: 0.8356 MB / 4.64 GB, free: 163.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 9.058e-05/9.479, allocations: 26.86 kB / 4.64 GB, free: 163.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003336/9.479, allocations: 0.5155 MB / 4.641 GB, free: 163 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/9.479, allocations: 116.9 kB / 4.641 GB, free: 162.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.543e-05/9.479, allocations: 3.5 kB / 4.641 GB, free: 162.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.471e-05/9.479, allocations: 329.5 kB / 4.641 GB, free: 162.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003256/9.48, allocations: 197.7 kB / 4.641 GB, free: 162.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005127/9.48, allocations: 0.5409 MB / 4.642 GB, free: 161.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005882/9.481, allocations: 311.4 kB / 4.642 GB, free: 161.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-06/9.481, allocations: 2.406 kB / 4.642 GB, free: 161.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001387/9.482, allocations: 0.7579 MB / 4.643 GB, free: 161.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007689/9.483, allocations: 4.096 MB / 4.647 GB, free: 157 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.227e-05/9.483, allocations: 13.78 kB / 4.647 GB, free: 157 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.447e-05/9.483, allocations: 20.44 kB / 4.647 GB, free: 157 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009436/9.484, allocations: 214.9 kB / 4.647 GB, free: 157 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.816e-05/9.484, allocations: 18.91 kB / 4.647 GB, free: 157 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001432/9.485, allocations: 187.1 kB / 4.647 GB, free: 156.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001085/9.486, allocations: 46.55 kB / 4.647 GB, free: 156.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 8.826e-06/9.486, allocations: 3.625 kB / 4.647 GB, free: 156.9 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00104/9.487, allocations: 0.6231 MB / 4.648 GB, free: 156.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/9.487, allocations: 10.44 kB / 4.648 GB, free: 156.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/9.487, allocations: 21.77 kB / 4.648 GB, free: 156.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008741/9.488, allocations: 217.2 kB / 4.648 GB, free: 156.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.538e-05/9.488, allocations: 22.66 kB / 4.648 GB, free: 156.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00126/9.489, allocations: 154.8 kB / 4.648 GB, free: 156.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-05/9.489, allocations: 45.02 kB / 4.649 GB, free: 156.5 MB / 1.167 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.0001995/9.489, allocations: 131.1 kB / 4.649 GB, free: 156.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002366/9.489, allocations: 113.7 kB / 4.649 GB, free: 156.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001019/9.49, allocations: 499.8 kB / 4.649 GB, free: 156 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/9.49, allocations: 7.859 kB / 4.649 GB, free: 156 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/9.49, allocations: 3.938 kB / 4.649 GB, free: 156 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/9.49, allocations: 0 / 4.649 GB, free: 156 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003161/9.494, allocations: 1.683 MB / 4.651 GB, free: 154.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/9.494, allocations: 6.625 kB / 4.651 GB, free: 154.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005718/9.494, allocations: 115.1 kB / 4.651 GB, free: 154.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.128e-05/9.494, allocations: 7.188 kB / 4.651 GB, free: 154.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.616e-05/9.494, allocations: 5.625 kB / 4.651 GB, free: 154.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.055e-06/9.494, allocations: 10.84 kB / 4.651 GB, free: 154.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/9.494, allocations: 7.578 kB / 4.651 GB, free: 154.8 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000964/9.495, allocations: 0.8382 MB / 4.652 GB, free: 154 MB / 1.167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001596/9.497, allocations: 1.439 MB / 4.653 GB, free: 152.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004975/9.497, allocations: 254.8 kB / 4.653 GB, free: 152.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003531/9.498, allocations: 3.25 kB / 4.654 GB, free: 152.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001109/9.499, allocations: 115.8 kB / 4.654 GB, free: 152.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.79e-05/9.499, allocations: 31.25 kB / 4.654 GB, free: 152.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.515e-05/9.499, allocations: 23.09 kB / 4.654 GB, free: 152.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.000985/9.5, allocations: 0.6279 MB / 4.654 GB, free: 152.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.005739/9.506, allocations: 1.642 MB / 4.656 GB, free: 151 MB / 1.167 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.005249/9.511, allocations: 3.514 MB / 4.659 GB, free: 149.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001819/9.513, allocations: 0.8245 MB / 4.66 GB, free: 149 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/9.513, allocations: 0.8438 kB / 4.66 GB, free: 149 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003293/9.513, allocations: 182.7 kB / 4.66 GB, free: 148.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002139/9.515, allocations: 371.7 kB / 4.661 GB, free: 148.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004666/9.52, allocations: 1.675 MB / 4.662 GB, free: 147.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008409/9.521, allocations: 1.305 MB / 4.664 GB, free: 145.9 MB / 1.167 GB Notification: Performance of SimCode: time 5.71e-07/9.521, allocations: 3.688 kB / 4.664 GB, free: 145.9 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Examples.Performance.Example4_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Examples_Performance_Example4_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Examples_Performance_Example4.fmu > Buildings_9_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1)