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: "" <> buildModelFMU(Buildings.Fluid.Boilers.Validation.BoilerTableEfficiencyCurves,fileNamePrefix="Buildings_latest_Buildings_Fluid_Boilers_Validation_BoilerTableEfficiencyCurves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Boilers.Validation.BoilerTableEfficiencyCurves,fileNamePrefix="Buildings_latest_Buildings_Fluid_Boilers_Validation_BoilerTableEfficiencyCurves",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 10.0.0-master/package.mo): time 2.164/2.164, allocations: 390.4 MB / 397.7 MB, free: 11.27 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.001218/0.001218, allocations: 185.2 kB / 490.8 MB, free: 1.961 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.515/1.515, allocations: 221.3 MB / 0.7863 GB, free: 13.7 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.001074/0.001074, allocations: 88.67 kB / 0.9264 GB, free: 14.23 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.7407/0.7418, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3251/1.067, allocations: 143 MB / 1.212 GB, free: 40.07 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.428/2.495, allocations: 423.8 MB / 1.626 GB, free: 7.742 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003075/2.495, allocations: 87.95 kB / 1.626 GB, free: 7.699 MB / 1.042 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 2.528/5.023, allocations: 0.6742 GB / 2.3 GB, free: 212.2 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 3.025e-05/5.023, allocations: 10.88 kB / 2.3 GB, free: 212.2 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007527/5.024, allocations: 341.8 kB / 2.3 GB, free: 212 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007176/5.031, allocations: 2.868 MB / 2.303 GB, free: 211.5 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.348e-05/5.031, allocations: 43.44 kB / 2.303 GB, free: 211.5 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002247/5.032, allocations: 76.06 kB / 2.303 GB, free: 211.5 MB / 1.182 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001991/5.034, allocations: 0.8273 MB / 2.304 GB, free: 211.5 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001804/5.035, allocations: 1.15 MB / 2.305 GB, free: 211.3 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.149e-05/5.035, allocations: 0 / 2.305 GB, free: 211.3 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-05/5.036, allocations: 3.875 kB / 2.305 GB, free: 211.3 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001049/5.036, allocations: 59.66 kB / 2.305 GB, free: 211.3 MB / 1.182 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01118/5.047, allocations: 7.261 MB / 2.312 GB, free: 208.2 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009571/5.048, allocations: 0.5178 MB / 2.313 GB, free: 208.1 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003796/5.048, allocations: 257.3 kB / 2.313 GB, free: 208.1 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004728/5.049, allocations: 0.5955 MB / 2.313 GB, free: 207.5 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/5.049, allocations: 42.53 kB / 2.314 GB, free: 207.4 MB / 1.182 GB Notification: Performance of pre-optimization done (n=54): time 3.487e-06/5.049, allocations: 0 / 2.314 GB, free: 207.4 MB / 1.182 GB Notification: Performance of matching and sorting (n=54): time 0.00204/5.051, allocations: 0.8109 MB / 2.314 GB, free: 207.2 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.709e-05/5.051, allocations: 55.75 kB / 2.314 GB, free: 207.2 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004102/5.055, allocations: 3.155 MB / 2.317 GB, free: 206.9 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 9.113e-05/5.055, allocations: 25.7 kB / 2.317 GB, free: 206.9 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004766/5.056, allocations: 0.7565 MB / 2.318 GB, free: 206.5 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002297/5.056, allocations: 184.7 kB / 2.318 GB, free: 206.4 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.224e-05/5.056, allocations: 3.875 kB / 2.318 GB, free: 206.4 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 7.872e-05/5.056, allocations: 333.6 kB / 2.319 GB, free: 206.1 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003105/5.056, allocations: 222.9 kB / 2.319 GB, free: 206.1 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004357/5.057, allocations: 0.5084 MB / 2.319 GB, free: 205.8 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006175/5.057, allocations: 335.5 kB / 2.32 GB, free: 205.8 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/5.057, allocations: 0 / 2.32 GB, free: 205.8 MB / 1.182 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001717/5.059, allocations: 1.045 MB / 2.321 GB, free: 205.6 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005745/5.06, allocations: 2.395 MB / 2.323 GB, free: 203.1 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/5.06, allocations: 11.36 kB / 2.323 GB, free: 203.1 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008661/5.061, allocations: 248 kB / 2.323 GB, free: 203.1 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005138/5.061, allocations: 134.5 kB / 2.323 GB, free: 203.1 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001555/5.063, allocations: 1.983 MB / 2.325 GB, free: 201.5 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001963/5.065, allocations: 158.5 kB / 2.326 GB, free: 201.5 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.728e-05/5.065, allocations: 35.61 kB / 2.326 GB, free: 201.5 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/5.065, allocations: 3.938 kB / 2.326 GB, free: 201.5 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001513/5.066, allocations: 0.7729 MB / 2.326 GB, free: 201.4 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/5.066, allocations: 3.469 kB / 2.326 GB, free: 201.4 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004779/5.067, allocations: 196 kB / 2.327 GB, free: 201.4 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004837/5.067, allocations: 138.8 kB / 2.327 GB, free: 201.4 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001303/5.069, allocations: 1.977 MB / 2.329 GB, free: 199.8 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001539/5.07, allocations: 121.2 kB / 2.329 GB, free: 199.8 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.678e-05/5.07, allocations: 37.27 kB / 2.329 GB, free: 199.8 MB / 1.182 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.0002387/5.07, allocations: 123.1 kB / 2.329 GB, free: 199.7 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003907/5.071, allocations: 249.2 kB / 2.329 GB, free: 199.6 MB / 1.182 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.001723/5.073, allocations: 0.651 MB / 2.33 GB, free: 199.5 MB / 1.182 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. Error: Internal error SimCode: The model Buildings.Fluid.Boilers.Validation.BoilerTableEfficiencyCurves could not be translated to FMU