Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.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.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController",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.317/2.317, allocations: 248.6 MB / 255.9 MB, free: 7.164 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.001586/0.001586, allocations: 193.2 kB / 315.1 MB, free: 4.273 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.803/1.803, allocations: 205.1 MB / 0.5658 GB, free: 380 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.002355/0.002355, allocations: 97.47 kB / 0.67 GB, free: 5.598 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4909/0.4933, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2269/0.7202, allocations: 106.2 MB / 0.8835 GB, free: 13.39 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.66/6.38, allocations: 2.192 GB / 3.075 GB, free: 125.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003251/6.381, allocations: 90.44 kB / 3.075 GB, free: 125.3 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: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.2649/6.646, allocations: 65.77 MB / 3.139 GB, free: 64.54 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/6.646, allocations: 12 kB / 3.139 GB, free: 64.53 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001674/6.647, allocations: 206.5 kB / 3.14 GB, free: 64.33 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001832/6.649, allocations: 0.6316 MB / 3.14 GB, free: 63.65 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.383e-05/6.649, allocations: 28 kB / 3.14 GB, free: 63.62 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002015/6.65, allocations: 47.91 kB / 3.14 GB, free: 63.58 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002549/6.652, allocations: 0.9874 MB / 3.141 GB, free: 62.59 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002065/6.654, allocations: 0.7233 MB / 3.142 GB, free: 61.82 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.272e-05/6.654, allocations: 0 / 3.142 GB, free: 61.82 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001377/6.655, allocations: 0 / 3.142 GB, free: 61.82 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.295e-05/6.655, allocations: 20 kB / 3.142 GB, free: 61.8 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007117/6.662, allocations: 2.337 MB / 3.144 GB, free: 59.41 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001646/6.663, allocations: 0.657 MB / 3.145 GB, free: 58.75 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008888/6.664, allocations: 262.7 kB / 3.145 GB, free: 58.49 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00029/6.665, allocations: 113.7 kB / 3.145 GB, free: 58.36 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008888/6.666, allocations: 382.1 kB / 3.146 GB, free: 57.96 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=73): time 4.328e-06/6.666, allocations: 0 / 3.146 GB, free: 57.96 MB / 0.8698 GB Notification: Performance of matching and sorting (n=73): time 0.002864/6.668, allocations: 0.6677 MB / 3.146 GB, free: 57.29 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.824e-05/6.669, allocations: 240 kB / 3.147 GB, free: 57 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001175/6.67, allocations: 0.5502 MB / 3.147 GB, free: 56.44 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002128/6.67, allocations: 25.7 kB / 3.147 GB, free: 56.41 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002588/6.67, allocations: 300.2 kB / 3.147 GB, free: 56.11 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002594/6.671, allocations: 236.5 kB / 3.148 GB, free: 55.88 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.505e-05/6.671, allocations: 3.938 kB / 3.148 GB, free: 55.87 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001405/6.671, allocations: 378.8 kB / 3.148 GB, free: 55.49 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005521/6.671, allocations: 193.3 kB / 3.148 GB, free: 55.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006531/6.672, allocations: 302.4 kB / 3.148 GB, free: 54.98 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008915/6.673, allocations: 255 kB / 3.149 GB, free: 54.73 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/6.673, allocations: 3.938 kB / 3.149 GB, free: 54.73 MB / 0.8698 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002823/6.676, allocations: 0.6794 MB / 3.149 GB, free: 54.04 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/6.676, allocations: 4 kB / 3.149 GB, free: 54.04 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/6.676, allocations: 4 kB / 3.149 GB, free: 54.03 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001091/6.677, allocations: 84.78 kB / 3.149 GB, free: 53.95 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001339/6.678, allocations: 139.8 kB / 3.15 GB, free: 53.81 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002831/6.681, allocations: 1.468 MB / 3.151 GB, free: 52.21 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001241/6.682, allocations: 67.61 kB / 3.151 GB, free: 52.15 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000135/6.683, allocations: 27.98 kB / 3.151 GB, free: 52.12 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * 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: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002682/6.683, allocations: 116.3 kB / 3.151 GB, free: 52 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002868/6.683, allocations: 83.23 kB / 3.151 GB, free: 51.92 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003885/6.687, allocations: 0.9408 MB / 3.152 GB, free: 50.96 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.697e-05/6.687, allocations: 12 kB / 3.152 GB, free: 50.95 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/6.687, allocations: 0 / 3.152 GB, free: 50.95 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.529e-05/6.687, allocations: 3.984 kB / 3.152 GB, free: 50.95 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001506/6.689, allocations: 0.7749 MB / 3.153 GB, free: 50.14 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.515e-06/6.689, allocations: 0 / 3.153 GB, free: 50.14 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001286/6.69, allocations: 155.8 kB / 3.153 GB, free: 49.98 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009751/6.691, allocations: 88.75 kB / 3.153 GB, free: 49.89 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001308/6.691, allocations: 19.89 kB / 3.153 GB, free: 49.88 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002602/6.694, allocations: 1.484 MB / 3.155 GB, free: 48.27 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/6.694, allocations: 0 / 3.155 GB, free: 48.27 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002812/6.697, allocations: 0.784 MB / 3.155 GB, free: 47.46 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002957/6.7, allocations: 1.187 MB / 3.157 GB, free: 46.25 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000691/6.7, allocations: 283.8 kB / 3.157 GB, free: 45.95 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002029/6.701, allocations: 3.938 kB / 3.157 GB, free: 45.95 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001126/6.702, allocations: 63.94 kB / 3.157 GB, free: 45.89 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001736/6.702, allocations: 52.7 kB / 3.157 GB, free: 45.84 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.629e-05/6.702, allocations: 27.98 kB / 3.157 GB, free: 45.81 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0008044/6.703, allocations: 443.1 kB / 3.157 GB, free: 45.38 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002559/6.706, allocations: 391 kB / 3.158 GB, free: 45 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * 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: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002432/6.708, allocations: 1.045 MB / 3.159 GB, free: 44.06 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002112/6.71, allocations: 0.6625 MB / 3.159 GB, free: 43.39 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/6.71, allocations: 7.938 kB / 3.159 GB, free: 43.38 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001266/6.711, allocations: 452.5 kB / 3.16 GB, free: 42.93 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002136/6.714, allocations: 221.7 kB / 3.16 GB, free: 42.71 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006383/6.72, allocations: 1.387 MB / 3.161 GB, free: 41.29 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001216/6.721, allocations: 1.127 MB / 3.163 GB, free: 40.14 MB / 0.8698 GB Notification: Performance of SimCode: time 1.493e-06/6.721, allocations: 3.938 kB / 3.163 GB, free: 40.14 MB / 0.8698 GB