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.001176/0.001176, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001177/0.001178, allocations: 195.3 kB / 16.14 MB, free: 6.719 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.213/1.213, allocations: 222.9 MB / 239.8 MB, free: 4.574 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.298/2.298, allocations: 437 MB / 0.7099 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 67.91 kB / 0.8687 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5585/0.5598, allocations: 151.6 MB / 1.017 GB, free: 2.727 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002005/0.5618, allocations: 1.292 MB / 1.018 GB, free: 1.426 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001628/0.5635, allocations: 1.253 MB / 1.019 GB, free: 168 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.16e-05/0.5635, allocations: 0 / 1.019 GB, free: 168 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.527e-05/0.5635, allocations: 0 / 1.019 GB, free: 168 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0004915/0.564, allocations: 163.6 kB / 1.019 GB, free: 4 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001009/0.5641, allocations: 35.89 kB / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 4.174e-05/0.5642, allocations: 23.86 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.588e-05/0.5642, allocations: 0 / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 1.979e-05/0.5642, allocations: 7.938 kB / 1.019 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001707/0.5644, allocations: 17.16 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.047e-05/0.5644, allocations: 0 / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002984/0.5647, allocations: 239.7 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.106e-05/0.5647, allocations: 4 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.276e-05/0.5648, allocations: 11.92 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000269/0.565, allocations: 207.7 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.5651, allocations: 7.938 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.002e-06/0.5651, allocations: 0 / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.5651, allocations: 0 / 1.02 GB, free: 15.46 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.000364/0.5654, allocations: 381.8 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.5655, allocations: 8.031 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.037e-05/0.5655, allocations: 110 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.313e-05/0.5656, allocations: 80.22 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.5657, allocations: 239.7 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.422e-05/0.5658, allocations: 154.9 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.742e-05/0.5658, allocations: 158.9 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.793e-05/0.5659, allocations: 108.9 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.376e-05/0.5659, allocations: 75.28 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.848e-05/0.566, allocations: 154.5 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-05/0.566, allocations: 166.5 kB / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.694e-05/0.5661, allocations: 150.6 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002239/0.5663, allocations: 446 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.578e-05/0.5664, allocations: 165.1 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.77e-05/0.5664, allocations: 84.14 kB / 1.022 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.5664, allocations: 83.16 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.426e-05/0.5665, allocations: 109.8 kB / 1.022 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.5665, allocations: 4 kB / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 6.519e-05/0.5666, allocations: 29.7 kB / 1.022 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.562e-05/0.5666, allocations: 203.8 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.444e-05/0.5667, allocations: 93.86 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.5667, allocations: 33.69 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.657e-05/0.5668, allocations: 88.14 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.393e-06/0.5668, allocations: 0 / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.473e-05/0.5668, allocations: 13.72 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.875e-05/0.5669, allocations: 310.8 kB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.747e-06/0.5669, allocations: 0 / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.957e-05/0.567, allocations: 22.52 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.78e-05/0.567, allocations: 87.27 kB / 1.023 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-05/0.567, allocations: 75.28 kB / 1.023 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.431e-05/0.5671, allocations: 37.55 kB / 1.023 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.515e-05/0.5671, allocations: 79.28 kB / 1.023 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.215e-05/0.5671, allocations: 75.28 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.727e-05/0.5672, allocations: 158.5 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.626e-05/0.5672, allocations: 79.33 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.89e-05/0.5673, allocations: 158.5 kB / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001431/0.5674, allocations: 83.27 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.133e-05/0.5674, allocations: 79.28 kB / 1.024 GB, free: 10.9 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 9.729e-05/0.5675, allocations: 264.9 kB / 1.024 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.631e-05/0.5676, allocations: 104.9 kB / 1.024 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.685e-05/0.5676, allocations: 116.1 kB / 1.025 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.904e-05/0.5677, allocations: 180.2 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.344e-05/0.5678, allocations: 184.2 kB / 1.025 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.587e-05/0.5678, allocations: 180.2 kB / 1.025 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001863/0.568, allocations: 401.2 kB / 1.025 GB, free: 9.395 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.225e-05/0.568, allocations: 108.9 kB / 1.026 GB, free: 9.281 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.867e-05/0.5681, allocations: 108.9 kB / 1.026 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.097e-05/0.5681, allocations: 180.3 kB / 1.026 GB, free: 8.984 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.292e-05/0.5682, allocations: 184.2 kB / 1.026 GB, free: 8.797 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.76e-05/0.5682, allocations: 180.3 kB / 1.026 GB, free: 8.613 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.353e-05/0.5683, allocations: 176.3 kB / 1.026 GB, free: 8.434 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001145/0.5684, allocations: 311.8 kB / 1.027 GB, free: 8.105 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.867e-05/0.5685, allocations: 197.9 kB / 1.027 GB, free: 7.887 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.82e-05/0.5685, allocations: 176.3 kB / 1.027 GB, free: 7.707 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001208/0.5687, allocations: 105.4 kB / 1.027 GB, free: 7.598 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.621e-05/0.5687, allocations: 192.2 kB / 1.027 GB, free: 7.402 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.919e-05/0.5688, allocations: 101 kB / 1.027 GB, free: 7.297 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.121e-05/0.5688, allocations: 79.28 kB / 1.027 GB, free: 7.219 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5688, allocations: 0 / 1.027 GB, free: 7.219 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003624/0.5692, allocations: 75.98 kB / 1.028 GB, free: 7.145 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.0009253/0.5701, allocations: 1.051 MB / 1.029 GB, free: 6.121 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 3.549e-05/0.5701, allocations: 0 / 1.029 GB, free: 6.121 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.5701, allocations: 4 kB / 1.029 GB, free: 6.117 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.292e-06/0.5702, allocations: 4 kB / 1.029 GB, free: 6.113 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003448/0.5705, allocations: 0.5253 MB / 1.029 GB, free: 5.586 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004176/0.5709, allocations: 240.1 kB / 1.029 GB, free: 5.309 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001953/0.5711, allocations: 0.6731 MB / 1.03 GB, free: 4.609 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.845e-05/0.5712, allocations: 8 kB / 1.03 GB, free: 4.602 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.778e-05/0.5712, allocations: 15.42 kB / 1.03 GB, free: 4.586 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.5712, allocations: 0 / 1.03 GB, free: 4.586 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")).