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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001295/0.001295, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 192.7 kB / 16.53 MB, free: 6.664 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.28/1.28, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.471/2.471, allocations: 437.1 MB / 0.7104 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 67.89 kB / 0.8694 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6425/0.6439, allocations: 151.6 MB / 1.017 GB, free: 2.469 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002173/0.6461, allocations: 1.219 MB / 1.019 GB, free: 1.238 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00174/0.6479, allocations: 1.251 MB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.074e-05/0.6479, allocations: 4 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.691e-05/0.6479, allocations: 0 / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000603/0.6486, allocations: 211.3 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 9.466e-05/0.6487, allocations: 35.81 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.053e-05/0.6487, allocations: 15.92 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.791e-05/0.6488, allocations: 0 / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.237e-05/0.6488, allocations: 12 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001666/0.649, allocations: 17.34 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.179e-05/0.649, allocations: 4 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003322/0.6493, allocations: 239.7 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.485e-05/0.6493, allocations: 7.969 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.303e-05/0.6494, allocations: 8 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002973/0.6497, allocations: 203.6 kB / 1.021 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.6497, allocations: 0 / 1.021 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.373e-06/0.6497, allocations: 4 kB / 1.021 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.6497, allocations: 3.984 kB / 1.021 GB, free: 15.23 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.0004043/0.6501, allocations: 381.7 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.6502, allocations: 15.97 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.698e-05/0.6502, allocations: 110 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.563e-05/0.6503, allocations: 76.22 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.6504, allocations: 243.7 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.542e-05/0.6505, allocations: 150.9 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.22e-05/0.6505, allocations: 150.9 kB / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.705e-05/0.6506, allocations: 108.9 kB / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.504e-05/0.6506, allocations: 79.28 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.987e-05/0.6507, allocations: 158.5 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.331e-05/0.6508, allocations: 150.6 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.42e-05/0.6508, allocations: 150.6 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000249/0.6511, allocations: 445.9 kB / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.219e-05/0.6512, allocations: 177.1 kB / 1.023 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.947e-05/0.6512, allocations: 84.08 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.701e-05/0.6512, allocations: 79.22 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.399e-05/0.6513, allocations: 105.8 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.6513, allocations: 0 / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 7.584e-05/0.6514, allocations: 41.69 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.012e-05/0.6515, allocations: 203.8 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.363e-05/0.6516, allocations: 93.86 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.6516, allocations: 25.7 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.286e-05/0.6516, allocations: 84.14 kB / 1.024 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.292e-06/0.6516, allocations: 4 kB / 1.024 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.379e-05/0.6517, allocations: 13.7 kB / 1.024 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.6518, allocations: 318.8 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.28e-06/0.6518, allocations: 0 / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.017e-05/0.6518, allocations: 22.52 kB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.052e-05/0.6519, allocations: 75.28 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.941e-05/0.6519, allocations: 75.28 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.972e-05/0.6519, allocations: 45.86 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.217e-05/0.652, allocations: 79.28 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.42e-05/0.652, allocations: 83.22 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.297e-05/0.6521, allocations: 150.6 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.144e-05/0.6521, allocations: 79.28 kB / 1.024 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.26e-05/0.6522, allocations: 154.6 kB / 1.025 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000155/0.6523, allocations: 91.27 kB / 1.025 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.476e-05/0.6524, allocations: 83.27 kB / 1.025 GB, free: 10.66 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.0001141/0.6525, allocations: 264.4 kB / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.679e-05/0.6526, allocations: 112.8 kB / 1.025 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.731e-05/0.6526, allocations: 104.1 kB / 1.025 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.485e-05/0.6527, allocations: 188.2 kB / 1.025 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.41e-05/0.6527, allocations: 180.3 kB / 1.026 GB, free: 9.793 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.82e-05/0.6528, allocations: 188.1 kB / 1.026 GB, free: 9.602 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002201/0.653, allocations: 401.2 kB / 1.026 GB, free: 9.152 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-05/0.6531, allocations: 104.9 kB / 1.026 GB, free: 9.043 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.467e-05/0.6531, allocations: 104.9 kB / 1.026 GB, free: 8.934 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.838e-05/0.6532, allocations: 180.3 kB / 1.027 GB, free: 8.75 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.026e-05/0.6533, allocations: 184.2 kB / 1.027 GB, free: 8.562 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.381e-05/0.6533, allocations: 188.2 kB / 1.027 GB, free: 8.371 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.631e-05/0.6534, allocations: 176.3 kB / 1.027 GB, free: 8.191 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001498/0.6536, allocations: 303.8 kB / 1.027 GB, free: 7.871 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.51e-05/0.6536, allocations: 190 kB / 1.027 GB, free: 7.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.176e-05/0.6537, allocations: 188.3 kB / 1.028 GB, free: 7.469 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/0.6538, allocations: 105 kB / 1.028 GB, free: 7.359 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.403e-05/0.6539, allocations: 184.2 kB / 1.028 GB, free: 7.172 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.144e-05/0.654, allocations: 105 kB / 1.028 GB, free: 7.062 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.672e-05/0.654, allocations: 79.28 kB / 1.028 GB, free: 6.984 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.654, allocations: 0 / 1.028 GB, free: 6.984 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003701/0.6544, allocations: 75.98 kB / 1.028 GB, free: 6.91 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.001009/0.6554, allocations: 1.053 MB / 1.029 GB, free: 5.887 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 4.234e-05/0.6555, allocations: 352 / 1.029 GB, free: 5.887 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.6555, allocations: 0 / 1.029 GB, free: 5.887 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.453e-06/0.6555, allocations: 0 / 1.029 GB, free: 5.887 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003492/0.6558, allocations: 464.4 kB / 1.03 GB, free: 5.43 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004383/0.6563, allocations: 238.4 kB / 1.03 GB, free: 5.156 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002268/0.6565, allocations: 0.6729 MB / 1.031 GB, free: 4.457 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.892e-05/0.6565, allocations: 7.984 kB / 1.031 GB, free: 4.449 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.8e-05/0.6566, allocations: 15.42 kB / 1.031 GB, free: 4.434 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.6566, allocations: 0 / 1.031 GB, free: 4.434 MB / 0.7794 GB [CodegenUtil.tpl:216:14-216: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.1-maint.10.0.x/Resources/Data/Experimental/DHC/Loads/BaseClasses/Validation/RefBldgLargeOfficeNew2004_7.1_5.0_3C_USA_CA_SAN_FRANCISCO.mos")). [CodegenUtil.tpl:216:14-216: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.1-maint.10.0.x/Resources/Data/Experimental/DHC/Loads/BaseClasses/Validation/RefBldgLargeOfficeNew2004_7.1_5.0_3C_USA_CA_SAN_FRANCISCO.mos")). [CodegenUtil.tpl:216:14-216: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.1-maint.10.0.x/Resources/Data/Experimental/DHC/Loads/BaseClasses/Validation/RefBldgLargeOfficeNew2004_7.1_5.0_3C_USA_CA_SAN_FRANCISCO.mos")).