Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.Tutorial.Boiler.System1.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_7_0_0_Buildings_Examples_Tutorial_Boiler_System1",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.1/package.mo): time 2.489/2.489, allocations: 248.6 MB / 255.9 MB, free: 7.148 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.001755/0.001755, allocations: 188 kB / 315.1 MB, free: 4.27 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.2/2.2, allocations: 205.1 MB / 0.5658 GB, free: 392 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001319/0.001318, allocations: 85.61 kB / 0.67 GB, free: 5.605 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4895/0.4908, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.7122, allocations: 106.3 MB / 0.8835 GB, free: 13.39 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.497/6.209, allocations: 2.19 GB / 3.074 GB, free: 176.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002603/6.21, allocations: 84.39 kB / 3.074 GB, free: 176.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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.5427/6.752, allocations: 167.7 MB / 3.238 GB, free: 13.64 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/6.752, allocations: 12 kB / 3.238 GB, free: 13.62 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00159/6.754, allocations: 159.2 kB / 3.238 GB, free: 13.47 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001426/6.756, allocations: 0.5013 MB / 3.238 GB, free: 12.93 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.375e-05/6.756, allocations: 16 kB / 3.238 GB, free: 12.91 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.524e-05/6.756, allocations: 20 kB / 3.238 GB, free: 12.89 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006735/6.756, allocations: 197.2 kB / 3.239 GB, free: 12.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006778/6.757, allocations: 291.7 kB / 3.239 GB, free: 12.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.319e-05/6.757, allocations: 3.906 kB / 3.239 GB, free: 12.39 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.918e-05/6.757, allocations: 4 kB / 3.239 GB, free: 12.39 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.693e-05/6.757, allocations: 8.656 kB / 3.239 GB, free: 12.38 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002718/6.76, allocations: 1.396 MB / 3.24 GB, free: 10.86 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004928/6.76, allocations: 157.9 kB / 3.24 GB, free: 10.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003016/6.761, allocations: 104.9 kB / 3.241 GB, free: 10.59 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.311e-05/6.761, allocations: 7.984 kB / 3.241 GB, free: 10.58 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003713/6.761, allocations: 143.3 kB / 3.241 GB, free: 10.43 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=26): time 2.956e-06/6.761, allocations: 0 / 3.241 GB, free: 10.43 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30): time 0.004519/6.766, allocations: 0.9981 MB / 3.242 GB, free: 9.371 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.918e-05/6.766, allocations: 55.41 kB / 3.242 GB, free: 9.305 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006963/6.767, allocations: 389 kB / 3.242 GB, free: 8.918 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.13e-05/6.767, allocations: 25.7 kB / 3.242 GB, free: 8.887 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/6.767, allocations: 180.2 kB / 3.242 GB, free: 8.703 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/6.767, allocations: 102.5 kB / 3.242 GB, free: 8.602 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.067e-05/6.767, allocations: 0 / 3.242 GB, free: 8.602 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001013/6.767, allocations: 354.8 kB / 3.243 GB, free: 8.246 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003254/6.767, allocations: 128.8 kB / 3.243 GB, free: 8.121 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003619/6.768, allocations: 193.4 kB / 3.243 GB, free: 7.914 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004299/6.768, allocations: 151.7 kB / 3.243 GB, free: 7.766 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/6.768, allocations: 0 / 3.243 GB, free: 7.766 MB / 0.8698 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001541/6.77, allocations: 474 kB / 3.244 GB, free: 7.293 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/6.77, allocations: 8 kB / 3.244 GB, free: 7.285 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/6.77, allocations: 0 / 3.244 GB, free: 7.285 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000596/6.77, allocations: 88.86 kB / 3.244 GB, free: 7.195 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005739/6.771, allocations: 71.91 kB / 3.244 GB, free: 7.125 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002621/6.774, allocations: 1.689 MB / 3.245 GB, free: 5.324 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008107/6.774, allocations: 23.95 kB / 3.245 GB, free: 5.301 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.896e-05/6.775, allocations: 12.06 kB / 3.245 GB, free: 5.289 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.timTab.tab.nextTimeEvent,timTab.tab.nextTimeEvent,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 41 * 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: 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.000161/6.775, allocations: 110 kB / 3.246 GB, free: 5.176 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.987e-05/6.775, allocations: 47.44 kB / 3.246 GB, free: 5.129 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00142/6.776, allocations: 379.4 kB / 3.246 GB, free: 4.746 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.358e-06/6.776, allocations: 7.906 kB / 3.246 GB, free: 4.738 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/6.776, allocations: 0 / 3.246 GB, free: 4.738 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/6.776, allocations: 4 kB / 3.246 GB, free: 4.734 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002479/6.779, allocations: 0.9541 MB / 3.247 GB, free: 3.727 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/6.779, allocations: 0 / 3.247 GB, free: 3.727 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005886/6.779, allocations: 63.81 kB / 3.247 GB, free: 3.664 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009202/6.78, allocations: 108.8 kB / 3.247 GB, free: 3.555 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.529e-05/6.78, allocations: 4 kB / 3.247 GB, free: 3.551 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002445/6.783, allocations: 1.665 MB / 3.249 GB, free: 1.773 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/6.783, allocations: 3.938 kB / 3.249 GB, free: 1.77 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001631/6.785, allocations: 0.5809 MB / 3.249 GB, free: 1.16 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002024/6.787, allocations: 1.117 MB / 3.25 GB, free: 12 kB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.3262/7.113, allocations: 156.7 kB / 3.251 GB, free: 362.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001309/7.113, allocations: 6.531 kB / 3.251 GB, free: 362.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000751/7.114, allocations: 14.41 kB / 3.251 GB, free: 362.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.761e-05/7.114, allocations: 18.48 kB / 3.251 GB, free: 362.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.586e-05/7.114, allocations: 16.28 kB / 3.251 GB, free: 362.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.000484/7.115, allocations: 276.9 kB / 3.251 GB, free: 362.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002179/7.117, allocations: 245.4 kB / 3.251 GB, free: 362.4 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (vol.hOut_internal,vol.dynBal.medium.Xi[1],vol.dynBal.m) * Number of discrete variables: 3 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of discrete states: 2 (timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001906/7.119, allocations: 1.022 MB / 3.252 GB, free: 362.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00137/7.12, allocations: 405.2 kB / 3.252 GB, free: 362.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/7.12, allocations: 0 / 3.252 GB, free: 362.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000732/7.121, allocations: 260.4 kB / 3.253 GB, free: 362.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00195/7.123, allocations: 207.8 kB / 3.253 GB, free: 362.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002206/7.125, allocations: 0.7589 MB / 3.254 GB, free: 361.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000626/7.126, allocations: 0.9147 MB / 3.255 GB, free: 361.2 MB / 0.8698 GB Notification: Performance of SimCode: time 1.233e-06/7.126, allocations: 0 / 3.255 GB, free: 361.2 MB / 0.8698 GB