Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.Example4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.865/1.865, allocations: 289.8 MB / 297.1 MB, free: 6.637 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.001673/0.001673, allocations: 183.3 kB / 366.3 MB, free: 2.004 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.87/1.87, allocations: 205.1 MB / 0.6256 GB, free: 5.84 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.0009466/0.0009466, allocations: 91.75 kB / 0.7395 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3489/0.3499, allocations: 122.4 MB / 0.8591 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8606/1.211, allocations: 116.3 MB / 0.9726 GB, free: 68.54 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.153/6.364, allocations: 2.106 GB / 3.078 GB, free: 352.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002573/6.364, allocations: 85.02 kB / 3.078 GB, free: 352.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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 5.452/11.82, allocations: 1.454 GB / 4.533 GB, free: 130.5 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.579e-05/11.82, allocations: 11 kB / 4.533 GB, free: 130.5 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00408/11.82, allocations: 0.5454 MB / 4.533 GB, free: 130.4 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004844/11.83, allocations: 1.238 MB / 4.534 GB, free: 130.1 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009941/11.83, allocations: 258.8 kB / 4.535 GB, free: 130.1 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003839/11.83, allocations: 60.06 kB / 4.535 GB, free: 130.1 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001957/11.83, allocations: 0.7311 MB / 4.535 GB, free: 130.1 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002432/11.83, allocations: 1.071 MB / 4.536 GB, free: 129.8 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.632e-05/11.83, allocations: 3.562 kB / 4.536 GB, free: 129.8 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001615/11.83, allocations: 10.98 kB / 4.536 GB, free: 129.8 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-05/11.83, allocations: 39.5 kB / 4.536 GB, free: 129.8 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009774/11.84, allocations: 6.527 MB / 4.543 GB, free: 125.7 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000786/11.84, allocations: 455.4 kB / 4.543 GB, free: 125.6 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002933/11.84, allocations: 194.5 kB / 4.543 GB, free: 125.6 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004774/11.84, allocations: 365.5 kB / 4.544 GB, free: 125.2 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/11.84, allocations: 43.75 kB / 4.544 GB, free: 125.2 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=33): time 2.975e-06/11.84, allocations: 0 / 4.544 GB, free: 125.2 MB / 0.9792 GB Notification: Performance of matching and sorting (n=33): time 0.001668/11.84, allocations: 0.517 MB / 4.544 GB, free: 125.1 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.49e-05/11.84, allocations: 58.41 kB / 4.544 GB, free: 125 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001536/11.85, allocations: 0.827 MB / 4.545 GB, free: 124.9 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.000102/11.85, allocations: 29.61 kB / 4.545 GB, free: 124.8 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003763/11.85, allocations: 0.5134 MB / 4.546 GB, free: 124.6 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001219/11.85, allocations: 120.3 kB / 4.546 GB, free: 124.5 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-05/11.85, allocations: 0 / 4.546 GB, free: 124.5 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 7.538e-05/11.85, allocations: 336.9 kB / 4.546 GB, free: 124.2 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003352/11.85, allocations: 196.2 kB / 4.546 GB, free: 124.2 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004759/11.85, allocations: 0.5537 MB / 4.547 GB, free: 123.8 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005862/11.85, allocations: 316.2 kB / 4.547 GB, free: 123.8 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.958e-06/11.85, allocations: 6.188 kB / 4.547 GB, free: 123.8 MB / 0.9792 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001518/11.85, allocations: 0.7598 MB / 4.548 GB, free: 123.7 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008947/11.85, allocations: 4.093 MB / 4.552 GB, free: 119.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.682e-05/11.85, allocations: 15.91 kB / 4.552 GB, free: 119.4 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.109e-05/11.85, allocations: 14.22 kB / 4.552 GB, free: 119.4 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000966/11.85, allocations: 224.7 kB / 4.552 GB, free: 119.4 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.712e-05/11.85, allocations: 22.48 kB / 4.552 GB, free: 119.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001646/11.85, allocations: 185.1 kB / 4.552 GB, free: 119.4 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001244/11.85, allocations: 46.16 kB / 4.552 GB, free: 119.4 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/11.85, allocations: 3.875 kB / 4.552 GB, free: 119.4 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00124/11.86, allocations: 0.6134 MB / 4.553 GB, free: 119.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-05/11.86, allocations: 13.38 kB / 4.553 GB, free: 119.4 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/11.86, allocations: 17.12 kB / 4.553 GB, free: 119.4 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009112/11.86, allocations: 213.8 kB / 4.553 GB, free: 119.4 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.074e-05/11.86, allocations: 23.11 kB / 4.553 GB, free: 119.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001641/11.86, allocations: 150.8 kB / 4.553 GB, free: 119.4 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001256/11.86, allocations: 45.08 kB / 4.553 GB, free: 119.4 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.0003029/11.86, allocations: 134.8 kB / 4.554 GB, free: 119.3 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004208/11.86, allocations: 113.5 kB / 4.554 GB, free: 119.2 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001395/11.86, allocations: 0.5023 MB / 4.554 GB, free: 119.2 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/11.86, allocations: 3.562 kB / 4.554 GB, free: 119.2 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.565e-06/11.86, allocations: 0 / 4.554 GB, free: 119.2 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/11.86, allocations: 3.609 kB / 4.554 GB, free: 119.2 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00402/11.86, allocations: 1.684 MB / 4.556 GB, free: 118.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/11.86, allocations: 5.906 kB / 4.556 GB, free: 118.7 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005827/11.86, allocations: 110.1 kB / 4.556 GB, free: 118.7 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.378e-05/11.86, allocations: 7.938 kB / 4.556 GB, free: 118.7 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.933e-05/11.87, allocations: 7.25 kB / 4.556 GB, free: 118.7 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.554e-06/11.87, allocations: 14 kB / 4.556 GB, free: 118.7 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.515e-06/11.87, allocations: 6.781 kB / 4.556 GB, free: 118.7 MB / 0.9792 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001119/11.87, allocations: 0.8488 MB / 4.557 GB, free: 118.1 MB / 0.9792 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00191/11.87, allocations: 1.428 MB / 4.558 GB, free: 117.2 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000654/11.87, allocations: 260.5 kB / 4.558 GB, free: 117 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004481/11.87, allocations: 10.7 kB / 4.558 GB, free: 117 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001257/11.87, allocations: 109.7 kB / 4.559 GB, free: 117 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.28e-05/11.87, allocations: 29.02 kB / 4.559 GB, free: 117 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.318e-05/11.87, allocations: 24.61 kB / 4.559 GB, free: 117 MB / 0.9792 GB Notification: Performance of sort global known variables: time 0.001134/11.87, allocations: 0.6183 MB / 4.559 GB, free: 116.9 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.006813/11.88, allocations: 1.642 MB / 4.561 GB, free: 116.9 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.005641/11.88, allocations: 3.508 MB / 4.564 GB, free: 115.6 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.001816/11.89, allocations: 0.831 MB / 4.565 GB, free: 115.6 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/11.89, allocations: 1.75 kB / 4.565 GB, free: 115.6 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0003461/11.89, allocations: 187.3 kB / 4.565 GB, free: 115.6 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002449/11.89, allocations: 372.9 kB / 4.566 GB, free: 115.6 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005916/11.89, allocations: 1.672 MB / 4.567 GB, free: 115 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001525/11.9, allocations: 1.31 MB / 4.568 GB, free: 114.3 MB / 0.9792 GB Notification: Performance of SimCode: time 1.383e-06/11.9, allocations: 0 / 4.568 GB, free: 114.3 MB / 0.9792 GB (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.Example4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Examples_Performance_Example4_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Examples_Performance_Example4.fmu > Buildings_8_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1)