Running: ./testmodel.py --libraries=/var/lib/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 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.101/2.101, allocations: 253.1 MB / 260.4 MB, free: 7.344 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001679/0.001679, allocations: 185.2 kB / 319.6 MB, free: 3.152 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.952/1.952, allocations: 205.4 MB / 0.5704 GB, free: 14.89 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001343/0.001342, allocations: 92.38 kB / 0.6746 GB, free: 4.258 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.17e-05/1.181e-05, allocations: 0 / 0.7843 GB, free: 102.4 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.256/0.2561, allocations: 106.3 MB / 0.888 GB, free: 12.02 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.74/5.996, allocations: 2.192 GB / 3.08 GB, free: 168.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003393/5.997, allocations: 91.75 kB / 3.08 GB, free: 168.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.2531/6.25, allocations: 64.63 MB / 3.143 GB, free: 111.5 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001007/6.25, allocations: 24 kB / 3.143 GB, free: 111.4 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.00287/6.253, allocations: 1.121 MB / 3.144 GB, free: 110.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/6.253, allocations: 8.031 kB / 3.144 GB, free: 110.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001739/6.255, allocations: 206.5 kB / 3.144 GB, free: 110 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001928/6.256, allocations: 0.6394 MB / 3.145 GB, free: 109.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.244e-05/6.257, allocations: 31.94 kB / 3.145 GB, free: 109.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001427/6.257, allocations: 47.91 kB / 3.145 GB, free: 109.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002463/6.259, allocations: 0.9835 MB / 3.146 GB, free: 108.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001923/6.261, allocations: 0.7194 MB / 3.147 GB, free: 107.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.449e-05/6.261, allocations: 0 / 3.147 GB, free: 107.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001239/6.261, allocations: 3.984 kB / 3.147 GB, free: 107.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.315e-05/6.261, allocations: 20 kB / 3.147 GB, free: 107.5 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006543/6.268, allocations: 2.333 MB / 3.149 GB, free: 105.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001626/6.27, allocations: 0.657 MB / 3.149 GB, free: 104.5 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006127/6.27, allocations: 246.8 kB / 3.15 GB, free: 104.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002924/6.271, allocations: 125.7 kB / 3.15 GB, free: 104.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008561/6.271, allocations: 378.1 kB / 3.15 GB, free: 103.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=73): time 3.727e-06/6.272, allocations: 0 / 3.15 GB, free: 103.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=73): time 0.00295/6.274, allocations: 0.6716 MB / 3.151 GB, free: 103 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.292e-05/6.275, allocations: 243.9 kB / 3.151 GB, free: 102.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001276/6.276, allocations: 0.5463 MB / 3.152 GB, free: 102.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002304/6.276, allocations: 29.7 kB / 3.152 GB, free: 102.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002774/6.276, allocations: 296.2 kB / 3.152 GB, free: 101.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002585/6.277, allocations: 232.5 kB / 3.152 GB, free: 101.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.302e-05/6.277, allocations: 0 / 3.152 GB, free: 101.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001435/6.277, allocations: 386.8 kB / 3.152 GB, free: 101.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005616/6.278, allocations: 193.3 kB / 3.153 GB, free: 101 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006386/6.278, allocations: 294.4 kB / 3.153 GB, free: 100.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008496/6.279, allocations: 263 kB / 3.153 GB, free: 100.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/6.279, allocations: 0 / 3.153 GB, free: 100.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002773/6.282, allocations: 0.6794 MB / 3.154 GB, free: 99.77 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/6.282, allocations: 4 kB / 3.154 GB, free: 99.76 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/6.282, allocations: 4 kB / 3.154 GB, free: 99.76 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001097/6.283, allocations: 84.83 kB / 3.154 GB, free: 99.67 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001253/6.284, allocations: 139.8 kB / 3.154 GB, free: 99.54 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00281/6.287, allocations: 1.468 MB / 3.156 GB, free: 97.94 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001288/6.288, allocations: 71.55 kB / 3.156 GB, free: 97.87 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001377/6.289, allocations: 23.98 kB / 3.156 GB, free: 97.85 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.000267/6.289, allocations: 112.9 kB / 3.156 GB, free: 97.73 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002357/6.289, allocations: 83.06 kB / 3.156 GB, free: 97.65 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003943/6.293, allocations: 0.9449 MB / 3.157 GB, free: 96.69 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.534e-05/6.293, allocations: 11.94 kB / 3.157 GB, free: 96.68 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/6.293, allocations: 4 kB / 3.157 GB, free: 96.67 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.429e-05/6.293, allocations: 3.984 kB / 3.157 GB, free: 96.67 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001541/6.295, allocations: 0.7711 MB / 3.158 GB, free: 95.86 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/6.295, allocations: 0 / 3.158 GB, free: 95.86 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001278/6.296, allocations: 147.8 kB / 3.158 GB, free: 95.71 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009642/6.297, allocations: 88.77 kB / 3.158 GB, free: 95.62 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001185/6.297, allocations: 23.89 kB / 3.158 GB, free: 95.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002634/6.3, allocations: 1.484 MB / 3.159 GB, free: 94 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/6.3, allocations: 0 / 3.159 GB, free: 94 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002863/6.303, allocations: 0.7801 MB / 3.16 GB, free: 93.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006702/6.303, allocations: 283.9 kB / 3.16 GB, free: 92.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002122/6.304, allocations: 3.906 kB / 3.16 GB, free: 92.89 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001067/6.305, allocations: 63.94 kB / 3.16 GB, free: 92.83 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001798/6.305, allocations: 48.7 kB / 3.16 GB, free: 92.78 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.661e-05/6.305, allocations: 31.98 kB / 3.16 GB, free: 92.75 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0008173/6.306, allocations: 439.1 kB / 3.161 GB, free: 92.32 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001497/6.307, allocations: 315.1 kB / 3.161 GB, free: 92.02 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.00235/6.31, allocations: 1.054 MB / 3.162 GB, free: 91.07 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002152/6.312, allocations: 0.6586 MB / 3.163 GB, free: 90.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/6.312, allocations: 4.125 kB / 3.163 GB, free: 90.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0012/6.313, allocations: 456.4 kB / 3.163 GB, free: 89.94 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002158/6.315, allocations: 228.8 kB / 3.163 GB, free: 89.72 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006518/6.322, allocations: 1.386 MB / 3.165 GB, free: 88.29 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001178/6.323, allocations: 1.131 MB / 3.166 GB, free: 87.14 MB / 0.8698 GB Notification: Performance of SimCode: time 1.694e-06/6.323, allocations: 0 / 3.166 GB, free: 87.14 MB / 0.8698 GB Notification: Performance of Templates: time 0.04491/6.368, allocations: 17.06 MB / 3.183 GB, free: 70.2 MB / 0.8698 GB