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: translateModel(Buildings.Examples.Tutorial.Boiler.System2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.Boiler.System2") translateModel(Buildings.Examples.Tutorial.Boiler.System2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.Boiler.System2") [: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.328/1.328, allocations: 289.8 MB / 297.1 MB, free: 6.68 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.000958/0.0009583, allocations: 173.3 kB / 366.3 MB, free: 1.996 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.011/1.011, allocations: 205.1 MB / 0.6256 GB, free: 5.832 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.0007426/0.0007427, allocations: 85.62 kB / 0.7395 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.412e-06/6.412e-06, allocations: 4 kB / 0.859 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3981/0.3982, allocations: 116.3 MB / 0.9725 GB, free: 68.74 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.152/3.55, allocations: 2.376 GB / 3.349 GB, free: 83.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001717/3.551, allocations: 84.45 kB / 3.349 GB, free: 83.42 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.352/6.903, allocations: 1.327 GB / 4.676 GB, free: 152.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000305/6.903, allocations: 99.84 kB / 4.676 GB, free: 152.6 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 0.006063/6.909, allocations: 3.365 MB / 4.679 GB, free: 151 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/6.909, allocations: 6.688 kB / 4.679 GB, free: 151 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002971/6.912, allocations: 0.6038 MB / 4.68 GB, free: 150.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008986/6.921, allocations: 4.758 MB / 4.684 GB, free: 150.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.461e-05/6.922, allocations: 78.19 kB / 4.684 GB, free: 150.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003057/6.922, allocations: 144.5 kB / 4.685 GB, free: 150.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003373/6.925, allocations: 2.47 MB / 4.687 GB, free: 150.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003503/6.929, allocations: 2.784 MB / 4.69 GB, free: 149.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.301e-05/6.929, allocations: 6.969 kB / 4.69 GB, free: 149.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002066/6.929, allocations: 7.406 kB / 4.69 GB, free: 149.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.737e-05/6.929, allocations: 99.02 kB / 4.69 GB, free: 149.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01413/6.943, allocations: 12.97 MB / 4.703 GB, free: 144 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002482/6.946, allocations: 1.852 MB / 4.704 GB, free: 144 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001218/6.947, allocations: 1.08 MB / 4.705 GB, free: 143.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00609/6.953, allocations: 4.118 MB / 4.709 GB, free: 141.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001181/6.954, allocations: 0.965 MB / 4.71 GB, free: 141.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=143): time 3.817e-06/6.954, allocations: 6.969 kB / 4.71 GB, free: 141.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=147): time 0.01107/6.965, allocations: 4.896 MB / 4.715 GB, free: 139.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/6.965, allocations: 120.9 kB / 4.715 GB, free: 139.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003003/6.968, allocations: 2.435 MB / 4.718 GB, free: 138.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002315/6.969, allocations: 28.14 kB / 4.718 GB, free: 138.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007696/6.97, allocations: 1.016 MB / 4.719 GB, free: 137.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005501/6.97, allocations: 0.4921 MB / 4.719 GB, free: 137 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/6.97, allocations: 0 / 4.719 GB, free: 137 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.417e-05/6.97, allocations: 391.8 kB / 4.719 GB, free: 136.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001142/6.971, allocations: 0.9334 MB / 4.72 GB, free: 136.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001332/6.973, allocations: 1.563 MB / 4.722 GB, free: 135.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002493/6.975, allocations: 1.33 MB / 4.723 GB, free: 134.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/6.975, allocations: 2.656 kB / 4.723 GB, free: 134.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=273) (initialization): time 0.005513/6.981, allocations: 3.027 MB / 4.726 GB, free: 133.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008714/6.982, allocations: 7.059 MB / 4.733 GB, free: 126.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.747e-05/6.982, allocations: 17.62 kB / 4.733 GB, free: 126.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001019/6.983, allocations: 294.6 kB / 4.733 GB, free: 126 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001891/6.985, allocations: 487.5 kB / 4.734 GB, free: 126 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002503/6.987, allocations: 2.586 MB / 4.736 GB, free: 123.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002757/6.99, allocations: 163 kB / 4.737 GB, free: 123.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002119/6.99, allocations: 112.3 kB / 4.737 GB, free: 123.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 6.111e-06/6.99, allocations: 2.844 kB / 4.737 GB, free: 123.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004387/6.995, allocations: 2.564 MB / 4.739 GB, free: 123 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.221e-05/6.995, allocations: 21 kB / 4.739 GB, free: 123 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001037/6.996, allocations: 291.3 kB / 4.739 GB, free: 122.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00186/6.998, allocations: 482.1 kB / 4.74 GB, free: 122.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002729/7, allocations: 2.583 MB / 4.742 GB, free: 120.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002735/7.003, allocations: 139.4 kB / 4.743 GB, free: 120.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002078/7.003, allocations: 109.4 kB / 4.743 GB, free: 120.7 MB / 0.948 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.0005322/7.004, allocations: 179.7 kB / 4.743 GB, free: 120.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005793/7.004, allocations: 291.8 kB / 4.743 GB, free: 120.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004362/7.009, allocations: 2.497 MB / 4.746 GB, free: 118.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.547e-05/7.009, allocations: 19.91 kB / 4.746 GB, free: 118.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/7.009, allocations: 7.703 kB / 4.746 GB, free: 118.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002892/7.012, allocations: 2.116 MB / 4.748 GB, free: 116.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007981/7.02, allocations: 5.026 MB / 4.753 GB, free: 112.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/7.02, allocations: 0 / 4.753 GB, free: 112.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00127/7.021, allocations: 278.2 kB / 4.753 GB, free: 112.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009784/7.022, allocations: 330.9 kB / 4.753 GB, free: 112 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001089/7.022, allocations: 25.72 kB / 4.753 GB, free: 111.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004587/7.027, allocations: 8.589 MB / 4.762 GB, free: 103.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/7.027, allocations: 0.5156 kB / 4.762 GB, free: 103.1 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00482/7.032, allocations: 3.579 MB / 4.765 GB, free: 99.78 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001271/7.033, allocations: 0.6401 MB / 4.766 GB, free: 99.21 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004139/7.033, allocations: 19.19 kB / 4.766 GB, free: 99.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00159/7.035, allocations: 104.6 kB / 4.766 GB, free: 99.12 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001718/7.035, allocations: 92.08 kB / 4.766 GB, free: 99.07 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001408/7.035, allocations: 75.84 kB / 4.766 GB, free: 99.01 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.002028/7.037, allocations: 1.815 MB / 4.768 GB, free: 97.42 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004472/7.042, allocations: 1.689 MB / 4.769 GB, free: 95.76 MB / 0.948 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.002503/7.044, allocations: 2.114 MB / 4.771 GB, free: 94.01 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.005178/7.049, allocations: 3.94 MB / 4.775 GB, free: 90.39 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/7.049, allocations: 4.656 kB / 4.775 GB, free: 90.39 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001541/7.051, allocations: 1.595 MB / 4.777 GB, free: 88.84 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005406/7.056, allocations: 1.384 MB / 4.778 GB, free: 87.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008054/7.064, allocations: 5.505 MB / 4.784 GB, free: 82.89 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002187/7.067, allocations: 2.72 MB / 4.786 GB, free: 80.75 MB / 0.948 GB Notification: Performance of SimCode: time 4.31e-07/7.067, allocations: 0 / 4.786 GB, free: 80.75 MB / 0.948 GB Notification: Performance of Templates: time 0.09205/7.159, allocations: 78.91 MB / 4.863 GB, free: 3.016 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Examples.Tutorial.Boiler.System2.makefile (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 & ./Buildings_8_Buildings.Examples.Tutorial.Boiler.System2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.Tutorial.Boiler.System2.pipe 2>&1)