Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System2,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Examples_Tutorial_Boiler_System2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System2,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.293/1.293, allocations: 249.4 MB / 256.7 MB, free: 7.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001023/0.001024, allocations: 184.5 kB / 316 MB, free: 3.531 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.255/1.255, allocations: 205.2 MB / 0.5667 GB, free: 15.59 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008662/0.0008661, allocations: 83.41 kB / 0.671 GB, free: 4.727 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3481/0.349, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1667/0.5157, allocations: 106.3 MB / 0.8846 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.545/5.061, allocations: 2.493 GB / 3.378 GB, free: 255.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002042/5.061, allocations: 91.23 kB / 3.378 GB, free: 255.6 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 588 * Number of variables: 588 Notification: Performance of Generate backend data structure: time 3.816/8.878, allocations: 1.3 GB / 4.678 GB, free: 88.96 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/8.878, allocations: 10.41 kB / 4.678 GB, free: 88.96 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004388/8.882, allocations: 0.6077 MB / 4.678 GB, free: 88.75 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01154/8.894, allocations: 4.737 MB / 4.683 GB, free: 88.28 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001021/8.894, allocations: 73.34 kB / 4.683 GB, free: 88.28 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006484/8.894, allocations: 149.9 kB / 4.683 GB, free: 88.27 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004054/8.899, allocations: 2.459 MB / 4.685 GB, free: 88.26 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004055/8.903, allocations: 2.77 MB / 4.688 GB, free: 87.85 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.952e-05/8.903, allocations: 7.531 kB / 4.688 GB, free: 87.85 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002322/8.903, allocations: 7.594 kB / 4.688 GB, free: 87.85 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.608e-05/8.903, allocations: 105.2 kB / 4.688 GB, free: 87.84 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01666/8.92, allocations: 12.92 MB / 4.701 GB, free: 82.45 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002377/8.922, allocations: 1.862 MB / 4.703 GB, free: 82.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00131/8.923, allocations: 1.084 MB / 4.704 GB, free: 82.38 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006511/8.93, allocations: 4.101 MB / 4.708 GB, free: 80.96 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001259/8.931, allocations: 0.9576 MB / 4.709 GB, free: 80.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=143): time 3.306e-06/8.931, allocations: 0 / 4.709 GB, free: 80.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=147): time 0.01198/8.943, allocations: 4.883 MB / 4.713 GB, free: 79.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/8.943, allocations: 119.8 kB / 4.714 GB, free: 79.78 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003464/8.947, allocations: 2.433 MB / 4.716 GB, free: 79.52 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003202/8.947, allocations: 29.64 kB / 4.716 GB, free: 79.49 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008197/8.948, allocations: 1.01 MB / 4.717 GB, free: 78.96 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005978/8.949, allocations: 0.4998 MB / 4.717 GB, free: 78.64 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/8.949, allocations: 0 / 4.717 GB, free: 78.64 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000101/8.949, allocations: 387.2 kB / 4.718 GB, free: 78.33 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0012/8.95, allocations: 0.9375 MB / 4.719 GB, free: 78.32 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001458/8.951, allocations: 1.562 MB / 4.72 GB, free: 77.59 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00248/8.954, allocations: 1.307 MB / 4.722 GB, free: 77.57 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.645e-06/8.954, allocations: 4.688 kB / 4.722 GB, free: 77.57 MB / 0.8698 GB Notification: Performance of matching and sorting (n=273) (initialization): time 0.005506/8.959, allocations: 3 MB / 4.724 GB, free: 77.34 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001291/8.961, allocations: 7.066 MB / 4.731 GB, free: 69.93 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.339e-05/8.961, allocations: 22.28 kB / 4.731 GB, free: 69.93 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001074/8.962, allocations: 286.4 kB / 4.732 GB, free: 69.91 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002015/8.964, allocations: 492.1 kB / 4.732 GB, free: 69.91 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002622/8.967, allocations: 2.589 MB / 4.735 GB, free: 68.11 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003054/8.97, allocations: 161.2 kB / 4.735 GB, free: 68.09 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000266/8.97, allocations: 110.9 kB / 4.735 GB, free: 68.09 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 7.023e-06/8.97, allocations: 3.656 kB / 4.735 GB, free: 68.09 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00461/8.975, allocations: 2.55 MB / 4.737 GB, free: 68.02 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.866e-05/8.975, allocations: 20.39 kB / 4.737 GB, free: 68.02 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001/8.976, allocations: 290.2 kB / 4.738 GB, free: 68.01 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001733/8.977, allocations: 489.7 kB / 4.738 GB, free: 68.01 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002578/8.98, allocations: 2.592 MB / 4.741 GB, free: 66.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002772/8.983, allocations: 141.6 kB / 4.741 GB, free: 66.18 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002065/8.983, allocations: 105.5 kB / 4.741 GB, free: 66.18 MB / 0.8698 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.0005685/8.984, allocations: 170.1 kB / 4.741 GB, free: 66.07 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006029/8.984, allocations: 284.7 kB / 4.741 GB, free: 65.92 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004456/8.989, allocations: 2.494 MB / 4.744 GB, free: 65.74 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.691e-05/8.989, allocations: 18.08 kB / 4.744 GB, free: 65.74 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/8.989, allocations: 3.938 kB / 4.744 GB, free: 65.74 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002991/8.992, allocations: 2.117 MB / 4.746 GB, free: 65.31 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008278/9, allocations: 4.998 MB / 4.751 GB, free: 64.88 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.675e-06/9, allocations: 0 / 4.751 GB, free: 64.88 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001304/9.001, allocations: 287.6 kB / 4.751 GB, free: 64.88 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001004/9.002, allocations: 326.5 kB / 4.751 GB, free: 64.83 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001156/9.002, allocations: 28.38 kB / 4.751 GB, free: 64.83 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004726/9.007, allocations: 8.584 MB / 4.76 GB, free: 57.61 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/9.007, allocations: 9.297 kB / 4.76 GB, free: 57.6 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005287/9.012, allocations: 3.568 MB / 4.763 GB, free: 57 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006318/9.019, allocations: 5.221 MB / 4.768 GB, free: 56.02 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001751/9.021, allocations: 0.6334 MB / 4.769 GB, free: 55.78 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005205/9.021, allocations: 14.56 kB / 4.769 GB, free: 55.78 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001697/9.023, allocations: 102.1 kB / 4.769 GB, free: 55.77 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001805/9.023, allocations: 98.75 kB / 4.769 GB, free: 55.77 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000142/9.023, allocations: 69.53 kB / 4.769 GB, free: 55.77 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.002352/9.026, allocations: 1.814 MB / 4.771 GB, free: 55.62 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.007163/9.033, allocations: 2.165 MB / 4.773 GB, free: 55.54 MB / 0.8698 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.002893/9.036, allocations: 2.126 MB / 4.775 GB, free: 55 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.005877/9.042, allocations: 3.935 MB / 4.779 GB, free: 54.68 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/9.042, allocations: 2.297 kB / 4.779 GB, free: 54.68 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001685/9.043, allocations: 1.592 MB / 4.781 GB, free: 54.07 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006355/9.05, allocations: 1.371 MB / 4.782 GB, free: 54.04 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009731/9.059, allocations: 5.527 MB / 4.787 GB, free: 52.94 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002374/9.062, allocations: 2.752 MB / 4.79 GB, free: 52.15 MB / 0.8698 GB Notification: Performance of SimCode: time 1.052e-06/9.062, allocations: 3.969 kB / 4.79 GB, free: 52.15 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Examples_Tutorial_Boiler_System2_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Examples_Tutorial_Boiler_System2.fmu > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System2.pipe 2>&1)