Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.241/2.241, allocations: 284.8 MB / 292.1 MB, free: 10.78 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.001682/0.001681, allocations: 181.2 kB / 360.3 MB, free: 7.535 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.876/1.876, allocations: 205.1 MB / 0.6187 GB, free: 13.21 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.001331/0.00133, allocations: 92.61 kB / 0.7317 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3143/0.3157, allocations: 121.4 MB / 0.8502 GB, free: 3.934 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7178/1.034, allocations: 115.2 MB / 0.9627 GB, free: 78.3 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.874/5.908, allocations: 2.105 GB / 3.067 GB, free: 14.54 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002746/5.908, allocations: 89.34 kB / 3.067 GB, free: 14.49 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 7.389/13.3, allocations: 1.454 GB / 4.522 GB, free: 19.28 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/13.3, allocations: 8.5 kB / 4.522 GB, free: 19.27 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005295/13.3, allocations: 0.5444 MB / 4.522 GB, free: 18.72 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005024/13.31, allocations: 1.239 MB / 4.523 GB, free: 17.43 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001837/13.31, allocations: 257.8 kB / 4.524 GB, free: 17.18 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003865/13.31, allocations: 64 kB / 4.524 GB, free: 17.11 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002439/13.31, allocations: 0.7302 MB / 4.524 GB, free: 16.38 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002584/13.31, allocations: 1.075 MB / 4.525 GB, free: 15.21 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.602e-05/13.31, allocations: 3.938 kB / 4.525 GB, free: 15.2 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001584/13.32, allocations: 4 kB / 4.525 GB, free: 15.2 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.788e-05/13.32, allocations: 45.98 kB / 4.525 GB, free: 15.15 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01359/13.33, allocations: 6.516 MB / 4.532 GB, free: 8.215 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001991/13.33, allocations: 464.5 kB / 4.532 GB, free: 7.734 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007255/13.33, allocations: 197.2 kB / 4.532 GB, free: 7.539 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009814/13.33, allocations: 376.7 kB / 4.533 GB, free: 7.098 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.269e-05/13.33, allocations: 30.84 kB / 4.533 GB, free: 7.059 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=33): time 6.102e-06/13.33, allocations: 0 / 4.533 GB, free: 7.059 MB / 0.9636 GB Notification: Performance of matching and sorting (n=33): time 0.004075/13.34, allocations: 0.518 MB / 4.533 GB, free: 6.535 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/13.34, allocations: 59.34 kB / 4.533 GB, free: 6.465 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00301/13.34, allocations: 0.8266 MB / 4.534 GB, free: 5.629 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0002041/13.34, allocations: 29.7 kB / 4.534 GB, free: 5.594 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003496/13.34, allocations: 0.5173 MB / 4.535 GB, free: 5.066 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001412/13.34, allocations: 122.3 kB / 4.535 GB, free: 4.945 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.744e-05/13.34, allocations: 0 / 4.535 GB, free: 4.945 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.432e-05/13.34, allocations: 333.9 kB / 4.535 GB, free: 4.613 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005231/13.34, allocations: 193.2 kB / 4.535 GB, free: 4.422 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007331/13.34, allocations: 0.5595 MB / 4.536 GB, free: 3.691 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009122/13.34, allocations: 315 kB / 4.536 GB, free: 3.387 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.436e-06/13.34, allocations: 4 kB / 4.536 GB, free: 3.383 MB / 0.9636 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002173/13.35, allocations: 0.7575 MB / 4.537 GB, free: 2.617 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.001405/13.35, allocations: 4.096 MB / 4.541 GB, free: 14.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.368e-05/13.35, allocations: 8.094 kB / 4.541 GB, free: 14.19 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.367e-05/13.35, allocations: 19.98 kB / 4.541 GB, free: 14.17 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001894/13.35, allocations: 215.7 kB / 4.541 GB, free: 13.96 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.466e-05/13.35, allocations: 27.86 kB / 4.541 GB, free: 13.93 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002548/13.35, allocations: 187.2 kB / 4.541 GB, free: 13.75 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000198/13.35, allocations: 39.98 kB / 4.541 GB, free: 13.71 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/13.35, allocations: 4 kB / 4.541 GB, free: 13.7 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002066/13.35, allocations: 0.6125 MB / 4.542 GB, free: 13.09 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.65e-05/13.35, allocations: 12.97 kB / 4.542 GB, free: 13.08 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.931e-05/13.35, allocations: 16 kB / 4.542 GB, free: 13.06 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001742/13.36, allocations: 219.7 kB / 4.542 GB, free: 12.85 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.735e-05/13.36, allocations: 23.92 kB / 4.542 GB, free: 12.82 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00219/13.36, allocations: 151.4 kB / 4.542 GB, free: 12.68 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001338/13.36, allocations: 39.98 kB / 4.542 GB, free: 12.64 MB / 0.9792 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.0003171/13.36, allocations: 132.6 kB / 4.543 GB, free: 12.5 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003159/13.36, allocations: 114.5 kB / 4.543 GB, free: 12.39 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001886/13.36, allocations: 0.5054 MB / 4.543 GB, free: 11.87 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/13.36, allocations: 4 kB / 4.543 GB, free: 11.87 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/13.36, allocations: 0 / 4.543 GB, free: 11.87 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/13.36, allocations: 3.984 kB / 4.543 GB, free: 11.86 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005128/13.37, allocations: 1.683 MB / 4.545 GB, free: 10.08 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.053e-05/13.37, allocations: 4 kB / 4.545 GB, free: 10.08 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001077/13.37, allocations: 116.3 kB / 4.545 GB, free: 9.965 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.692e-05/13.37, allocations: 4 kB / 4.545 GB, free: 9.961 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.663e-05/13.37, allocations: 15.92 kB / 4.545 GB, free: 9.945 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.098e-06/13.37, allocations: 4 kB / 4.545 GB, free: 9.941 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.426e-06/13.37, allocations: 4 kB / 4.545 GB, free: 9.938 MB / 0.9792 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001796/13.37, allocations: 0.845 MB / 4.546 GB, free: 8.961 MB / 0.9792 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002792/13.37, allocations: 1.436 MB / 4.547 GB, free: 7.391 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009677/13.37, allocations: 259.5 kB / 4.547 GB, free: 7.117 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004866/13.37, allocations: 8 kB / 4.547 GB, free: 7.109 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002125/13.38, allocations: 111.9 kB / 4.548 GB, free: 7 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/13.38, allocations: 31.88 kB / 4.548 GB, free: 6.969 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.317e-05/13.38, allocations: 19.98 kB / 4.548 GB, free: 6.949 MB / 0.9792 GB Notification: Performance of sort global known variables: time 0.001648/13.38, allocations: 0.6202 MB / 4.548 GB, free: 6.324 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.009113/13.39, allocations: 1.643 MB / 4.55 GB, free: 4.68 MB / 0.9792 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.00705/13.39, allocations: 3.51 MB / 4.553 GB, free: 0.8203 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.4109/13.8, allocations: 0.8247 MB / 4.554 GB, free: 220.3 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-05/13.8, allocations: 3.125 kB / 4.554 GB, free: 220.3 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0009559/13.81, allocations: 181.7 kB / 4.554 GB, free: 220.3 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005307/13.81, allocations: 374 kB / 4.555 GB, free: 220.3 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01091/13.82, allocations: 1.682 MB / 4.556 GB, free: 219.8 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00206/13.82, allocations: 1.305 MB / 4.557 GB, free: 219 MB / 0.9792 GB Notification: Performance of SimCode: time 2.304e-06/13.82, allocations: 0 / 4.557 GB, free: 219 MB / 0.9792 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example4_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example4.fmu > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1)