Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.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.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_9_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_9_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.61/2.61, allocations: 390.3 MB / 405.3 MB, free: 13.53 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.001328/0.001328, allocations: 180.4 kB / 498.1 MB, free: 5.777 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.825/1.825, allocations: 223.2 MB / 0.7948 GB, free: 17.92 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.001048/0.001048, allocations: 104.2 kB / 0.9346 GB, free: 6.234 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005148/0.0005148, allocations: 10.66 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.3356, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2083/0.544, allocations: 151.4 MB / 1.371 GB, free: 10.68 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002972/0.5444, allocations: 95.92 kB / 1.371 GB, free: 10.58 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01685/0.5612, allocations: 5.307 MB / 1.376 GB, free: 5.27 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5613, allocations: 0 / 1.376 GB, free: 5.27 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.076e-05/0.5613, allocations: 0 / 1.376 GB, free: 5.27 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005359/0.5619, allocations: 391.2 kB / 1.376 GB, free: 4.84 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.314e-05/0.5619, allocations: 12.02 kB / 1.376 GB, free: 4.828 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.879e-05/0.562, allocations: 105.8 kB / 1.377 GB, free: 4.715 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.347e-05/0.5621, allocations: 91.19 kB / 1.377 GB, free: 4.625 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000187/0.5623, allocations: 242.2 kB / 1.377 GB, free: 4.348 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.744e-05/0.5624, allocations: 150.6 kB / 1.377 GB, free: 4.199 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.807e-05/0.5625, allocations: 154.5 kB / 1.377 GB, free: 4.047 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.927e-05/0.5625, allocations: 109 kB / 1.377 GB, free: 3.934 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.401e-05/0.5626, allocations: 75.28 kB / 1.377 GB, free: 3.859 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.537e-05/0.5627, allocations: 154.6 kB / 1.377 GB, free: 3.707 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.877e-05/0.5628, allocations: 158.5 kB / 1.378 GB, free: 3.551 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.486e-05/0.5628, allocations: 150.6 kB / 1.378 GB, free: 3.402 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004395/0.5633, allocations: 449.9 kB / 1.378 GB, free: 2.914 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/0.5634, allocations: 177.1 kB / 1.378 GB, free: 2.73 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.32e-05/0.5635, allocations: 75.28 kB / 1.378 GB, free: 2.656 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.721e-05/0.5635, allocations: 109.8 kB / 1.379 GB, free: 2.539 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 1.242e-06/0.5635, allocations: 0 / 1.379 GB, free: 2.539 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 9.162e-05/0.5636, allocations: 29.7 kB / 1.379 GB, free: 2.504 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001235/0.5638, allocations: 203.8 kB / 1.379 GB, free: 2.273 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.5639, allocations: 105 kB / 1.379 GB, free: 2.164 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.5639, allocations: 25.7 kB / 1.379 GB, free: 2.133 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.09e-05/0.564, allocations: 80.14 kB / 1.379 GB, free: 2.051 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.795e-06/0.564, allocations: 4 kB / 1.379 GB, free: 2.047 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.91e-07/0.564, allocations: 0 / 1.379 GB, free: 2.047 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.5641, allocations: 314.8 kB / 1.379 GB, free: 1.73 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.138e-06/0.5642, allocations: 0 / 1.379 GB, free: 1.73 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.974e-05/0.5642, allocations: 18.58 kB / 1.379 GB, free: 1.703 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.821e-05/0.5643, allocations: 87.22 kB / 1.379 GB, free: 1.617 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.374e-05/0.5643, allocations: 75.28 kB / 1.379 GB, free: 1.543 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.404e-05/0.5644, allocations: 33.69 kB / 1.379 GB, free: 1.504 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.712e-05/0.5644, allocations: 79.28 kB / 1.38 GB, free: 1.426 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.475e-05/0.5645, allocations: 79.22 kB / 1.38 GB, free: 1.348 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.896e-05/0.5645, allocations: 158.5 kB / 1.38 GB, free: 1.191 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.094e-05/0.5646, allocations: 79.28 kB / 1.38 GB, free: 1.113 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.371e-05/0.5647, allocations: 154.5 kB / 1.38 GB, free: 0.9609 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001515/0.5648, allocations: 87.27 kB / 1.38 GB, free: 0.875 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.078e-05/0.5649, allocations: 79.28 kB / 1.38 GB, free: 0.7969 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001602/0.565, allocations: 270.2 kB / 1.38 GB, free: 0.5234 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.191e-05/0.5651, allocations: 105 kB / 1.38 GB, free: 424 kB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.467e-05/0.5652, allocations: 111.9 kB / 1.381 GB, free: 304 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.402e-05/0.5653, allocations: 184.1 kB / 1.381 GB, free: 112 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001055/0.5654, allocations: 184.2 kB / 1.381 GB, free: 15.92 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.417e-05/0.5655, allocations: 180.2 kB / 1.381 GB, free: 15.74 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002613/0.5657, allocations: 405.2 kB / 1.381 GB, free: 15.29 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.134e-05/0.5658, allocations: 109.8 kB / 1.382 GB, free: 15.17 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.804e-05/0.5658, allocations: 104.9 kB / 1.382 GB, free: 15.06 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.737e-05/0.5659, allocations: 180.3 kB / 1.382 GB, free: 14.88 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.891e-05/0.566, allocations: 180.2 kB / 1.382 GB, free: 14.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.894e-05/0.5661, allocations: 180.2 kB / 1.382 GB, free: 14.51 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.323e-05/0.5662, allocations: 180.3 kB / 1.382 GB, free: 14.33 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001704/0.5663, allocations: 304.1 kB / 1.383 GB, free: 14.01 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.5665, allocations: 198 kB / 1.383 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.927e-05/0.5666, allocations: 184.3 kB / 1.383 GB, free: 13.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001473/0.5667, allocations: 105 kB / 1.383 GB, free: 13.49 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.806e-05/0.5668, allocations: 188.2 kB / 1.383 GB, free: 13.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.713e-05/0.5669, allocations: 101 kB / 1.383 GB, free: 13.2 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.935e-05/0.5669, allocations: 79.28 kB / 1.383 GB, free: 13.12 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5669, allocations: 0 / 1.383 GB, free: 13.12 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0005665/0.5675, allocations: 95.92 kB / 1.384 GB, free: 13.02 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001387/0.5689, allocations: 1.059 MB / 1.385 GB, free: 11.99 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 6.445e-05/0.569, allocations: 15.94 kB / 1.385 GB, free: 11.98 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.569, allocations: 0 / 1.385 GB, free: 11.98 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.893e-06/0.569, allocations: 0 / 1.385 GB, free: 11.98 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003862/0.5694, allocations: 0.5224 MB / 1.385 GB, free: 11.45 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006943/0.5701, allocations: 253.5 kB / 1.385 GB, free: 11.15 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003313/0.5704, allocations: 0.6809 MB / 1.386 GB, free: 10.45 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.721e-05/0.5705, allocations: 4 kB / 1.386 GB, free: 10.44 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.099e-05/0.5705, allocations: 11.44 kB / 1.386 GB, free: 10.43 MB / 0.8855 GB Notification: Performance of SimCode: time 4.428e-06/0.5705, allocations: 0 / 1.386 GB, free: 10.43 MB / 0.8855 GB [CodegenUtil.tpl:197:14-197:14:writable] Error: Template error: initial value of unknown type: Buildings.Experimental.DHC.Loads.BaseClasses.getPeakLoad("#Peak space cooling load", OpenModelica_fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Resources/Data/Experimental/DHC/Loads/BaseClasses/Validation/RefBldgLargeOfficeNew2004_7.1_5.0_3C_USA_CA_SAN_FRANCISCO.mos")). [CodegenUtil.tpl:197:14-197:14:writable] Error: Template error: initial value of unknown type: Buildings.Experimental.DHC.Loads.BaseClasses.getPeakLoad("#Peak space heating load", OpenModelica_fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Resources/Data/Experimental/DHC/Loads/BaseClasses/Validation/RefBldgLargeOfficeNew2004_7.1_5.0_3C_USA_CA_SAN_FRANCISCO.mos")). [CodegenUtil.tpl:197:14-197:14:writable] Error: Template error: initial value of unknown type: Buildings.Experimental.DHC.Loads.BaseClasses.getPeakLoad("#Peak water heating load", OpenModelica_fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Resources/Data/Experimental/DHC/Loads/BaseClasses/Validation/RefBldgLargeOfficeNew2004_7.1_5.0_3C_USA_CA_SAN_FRANCISCO.mos")).