Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Boilers.Validation.BoilerTableEfficiencyCurves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_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 10.0.0-master/package.mo): time 1.965/1.965, allocations: 390.4 MB / 397.7 MB, free: 11.34 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.001135/0.001135, allocations: 177.3 kB / 490.8 MB, free: 1.969 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.283/1.283, allocations: 221.3 MB / 0.7863 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009522/0.0009527, allocations: 86.53 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.552e-06/6.813e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2699/0.2699, allocations: 143 MB / 1.212 GB, free: 40.13 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8746/1.145, allocations: 423.8 MB / 1.625 GB, free: 7.742 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002425/1.145, allocations: 93.12 kB / 1.626 GB, free: 7.695 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.332/3.477, allocations: 0.6716 GB / 2.297 GB, free: 241.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0005213/3.478, allocations: 59.28 kB / 2.297 GB, free: 241.9 MB / 1.151 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.00739/3.485, allocations: 2.593 MB / 2.3 GB, free: 240.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/3.485, allocations: 11.53 kB / 2.3 GB, free: 240.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001632/3.487, allocations: 339.7 kB / 2.3 GB, free: 240.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007909/3.495, allocations: 2.867 MB / 2.303 GB, free: 240.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.753e-05/3.495, allocations: 39.34 kB / 2.303 GB, free: 240.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000416/3.495, allocations: 79.22 kB / 2.303 GB, free: 240.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002262/3.498, allocations: 0.8313 MB / 2.304 GB, free: 240.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002475/3.5, allocations: 1.158 MB / 2.305 GB, free: 239.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.407e-05/3.5, allocations: 0 / 2.305 GB, free: 239.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001457/3.5, allocations: 3.906 kB / 2.305 GB, free: 239.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.727e-05/3.5, allocations: 59.17 kB / 2.305 GB, free: 239.9 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0117/3.512, allocations: 7.254 MB / 2.312 GB, free: 236.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008514/3.513, allocations: 0.5203 MB / 2.313 GB, free: 236.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003374/3.513, allocations: 255.6 kB / 2.313 GB, free: 236.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004029/3.514, allocations: 0.5904 MB / 2.313 GB, free: 236.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/3.514, allocations: 40.78 kB / 2.313 GB, free: 236 MB / 1.151 GB Notification: Performance of pre-optimization done (n=54): time 3.256e-06/3.514, allocations: 0 / 2.313 GB, free: 236 MB / 1.151 GB Notification: Performance of matching and sorting (n=54): time 0.002215/3.516, allocations: 0.8139 MB / 2.314 GB, free: 235.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.764e-05/3.516, allocations: 55.78 kB / 2.314 GB, free: 235.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005978/3.522, allocations: 3.159 MB / 2.317 GB, free: 235.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001507/3.522, allocations: 25.7 kB / 2.317 GB, free: 235.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005986/3.523, allocations: 0.7533 MB / 2.318 GB, free: 235.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002731/3.523, allocations: 185.7 kB / 2.318 GB, free: 235 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.139e-05/3.523, allocations: 0 / 2.318 GB, free: 235 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.291e-05/3.523, allocations: 336.2 kB / 2.319 GB, free: 234.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003411/3.524, allocations: 227.3 kB / 2.319 GB, free: 234.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004694/3.524, allocations: 0.5154 MB / 2.319 GB, free: 234.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007677/3.525, allocations: 326.7 kB / 2.32 GB, free: 234.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/3.525, allocations: 3.531 kB / 2.32 GB, free: 234.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002405/3.527, allocations: 1.043 MB / 2.321 GB, free: 234.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005366/3.528, allocations: 2.395 MB / 2.323 GB, free: 231.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.052e-05/3.528, allocations: 3.25 kB / 2.323 GB, free: 231.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009114/3.529, allocations: 245.4 kB / 2.323 GB, free: 231.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005167/3.529, allocations: 139 kB / 2.323 GB, free: 231.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001275/3.531, allocations: 1.979 MB / 2.325 GB, free: 230.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001969/3.533, allocations: 150.4 kB / 2.325 GB, free: 230.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.572e-05/3.533, allocations: 40.86 kB / 2.325 GB, free: 230.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.897e-06/3.533, allocations: 9.031 kB / 2.325 GB, free: 230.1 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001422/3.534, allocations: 0.7686 MB / 2.326 GB, free: 230 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/3.534, allocations: 12.06 kB / 2.326 GB, free: 230 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004421/3.535, allocations: 189.4 kB / 2.326 GB, free: 230 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004684/3.535, allocations: 140.2 kB / 2.327 GB, free: 230 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001136/3.536, allocations: 1.975 MB / 2.328 GB, free: 228.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001678/3.538, allocations: 115.3 kB / 2.329 GB, free: 228.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.409e-05/3.538, allocations: 39.41 kB / 2.329 GB, free: 228.4 MB / 1.151 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.0002342/3.538, allocations: 131.6 kB / 2.329 GB, free: 228.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006784/3.539, allocations: 247.6 kB / 2.329 GB, free: 228.1 MB / 1.151 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.001801/3.541, allocations: 0.6629 MB / 2.33 GB, free: 228.1 MB / 1.151 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.