Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Boilers.Validation.BoilerTableEfficiencyCurves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Boilers.Validation.BoilerTableEfficiencyCurves,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|boi1.eta|boi2.eta|boi3.eta",fileNamePrefix="Buildings_9_Buildings.Fluid.Boilers.Validation.BoilerTableEfficiencyCurves") translateModel(Buildings.Fluid.Boilers.Validation.BoilerTableEfficiencyCurves,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|boi1.eta|boi2.eta|boi3.eta",fileNamePrefix="Buildings_9_Buildings.Fluid.Boilers.Validation.BoilerTableEfficiencyCurves") [: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 9.1.1-maint.9.1.x/package.mo): time 1.864/1.864, allocations: 387.2 MB / 394.5 MB, free: 13.67 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 177.3 kB / 487 MB, free: 5.375 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.205/1.205, allocations: 221.3 MB / 0.7819 GB, free: 1.387 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008881/0.0008881, allocations: 93.8 kB / 0.9213 GB, free: 2.637 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.372e-06/6.392e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2425/0.2425, allocations: 142.3 MB / 1.205 GB, free: 26.25 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8223/1.065, allocations: 423 MB / 1.618 GB, free: 0.5703 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003036/1.065, allocations: 88.81 kB / 1.618 GB, free: 0.5273 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.279/3.344, allocations: 0.6716 GB / 2.29 GB, free: 235.1 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.0002517/3.345, allocations: 61.3 kB / 2.29 GB, free: 235.1 MB / 1.135 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.004326/3.349, allocations: 2.599 MB / 2.293 GB, free: 233.8 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/3.349, allocations: 11.28 kB / 2.293 GB, free: 233.8 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007482/3.35, allocations: 335.1 kB / 2.293 GB, free: 233.7 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004493/3.354, allocations: 2.865 MB / 2.296 GB, free: 233.1 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.291e-05/3.354, allocations: 41.12 kB / 2.296 GB, free: 233.1 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001213/3.354, allocations: 83 kB / 2.296 GB, free: 233.1 MB / 1.135 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001375/3.356, allocations: 0.8337 MB / 2.297 GB, free: 233.1 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001623/3.357, allocations: 1.146 MB / 2.298 GB, free: 232.9 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.817e-05/3.357, allocations: 3.906 kB / 2.298 GB, free: 232.9 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.036e-05/3.358, allocations: 3.938 kB / 2.298 GB, free: 232.9 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.236e-05/3.358, allocations: 59.05 kB / 2.298 GB, free: 232.9 MB / 1.135 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0086/3.366, allocations: 7.267 MB / 2.305 GB, free: 229.8 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007183/3.367, allocations: 0.5202 MB / 2.305 GB, free: 229.8 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003019/3.367, allocations: 259.1 kB / 2.306 GB, free: 229.8 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003449/3.368, allocations: 0.5868 MB / 2.306 GB, free: 229.1 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.962e-05/3.368, allocations: 44.22 kB / 2.306 GB, free: 229.1 MB / 1.135 GB Notification: Performance of pre-optimization done (n=54): time 2.294e-06/3.368, allocations: 0 / 2.306 GB, free: 229.1 MB / 1.135 GB Notification: Performance of matching and sorting (n=54): time 0.001582/3.369, allocations: 0.8088 MB / 2.307 GB, free: 228.9 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.748e-05/3.369, allocations: 65.06 kB / 2.307 GB, free: 228.8 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003741/3.373, allocations: 3.151 MB / 2.31 GB, free: 228.5 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 7.309e-05/3.373, allocations: 29.58 kB / 2.31 GB, free: 228.5 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005148/3.374, allocations: 0.7507 MB / 2.311 GB, free: 228.2 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001943/3.374, allocations: 181.4 kB / 2.311 GB, free: 228 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.007e-05/3.374, allocations: 0 / 2.311 GB, free: 228 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 6.573e-05/3.374, allocations: 340.8 kB / 2.311 GB, free: 227.7 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002936/3.374, allocations: 219.9 kB / 2.312 GB, free: 227.7 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004275/3.375, allocations: 0.5155 MB / 2.312 GB, free: 227.4 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006407/3.375, allocations: 322.7 kB / 2.313 GB, free: 227.4 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/3.375, allocations: 0 / 2.313 GB, free: 227.4 MB / 1.135 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001775/3.377, allocations: 1.052 MB / 2.314 GB, free: 227.2 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004235/3.378, allocations: 2.389 MB / 2.316 GB, free: 224.7 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/3.378, allocations: 7.547 kB / 2.316 GB, free: 224.7 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008292/3.378, allocations: 248.4 kB / 2.316 GB, free: 224.7 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004994/3.379, allocations: 145.8 kB / 2.316 GB, free: 224.7 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001171/3.38, allocations: 1.969 MB / 2.318 GB, free: 223.1 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001692/3.382, allocations: 163.2 kB / 2.318 GB, free: 223.1 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.213e-05/3.382, allocations: 40.81 kB / 2.318 GB, free: 223.1 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/3.382, allocations: 3.719 kB / 2.318 GB, free: 223.1 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001355/3.383, allocations: 0.7637 MB / 2.319 GB, free: 223 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/3.383, allocations: 10.86 kB / 2.319 GB, free: 223 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004358/3.384, allocations: 192.3 kB / 2.319 GB, free: 223 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004519/3.384, allocations: 141.1 kB / 2.319 GB, free: 223 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00109/3.385, allocations: 1.972 MB / 2.321 GB, free: 221.5 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001259/3.387, allocations: 125 kB / 2.321 GB, free: 221.4 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.566e-05/3.387, allocations: 32.91 kB / 2.322 GB, free: 221.4 MB / 1.135 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 73 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 7,1 7,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001955/3.387, allocations: 134.1 kB / 2.322 GB, free: 221.3 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000318/3.387, allocations: 248.1 kB / 2.322 GB, free: 221.2 MB / 1.135 GB Error: Too many equations, over-determined system. The model has 61 equation(s) and 58 variable(s). Warning: Equation 48 (size: 1) $cse4 = Buildings.Fluid.Boilers.BoilerTable$boi2.Medium.setState_phX(sou.p_in_internal, sou.ports[2].h_outflow, {}) is not big enough to solve for enough variables. Remaining unsolved variables are: Already solved: sou.ports[2].h_outflow Equations used to solve those variables: Equation 44 (size: 1): $cse5 = Buildings.Fluid.Boilers.BoilerTable$boi3.Medium.setState_phX(sou.p_in_internal, sou.ports[2].h_outflow, {}) Warning: Equation 52 (size: 1) $cse3 = Buildings.Fluid.Boilers.BoilerTable$boi1.Medium.setState_phX(sou.p_in_internal, sou.ports[2].h_outflow, {}) is not big enough to solve for enough variables. Remaining unsolved variables are: Already solved: sou.ports[2].h_outflow Equations used to solve those variables: Equation 44 (size: 1): $cse5 = Buildings.Fluid.Boilers.BoilerTable$boi3.Medium.setState_phX(sou.p_in_internal, sou.ports[2].h_outflow, {}) Warning: Equation 57 (size: 1) sou.ports[2].h_outflow = Buildings.Fluid.Sources.Boundary_pT$sou.Medium.specificEnthalpy($cse2) is not big enough to solve for enough variables. Remaining unsolved variables are: Already solved: $cse2.p, $cse2.T, TIn.y Equations used to solve those variables: Equation 37 (size: 1): TIn.y = TIn.offset + (if time < TIn.startTime then 0.0 else if time < TIn.startTime + TIn.duration then (time - TIn.startTime) * TIn.height / TIn.duration else TIn.height) Equation 56 (size: 2): $cse2 = Buildings.Fluid.Sources.Boundary_pT$sou.Medium.setState_pTX(sou.p_in_internal, TIn.y, {sou.X_in_internal[1]}) Warning: Equation 58 (size: 2) $cse1 = Buildings.Fluid.Sources.Boundary_pT$sin.Medium.setState_pTX(sin.p_in_internal, sin.T, {sin.X_in_internal[1]}) is not big enough to solve for enough variables. Remaining unsolved variables are: Already solved: $cse2.T, sou.ports[2].h_outflow Equations used to solve those variables: Equation 44 (size: 1): $cse5 = Buildings.Fluid.Boilers.BoilerTable$boi3.Medium.setState_phX(sou.p_in_internal, sou.ports[2].h_outflow, {}) Equation 56 (size: 2): $cse2 = Buildings.Fluid.Sources.Boundary_pT$sou.Medium.setState_pTX(sou.p_in_internal, TIn.y, {sou.X_in_internal[1]}) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001638/3.389, allocations: 0.6538 MB / 2.323 GB, free: 221.1 MB / 1.135 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.