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: "" <> buildModelFMU(Buildings.Fluid.Boilers.Validation.BoilerTableEfficiencyCurves,fileNamePrefix="Buildings_9_Buildings_Fluid_Boilers_Validation_BoilerTableEfficiencyCurves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Boilers.Validation.BoilerTableEfficiencyCurves,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.112/2.112, allocations: 387.2 MB / 394.5 MB, free: 13.62 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.001312/0.001312, allocations: 185.2 kB / 487 MB, free: 5.355 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.4/1.4, allocations: 221.3 MB / 0.7819 GB, free: 1.355 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.001128/0.001128, allocations: 100.2 kB / 0.9213 GB, free: 2.609 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6422/0.6433, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.9493, allocations: 142.3 MB / 1.205 GB, free: 26.13 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.033/1.982, allocations: 423 MB / 1.618 GB, free: 0.707 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002615/1.982, allocations: 89.52 kB / 1.618 GB, free: 0.6641 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.539/4.521, allocations: 0.6742 GB / 2.293 GB, free: 216.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/4.522, allocations: 11.81 kB / 2.293 GB, free: 216.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001084/4.523, allocations: 336.6 kB / 2.293 GB, free: 216.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005865/4.529, allocations: 2.871 MB / 2.296 GB, free: 216.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.033e-05/4.529, allocations: 41.97 kB / 2.296 GB, free: 216.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001474/4.529, allocations: 82 kB / 2.296 GB, free: 216.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001723/4.53, allocations: 0.8306 MB / 2.297 GB, free: 216.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001927/4.532, allocations: 1.15 MB / 2.298 GB, free: 215.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.292e-05/4.532, allocations: 3.906 kB / 2.298 GB, free: 215.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001/4.533, allocations: 2.844 kB / 2.298 GB, free: 215.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.35e-05/4.533, allocations: 59.73 kB / 2.298 GB, free: 215.9 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01139/4.544, allocations: 7.258 MB / 2.305 GB, free: 212.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008418/4.545, allocations: 0.5294 MB / 2.306 GB, free: 212.8 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003115/4.545, allocations: 255.8 kB / 2.306 GB, free: 212.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004207/4.546, allocations: 0.5936 MB / 2.306 GB, free: 212.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/4.546, allocations: 38.31 kB / 2.306 GB, free: 212.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=54): time 3.236e-06/4.546, allocations: 3.25 kB / 2.306 GB, free: 212.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=54): time 0.001981/4.548, allocations: 0.811 MB / 2.307 GB, free: 211.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.384e-05/4.548, allocations: 58.66 kB / 2.307 GB, free: 211.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004775/4.553, allocations: 3.158 MB / 2.31 GB, free: 211.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001345/4.553, allocations: 25.7 kB / 2.31 GB, free: 211.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000495/4.553, allocations: 0.7445 MB / 2.311 GB, free: 211.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002314/4.553, allocations: 191 kB / 2.311 GB, free: 211 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-05/4.553, allocations: 3.594 kB / 2.311 GB, free: 211 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.964e-05/4.554, allocations: 330.5 kB / 2.312 GB, free: 210.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003247/4.554, allocations: 225.1 kB / 2.312 GB, free: 210.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000444/4.554, allocations: 0.5184 MB / 2.312 GB, free: 210.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000704/4.555, allocations: 323.9 kB / 2.313 GB, free: 210.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/4.555, allocations: 0 / 2.313 GB, free: 210.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002145/4.557, allocations: 1.052 MB / 2.314 GB, free: 210.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006536/4.558, allocations: 2.386 MB / 2.316 GB, free: 207.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.179e-05/4.558, allocations: 6.062 kB / 2.316 GB, free: 207.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008982/4.559, allocations: 246.6 kB / 2.316 GB, free: 207.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005138/4.559, allocations: 135.2 kB / 2.316 GB, free: 207.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001336/4.561, allocations: 1.979 MB / 2.318 GB, free: 206.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002033/4.563, allocations: 161 kB / 2.318 GB, free: 206.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001153/4.563, allocations: 36.3 kB / 2.318 GB, free: 206.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/4.563, allocations: 6.312 kB / 2.318 GB, free: 206.1 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001454/4.564, allocations: 0.7655 MB / 2.319 GB, free: 206 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/4.564, allocations: 6.578 kB / 2.319 GB, free: 206 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004369/4.565, allocations: 194.8 kB / 2.319 GB, free: 206 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004686/4.565, allocations: 136.2 kB / 2.32 GB, free: 206 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001188/4.566, allocations: 1.987 MB / 2.321 GB, free: 204.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00169/4.568, allocations: 116.6 kB / 2.322 GB, free: 204.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.768e-05/4.568, allocations: 39.7 kB / 2.322 GB, free: 204.4 MB / 1.167 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.0002308/4.569, allocations: 132.8 kB / 2.322 GB, free: 204.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005769/4.569, allocations: 247.9 kB / 2.322 GB, free: 204.2 MB / 1.167 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.001772/4.571, allocations: 0.6533 MB / 2.323 GB, free: 204.1 MB / 1.167 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