Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.Tutorial.Boiler.System2.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.Examples.Tutorial.Boiler.System2,fileNamePrefix="Buildings_8_Buildings_Examples_Tutorial_Boiler_System2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System2,fileNamePrefix="Buildings_8_Buildings_Examples_Tutorial_Boiler_System2",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.479/1.479, allocations: 289.8 MB / 297.1 MB, free: 8.992 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.001216/0.001216, allocations: 181.3 kB / 366.3 MB, free: 11.34 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.252/1.252, allocations: 205.1 MB / 0.6256 GB, free: 11.46 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009522/0.0009521, allocations: 85.2 kB / 0.7396 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.4571/0.4581, allocations: 122.4 MB / 0.8591 GB, free: 148 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1797/0.6378, allocations: 116.3 MB / 0.9726 GB, free: 31.66 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.748/4.386, allocations: 2.376 GB / 3.349 GB, free: 324 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001739/4.386, allocations: 88.83 kB / 3.349 GB, free: 323.9 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: 586 * Number of variables: 586 Notification: Performance of Generate backend data structure: time 3.232/7.618, allocations: 1.33 GB / 4.679 GB, free: 66.75 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/7.618, allocations: 8 kB / 4.679 GB, free: 66.74 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002826/7.62, allocations: 0.6081 MB / 4.68 GB, free: 66.12 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008571/7.629, allocations: 4.756 MB / 4.684 GB, free: 61.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.801e-05/7.629, allocations: 76 kB / 4.685 GB, free: 61.23 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003155/7.629, allocations: 144 kB / 4.685 GB, free: 61.09 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003457/7.633, allocations: 2.461 MB / 4.687 GB, free: 58.62 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003526/7.636, allocations: 2.787 MB / 4.69 GB, free: 55.67 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.43e-05/7.637, allocations: 11.94 kB / 4.69 GB, free: 55.66 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002084/7.637, allocations: 4 kB / 4.69 GB, free: 55.66 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.43e-05/7.637, allocations: 96.38 kB / 4.69 GB, free: 55.56 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01406/7.651, allocations: 12.97 MB / 4.703 GB, free: 42 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00214/7.653, allocations: 1.863 MB / 4.704 GB, free: 40.13 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001196/7.654, allocations: 1.075 MB / 4.705 GB, free: 39.06 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005649/7.66, allocations: 4.119 MB / 4.709 GB, free: 34.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001159/7.661, allocations: 0.9716 MB / 4.71 GB, free: 33.72 MB / 0.948 GB Notification: Performance of pre-optimization done (n=143): time 3.707e-06/7.661, allocations: 0 / 4.71 GB, free: 33.72 MB / 0.948 GB Notification: Performance of matching and sorting (n=147): time 0.01053/7.672, allocations: 4.902 MB / 4.715 GB, free: 28.73 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.529e-05/7.672, allocations: 124.1 kB / 4.715 GB, free: 28.59 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002761/7.674, allocations: 2.43 MB / 4.718 GB, free: 26.15 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001441/7.675, allocations: 36.38 kB / 4.718 GB, free: 26.11 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007229/7.675, allocations: 1.012 MB / 4.719 GB, free: 25.08 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005008/7.676, allocations: 0.4927 MB / 4.719 GB, free: 24.58 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000115/7.676, allocations: 4 kB / 4.719 GB, free: 24.58 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.12e-05/7.676, allocations: 390.2 kB / 4.72 GB, free: 24.19 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001145/7.677, allocations: 0.9335 MB / 4.721 GB, free: 23.25 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001341/7.679, allocations: 1.553 MB / 4.722 GB, free: 21.41 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002435/7.681, allocations: 1.332 MB / 4.723 GB, free: 20.09 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/7.681, allocations: 4 kB / 4.723 GB, free: 20.08 MB / 0.948 GB Notification: Performance of matching and sorting (n=273) (initialization): time 0.005086/7.686, allocations: 3.019 MB / 4.726 GB, free: 17.05 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008774/7.687, allocations: 7.072 MB / 4.733 GB, free: 9.406 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.681e-05/7.687, allocations: 20 kB / 4.733 GB, free: 9.387 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001051/7.688, allocations: 283.6 kB / 4.733 GB, free: 9.105 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001908/7.69, allocations: 487.2 kB / 4.734 GB, free: 8.629 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002541/7.693, allocations: 2.583 MB / 4.736 GB, free: 5.902 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002467/7.695, allocations: 167.4 kB / 4.737 GB, free: 5.738 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002013/7.695, allocations: 112 kB / 4.737 GB, free: 5.629 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.809e-06/7.695, allocations: 7.938 kB / 4.737 GB, free: 5.621 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004112/7.699, allocations: 2.56 MB / 4.739 GB, free: 3.055 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.134e-05/7.699, allocations: 20 kB / 4.739 GB, free: 3.035 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009772/7.7, allocations: 296.1 kB / 4.74 GB, free: 2.742 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001696/7.702, allocations: 475.2 kB / 4.74 GB, free: 2.277 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002681/7.705, allocations: 2.592 MB / 4.743 GB, free: 15.54 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002237/7.707, allocations: 147.5 kB / 4.743 GB, free: 15.39 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002033/7.707, allocations: 106.4 kB / 4.743 GB, free: 15.29 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.timTab.tab.nextTimeEvent,timTab.tab.nextTimeEvent,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEventScaled,$PRE.hysPum.y,hysPum.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (255): * Single equations (assignments): 250 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 1 {5 6} Notification: Performance of prepare postOptimizeDAE: time 0.0004244/7.708, allocations: 167.6 kB / 4.743 GB, free: 15.12 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005283/7.708, allocations: 292.4 kB / 4.743 GB, free: 14.83 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005056/7.713, allocations: 2.497 MB / 4.746 GB, free: 12.3 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.906e-05/7.713, allocations: 19.91 kB / 4.746 GB, free: 12.29 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/7.713, allocations: 8 kB / 4.746 GB, free: 12.28 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003591/7.717, allocations: 2.121 MB / 4.748 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00863/7.726, allocations: 5.026 MB / 4.753 GB, free: 4.961 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/7.726, allocations: 0 / 4.753 GB, free: 4.961 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001414/7.727, allocations: 271.8 kB / 4.753 GB, free: 4.695 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001082/7.728, allocations: 332.7 kB / 4.753 GB, free: 4.352 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001166/7.728, allocations: 27.97 kB / 4.753 GB, free: 4.324 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3205/8.049, allocations: 8.587 MB / 4.762 GB, free: 217.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.905e-06/8.049, allocations: 6.594 kB / 4.762 GB, free: 217.2 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005235/8.054, allocations: 3.562 MB / 4.765 GB, free: 216.8 MB / 0.9636 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005943/8.06, allocations: 5.226 MB / 4.77 GB, free: 216 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001234/8.061, allocations: 0.6451 MB / 4.771 GB, free: 215.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004202/8.062, allocations: 15.17 kB / 4.771 GB, free: 215.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001627/8.063, allocations: 109.6 kB / 4.771 GB, free: 215.9 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001861/8.064, allocations: 101.4 kB / 4.771 GB, free: 215.9 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001471/8.064, allocations: 71.03 kB / 4.771 GB, free: 215.9 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.002081/8.066, allocations: 1.809 MB / 4.773 GB, free: 215.8 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.006538/8.072, allocations: 2.198 MB / 4.775 GB, free: 215.8 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 12 (vol.hOut_internal,vol.dynBal.medium.Xi[1],vol.dynBal.m,rad.vol[1].dynBal.U,rad.vol[2].dynBal.U,rad.vol[3].dynBal.U,rad.vol[4].dynBal.U,rad.vol[5].dynBal.U,temSup.T,pumRad.vol.dynBal.U,pumRad.filter.x[1],pumRad.filter.x[2]) * Number of discrete variables: 4 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled,hysPum.y) * Number of discrete states: 3 (timTab.tab.nextTimeEvent,hysPum.y,timTab.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 4,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002669/8.075, allocations: 2.117 MB / 4.777 GB, free: 215.4 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.005252/8.08, allocations: 3.937 MB / 4.781 GB, free: 215.1 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/8.08, allocations: 2.719 kB / 4.781 GB, free: 215.1 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001567/8.082, allocations: 1.595 MB / 4.783 GB, free: 214.5 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005477/8.087, allocations: 1.386 MB / 4.784 GB, free: 214.5 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008308/8.096, allocations: 5.521 MB / 4.789 GB, free: 213.4 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002285/8.098, allocations: 2.757 MB / 4.792 GB, free: 212.6 MB / 0.9636 GB Notification: Performance of SimCode: time 7.21e-07/8.098, allocations: 0 / 4.792 GB, free: 212.6 MB / 0.9636 GB (rm -f Buildings_8_Buildings.Examples.Tutorial.Boiler.System2.pipe ; mkfifo Buildings_8_Buildings.Examples.Tutorial.Boiler.System2.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.Tutorial.Boiler.System2.pipe >> ../files/Buildings_8_Buildings.Examples.Tutorial.Boiler.System2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Examples_Tutorial_Boiler_System2_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Examples_Tutorial_Boiler_System2.fmu > Buildings_8_Buildings.Examples.Tutorial.Boiler.System2.pipe 2>&1)