Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.286/2.286, allocations: 390.4 MB / 397.7 MB, free: 11.21 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.001111/0.001111, allocations: 178.5 kB / 490.8 MB, free: 1.906 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.516/1.516, allocations: 221.3 MB / 0.7863 GB, free: 13.62 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 95.91 kB / 0.9264 GB, free: 14.14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.707/0.708, allocations: 149.1 MB / 1.072 GB, free: 182.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3281/1.036, allocations: 143 MB / 1.212 GB, free: 39.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.611/5.647, allocations: 1.952 GB / 3.163 GB, free: 384.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000242/5.647, allocations: 83.95 kB / 3.163 GB, free: 384.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 5.216/10.86, allocations: 1.471 GB / 4.635 GB, free: 178.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/10.86, allocations: 7.75 kB / 4.635 GB, free: 178.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004065/10.87, allocations: 0.544 MB / 4.635 GB, free: 178.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004423/10.87, allocations: 1.237 MB / 4.636 GB, free: 177.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000987/10.87, allocations: 268 kB / 4.637 GB, free: 177.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004098/10.87, allocations: 57.56 kB / 4.637 GB, free: 177.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002088/10.88, allocations: 0.7264 MB / 4.637 GB, free: 177.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002504/10.88, allocations: 1.076 MB / 4.639 GB, free: 176.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.114e-05/10.88, allocations: 5.938 kB / 4.639 GB, free: 176.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001816/10.88, allocations: 6.312 kB / 4.639 GB, free: 176.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.558e-05/10.88, allocations: 48.48 kB / 4.639 GB, free: 176.4 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01022/10.89, allocations: 6.586 MB / 4.645 GB, free: 170.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000992/10.89, allocations: 461.3 kB / 4.645 GB, free: 170.4 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003406/10.89, allocations: 191.4 kB / 4.646 GB, free: 170.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004982/10.89, allocations: 378.2 kB / 4.646 GB, free: 169.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/10.89, allocations: 33.56 kB / 4.646 GB, free: 169.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=33): time 2.836e-06/10.89, allocations: 0 / 4.646 GB, free: 169.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=33): time 0.001918/10.89, allocations: 0.5203 MB / 4.647 GB, free: 169.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/10.89, allocations: 55.34 kB / 4.647 GB, free: 169.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001823/10.89, allocations: 0.8325 MB / 4.647 GB, free: 169.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001167/10.89, allocations: 26.77 kB / 4.647 GB, free: 169.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004461/10.89, allocations: 0.514 MB / 4.648 GB, free: 168.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001413/10.9, allocations: 113.3 kB / 4.648 GB, free: 168.5 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.136e-05/10.9, allocations: 3.938 kB / 4.648 GB, free: 168.5 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.523e-05/10.9, allocations: 332.6 kB / 4.648 GB, free: 168.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003685/10.9, allocations: 201.1 kB / 4.649 GB, free: 168.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005089/10.9, allocations: 0.547 MB / 4.649 GB, free: 167.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006429/10.9, allocations: 305.1 kB / 4.649 GB, free: 167.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-05/10.9, allocations: 2.219 kB / 4.649 GB, free: 167.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001766/10.9, allocations: 0.7663 MB / 4.65 GB, free: 167 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001067/10.9, allocations: 4.094 MB / 4.654 GB, free: 162.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.503e-05/10.9, allocations: 13.84 kB / 4.654 GB, free: 162.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.414e-05/10.9, allocations: 15.75 kB / 4.654 GB, free: 162.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/10.9, allocations: 216.5 kB / 4.654 GB, free: 162.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.815e-05/10.9, allocations: 17.56 kB / 4.654 GB, free: 162.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001748/10.9, allocations: 196.6 kB / 4.655 GB, free: 162.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001394/10.9, allocations: 45.39 kB / 4.655 GB, free: 162.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/10.9, allocations: 6.828 kB / 4.655 GB, free: 162.5 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001311/10.9, allocations: 0.6099 MB / 4.655 GB, free: 162.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.666e-05/10.9, allocations: 9.469 kB / 4.655 GB, free: 162.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.389e-05/10.9, allocations: 15.94 kB / 4.655 GB, free: 162.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009017/10.9, allocations: 222.3 kB / 4.655 GB, free: 162.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.935e-05/10.9, allocations: 21.33 kB / 4.655 GB, free: 162.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001448/10.91, allocations: 149.9 kB / 4.656 GB, free: 162.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001176/10.91, allocations: 41.67 kB / 4.656 GB, free: 162.1 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.0002725/10.91, allocations: 136.3 kB / 4.656 GB, free: 162 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003603/10.91, allocations: 110.6 kB / 4.656 GB, free: 161.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001318/10.91, allocations: 0.5071 MB / 4.656 GB, free: 161.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.315e-06/10.91, allocations: 3.344 kB / 4.656 GB, free: 161.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/10.91, allocations: 0 / 4.656 GB, free: 161.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/10.91, allocations: 1.625 kB / 4.656 GB, free: 161.6 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004254/10.91, allocations: 1.692 MB / 4.658 GB, free: 160.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/10.91, allocations: 3.812 kB / 4.658 GB, free: 160.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007285/10.91, allocations: 111.8 kB / 4.658 GB, free: 160.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.244e-05/10.91, allocations: 3.531 kB / 4.658 GB, free: 160.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.341e-05/10.91, allocations: 6.562 kB / 4.658 GB, free: 160.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.346e-06/10.91, allocations: 14.33 kB / 4.658 GB, free: 160.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/10.91, allocations: 3.281 kB / 4.658 GB, free: 160.4 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001192/10.91, allocations: 0.843 MB / 4.659 GB, free: 159.7 MB / 1.167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001804/10.92, allocations: 1.415 MB / 4.66 GB, free: 158.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006839/10.92, allocations: 263.5 kB / 4.661 GB, free: 158.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004224/10.92, allocations: 11.28 kB / 4.661 GB, free: 158.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001229/10.92, allocations: 114.1 kB / 4.661 GB, free: 158.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.8e-05/10.92, allocations: 24.94 kB / 4.661 GB, free: 158.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.322e-05/10.92, allocations: 27.41 kB / 4.661 GB, free: 158.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.001198/10.92, allocations: 0.6214 MB / 4.661 GB, free: 157.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.007055/10.93, allocations: 1.642 MB / 4.663 GB, free: 156.7 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.005853/10.93, allocations: 3.504 MB / 4.666 GB, free: 155 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001951/10.94, allocations: 0.8338 MB / 4.667 GB, free: 154.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/10.94, allocations: 0 / 4.667 GB, free: 154.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004092/10.94, allocations: 181.8 kB / 4.667 GB, free: 154.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002753/10.94, allocations: 375.1 kB / 4.668 GB, free: 154.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007624/10.95, allocations: 1.681 MB / 4.669 GB, free: 153.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002067/10.95, allocations: 1.31 MB / 4.671 GB, free: 152.5 MB / 1.167 GB Notification: Performance of SimCode: time 1.192e-06/10.95, allocations: 0 / 4.671 GB, free: 152.5 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Examples.Performance.Example4_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Examples_Performance_Example4_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Examples_Performance_Example4.fmu > Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1)