Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_10_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_10_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008832/0.0008832, allocations: 91.22 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00537/0.00537, allocations: 172.7 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.235/1.235, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.323/2.323, allocations: 437.8 MB / 0.7121 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003031/0.0003031, allocations: 11.98 kB / 0.873 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5573/0.5576, allocations: 153.8 MB / 1.023 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.00115/0.5588, allocations: 0.9604 MB / 1.024 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001698/0.5605, allocations: 1.234 MB / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.198e-05/0.5605, allocations: 4 kB / 1.025 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.534e-05/0.5605, allocations: 0 / 1.025 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000488/0.561, allocations: 163.6 kB / 1.025 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 9.604e-05/0.5611, allocations: 27.97 kB / 1.025 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 4.18e-05/0.5612, allocations: 15.92 kB / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.581e-05/0.5612, allocations: 4 kB / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.117e-05/0.5613, allocations: 11.92 kB / 1.026 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000163/0.5614, allocations: 11.98 kB / 1.026 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.5614, allocations: 4 kB / 1.026 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003122/0.5618, allocations: 247.7 kB / 1.026 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.001e-05/0.5618, allocations: 3.938 kB / 1.026 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.204e-05/0.5618, allocations: 33.69 kB / 1.026 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002737/0.5621, allocations: 207.6 kB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.5621, allocations: 0 / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of FrontEnd: time 4.349e-06/0.5621, allocations: 0 / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.236e-06/0.5621, allocations: 4 kB / 1.026 GB, free: 12.86 MB / 0.7794 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.0003665/0.5625, allocations: 377.7 kB / 1.026 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.5626, allocations: 12.03 kB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.051e-05/0.5626, allocations: 110 kB / 1.026 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.48e-05/0.5627, allocations: 76.22 kB / 1.027 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.5628, allocations: 243.7 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.791e-05/0.5629, allocations: 150.9 kB / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.078e-05/0.5629, allocations: 154.9 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.482e-05/0.563, allocations: 108.9 kB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.531e-05/0.563, allocations: 79.28 kB / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.521e-05/0.5631, allocations: 150.6 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.983e-05/0.5631, allocations: 154.6 kB / 1.028 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.282e-05/0.5632, allocations: 154.5 kB / 1.028 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002374/0.5634, allocations: 445.9 kB / 1.028 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.604e-05/0.5635, allocations: 177.1 kB / 1.028 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.557e-05/0.5635, allocations: 80.14 kB / 1.028 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.679e-05/0.5636, allocations: 79.22 kB / 1.028 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.958e-05/0.5636, allocations: 109.8 kB / 1.029 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.5636, allocations: 0 / 1.029 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 6.454e-05/0.5637, allocations: 33.7 kB / 1.029 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.998e-05/0.5638, allocations: 211.8 kB / 1.029 GB, free: 9.793 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.807e-05/0.5639, allocations: 93.86 kB / 1.029 GB, free: 9.691 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.5639, allocations: 25.7 kB / 1.029 GB, free: 9.66 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.692e-05/0.5639, allocations: 84.14 kB / 1.029 GB, free: 9.574 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.312e-06/0.5639, allocations: 3.938 kB / 1.029 GB, free: 9.57 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.57e-05/0.564, allocations: 13.72 kB / 1.029 GB, free: 9.551 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.017e-05/0.5641, allocations: 310.8 kB / 1.029 GB, free: 9.238 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.216e-06/0.5641, allocations: 4 kB / 1.029 GB, free: 9.234 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.998e-05/0.5641, allocations: 22.56 kB / 1.029 GB, free: 9.203 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.249e-05/0.5641, allocations: 75.28 kB / 1.029 GB, free: 9.129 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-05/0.5641, allocations: 75.28 kB / 1.029 GB, free: 9.055 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.459e-05/0.5642, allocations: 33.64 kB / 1.029 GB, free: 9.016 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.957e-05/0.5642, allocations: 79.28 kB / 1.03 GB, free: 8.938 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.274e-05/0.5643, allocations: 79.22 kB / 1.03 GB, free: 8.859 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.65e-05/0.5643, allocations: 162.6 kB / 1.03 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.299e-05/0.5644, allocations: 79.27 kB / 1.03 GB, free: 8.621 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.275e-05/0.5644, allocations: 158.5 kB / 1.03 GB, free: 8.465 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001407/0.5646, allocations: 83.22 kB / 1.03 GB, free: 8.383 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.549e-05/0.5646, allocations: 79.22 kB / 1.03 GB, free: 8.305 MB / 0.7794 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001015/0.5647, allocations: 268.9 kB / 1.03 GB, free: 8.031 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.154e-05/0.5647, allocations: 108.9 kB / 1.031 GB, free: 7.918 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.978e-05/0.5648, allocations: 108.3 kB / 1.031 GB, free: 7.805 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.581e-05/0.5648, allocations: 180.3 kB / 1.031 GB, free: 7.621 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.974e-05/0.5649, allocations: 180.2 kB / 1.031 GB, free: 7.438 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.987e-05/0.565, allocations: 180.2 kB / 1.031 GB, free: 7.254 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001867/0.5651, allocations: 409.2 kB / 1.032 GB, free: 6.797 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.969e-05/0.5652, allocations: 108.9 kB / 1.032 GB, free: 6.684 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.196e-05/0.5652, allocations: 101 kB / 1.032 GB, free: 6.578 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.85e-05/0.5653, allocations: 184.2 kB / 1.032 GB, free: 6.391 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.634e-05/0.5653, allocations: 188.2 kB / 1.032 GB, free: 6.199 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-05/0.5654, allocations: 180.3 kB / 1.032 GB, free: 6.016 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-05/0.5654, allocations: 180.2 kB / 1.032 GB, free: 5.832 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001102/0.5656, allocations: 311.7 kB / 1.033 GB, free: 5.504 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.22e-05/0.5656, allocations: 190 kB / 1.033 GB, free: 5.293 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.085e-05/0.5657, allocations: 180.7 kB / 1.033 GB, free: 5.109 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.5658, allocations: 112.9 kB / 1.033 GB, free: 4.992 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.715e-05/0.5659, allocations: 176.3 kB / 1.033 GB, free: 4.812 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.93e-05/0.5659, allocations: 105 kB / 1.033 GB, free: 4.703 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.824e-05/0.566, allocations: 83.27 kB / 1.034 GB, free: 4.621 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.566, allocations: 3.938 kB / 1.034 GB, free: 4.617 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003479/0.5663, allocations: 75.98 kB / 1.034 GB, free: 4.543 MB / 0.7794 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008632/0.5672, allocations: 1.045 MB / 1.035 GB, free: 3.527 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 3.715e-05/0.5672, allocations: 3.984 kB / 1.035 GB, free: 3.523 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.5672, allocations: 0 / 1.035 GB, free: 3.523 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.625e-06/0.5672, allocations: 3.938 kB / 1.035 GB, free: 3.52 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003331/0.5676, allocations: 0.5247 MB / 1.035 GB, free: 2.992 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004238/0.568, allocations: 237.6 kB / 1.035 GB, free: 2.715 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001968/0.5682, allocations: 0.6731 MB / 1.036 GB, free: 2.016 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.788e-05/0.5683, allocations: 7.984 kB / 1.036 GB, free: 2.008 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.485e-05/0.5683, allocations: 11.44 kB / 1.036 GB, free: 1.996 MB / 0.7794 GB Notification: Performance of SimCode: time 2.11e-07/0.5683, allocations: 0 / 1.036 GB, free: 1.996 MB / 0.7794 GB [CodegenUtil.tpl:198:14-198: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 10.1.0-maint.10.0.x/Resources/Data/Experimental/DHC/Loads/BaseClasses/Validation/RefBldgLargeOfficeNew2004_7.1_5.0_3C_USA_CA_SAN_FRANCISCO.mos")). [CodegenUtil.tpl:198:14-198: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 10.1.0-maint.10.0.x/Resources/Data/Experimental/DHC/Loads/BaseClasses/Validation/RefBldgLargeOfficeNew2004_7.1_5.0_3C_USA_CA_SAN_FRANCISCO.mos")). [CodegenUtil.tpl:198:14-198: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 10.1.0-maint.10.0.x/Resources/Data/Experimental/DHC/Loads/BaseClasses/Validation/RefBldgLargeOfficeNew2004_7.1_5.0_3C_USA_CA_SAN_FRANCISCO.mos")).