Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1") translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1") [: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 1.6.0+build.1/package.mo): time 0.496/0.496, allocations: 94.74 MB / 102 MB, free: 10.34 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00115/0.001151, allocations: 179.3 kB / 125.3 MB, free: 11.98 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.489/1.489, allocations: 170.5 MB / 319 MB, free: 9.289 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001782/0.001782, allocations: 103.2 kB / 381 MB, free: 18.16 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.248e-06/9.267e-06, allocations: 0 / 448.5 MB, free: 2.098 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1742/0.1742, allocations: 61.52 MB / 0.4981 GB, free: 4.477 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 13.07/13.24, allocations: 5.295 GB / 5.793 GB, free: 173.9 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002751/13.24, allocations: 83.58 kB / 5.793 GB, free: 173.9 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.281/13.52, allocations: 141.7 MB / 5.931 GB, free: 49.32 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.172e-05/13.52, allocations: 8 kB / 5.931 GB, free: 49.31 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001514/13.53, allocations: 0.7495 MB / 5.932 GB, free: 48.51 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/13.53, allocations: 16.02 kB / 5.932 GB, free: 48.49 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003338/13.53, allocations: 47.44 kB / 5.932 GB, free: 48.45 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001121/13.53, allocations: 0.5351 MB / 5.932 GB, free: 47.87 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.205e-05/13.53, allocations: 8 kB / 5.932 GB, free: 47.86 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.269e-05/13.53, allocations: 23.88 kB / 5.932 GB, free: 47.84 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004745/13.53, allocations: 236.9 kB / 5.933 GB, free: 47.61 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003964/13.53, allocations: 227.1 kB / 5.933 GB, free: 47.38 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/13.53, allocations: 0 / 5.933 GB, free: 47.38 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.432e-05/13.53, allocations: 7.984 kB / 5.933 GB, free: 47.37 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/13.53, allocations: 4 kB / 5.933 GB, free: 47.37 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001672/13.53, allocations: 0.9883 MB / 5.934 GB, free: 46.32 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002451/13.53, allocations: 154.2 kB / 5.934 GB, free: 46.16 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001668/13.53, allocations: 117.3 kB / 5.934 GB, free: 46.05 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001487/13.53, allocations: 101.3 kB / 5.934 GB, free: 45.93 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000232/13.53, allocations: 172.1 kB / 5.934 GB, free: 45.75 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=29): time 2.275e-06/13.53, allocations: 4 kB / 5.934 GB, free: 45.75 MB / 0.5261 GB Notification: Performance of matching and sorting (n=36): time 0.004278/13.54, allocations: 1.375 MB / 5.936 GB, free: 44.31 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.119e-05/13.54, allocations: 59.41 kB / 5.936 GB, free: 44.24 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003731/13.54, allocations: 338 kB / 5.936 GB, free: 43.91 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.618e-05/13.54, allocations: 29.7 kB / 5.936 GB, free: 43.87 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.571e-05/13.54, allocations: 152.5 kB / 5.936 GB, free: 43.72 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.913e-05/13.54, allocations: 118.2 kB / 5.936 GB, free: 43.6 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.114e-05/13.54, allocations: 0 / 5.936 GB, free: 43.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.386e-05/13.54, allocations: 358.7 kB / 5.937 GB, free: 43.24 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001893/13.54, allocations: 132.3 kB / 5.937 GB, free: 43.11 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002038/13.54, allocations: 184.8 kB / 5.937 GB, free: 42.91 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005769/13.54, allocations: 229.1 kB / 5.937 GB, free: 42.69 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/13.54, allocations: 0 / 5.937 GB, free: 42.69 MB / 0.5261 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001187/13.54, allocations: 0.5511 MB / 5.938 GB, free: 42.13 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/13.54, allocations: 6.969 kB / 5.938 GB, free: 42.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/13.54, allocations: 3.938 kB / 5.938 GB, free: 42.12 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003416/13.54, allocations: 88.89 kB / 5.938 GB, free: 42.04 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003772/13.54, allocations: 75.91 kB / 5.938 GB, free: 41.96 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001642/13.54, allocations: 1.689 MB / 5.94 GB, free: 40.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003112/13.54, allocations: 15.89 kB / 5.94 GB, free: 40.14 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.987e-05/13.54, allocations: 20.12 kB / 5.94 GB, free: 40.12 MB / 0.5261 GB Warning: Assuming fixed start value for the following 3 variables: vol.dynBal.medium.T:VARIABLE(min = max(1.0, 1.0) max = min(10000.0, 10000.0) start = vol.dynBal.T_start unit = "K" nominal = 293.15 stateSelect=StateSelect.prefer protected = true ) "Temperature of medium" type: Real vol.dynBal.medium.Xi[1]:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))) max = min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, 1.0))))) start = 0.01 unit = "1" nominal = 0.01 stateSelect=StateSelect.prefer protected = true ) "Structurally independent mass fractions" type: Real [1] vol.dynBal.medium.p:VARIABLE(min = max(0.0, 0.0) max = 100000000.0 start = vol.dynBal.p_start unit = "Pa" nominal = 101325.0 stateSelect=StateSelect.prefer protected = true ) "Absolute pressure of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.timTab.nextTimeEvent,timTab.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * 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: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002119/13.54, allocations: 148.1 kB / 5.94 GB, free: 39.97 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.35e-05/13.54, allocations: 47.53 kB / 5.94 GB, free: 39.93 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001326/13.54, allocations: 0.5547 MB / 5.94 GB, free: 39.36 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.77e-06/13.54, allocations: 4 kB / 5.94 GB, free: 39.36 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/13.54, allocations: 0 / 5.94 GB, free: 39.36 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/13.54, allocations: 3.906 kB / 5.94 GB, free: 39.36 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00199/13.55, allocations: 1.153 MB / 5.942 GB, free: 38.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/13.55, allocations: 0 / 5.942 GB, free: 38.14 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004153/13.55, allocations: 75.89 kB / 5.942 GB, free: 38.07 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002819/13.55, allocations: 80.89 kB / 5.942 GB, free: 37.99 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.783e-05/13.55, allocations: 8 kB / 5.942 GB, free: 37.98 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001036/13.55, allocations: 1.469 MB / 5.943 GB, free: 36.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/13.55, allocations: 3.906 kB / 5.943 GB, free: 36.4 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001333/13.55, allocations: 0.7766 MB / 5.944 GB, free: 35.57 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002216/13.55, allocations: 176.5 kB / 5.944 GB, free: 35.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.209e-05/13.55, allocations: 4 kB / 5.944 GB, free: 35.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003326/13.55, allocations: 11.92 kB / 5.944 GB, free: 35.37 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.723e-05/13.55, allocations: 23.97 kB / 5.944 GB, free: 35.34 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.891e-05/13.55, allocations: 19.98 kB / 5.944 GB, free: 35.32 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0002662/13.55, allocations: 264.5 kB / 5.944 GB, free: 35.07 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001038/13.55, allocations: 287.7 kB / 5.945 GB, free: 34.79 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (vol.dynBal.medium.p,vol.dynBal.medium.Xi[1],vol.dynBal.medium.T) * Number of discrete variables: 2 ($whenCondition1,timTab.nextTimeEvent) * Number of discrete states: 1 (timTab.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002078/13.55, allocations: 1.117 MB / 5.946 GB, free: 33.72 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008663/13.55, allocations: 493 kB / 5.946 GB, free: 33.22 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/13.55, allocations: 0 / 5.946 GB, free: 33.22 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003103/13.55, allocations: 277.5 kB / 5.946 GB, free: 32.94 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/13.55, allocations: 209.1 kB / 5.947 GB, free: 32.73 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001987/13.56, allocations: 0.7962 MB / 5.947 GB, free: 31.91 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004579/13.56, allocations: 0.8987 MB / 5.948 GB, free: 30.99 MB / 0.5261 GB Notification: Performance of SimCode: time 2.51e-07/13.56, allocations: 0 / 5.948 GB, free: 30.99 MB / 0.5261 GB Notification: Performance of Templates: time 0.0221/13.58, allocations: 14.52 MB / 5.962 GB, free: 16.53 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1.makefile (rm -f Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1.sim & ./Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1)