Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_latest_Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_latest_Buildings_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.001252/0.001252, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00133/0.00133, allocations: 190 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.35/2.35, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.089/3.089, allocations: 461.9 MB / 0.7343 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002436/0.002436, allocations: 69.06 kB / 0.8987 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3287, allocations: 157.4 MB / 1.052 GB, free: 8.664 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002733/0.3315, allocations: 1.298 MB / 1.054 GB, free: 7.352 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002146/0.3337, allocations: 1.233 MB / 1.055 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.647e-05/0.3337, allocations: 0 / 1.055 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.935e-05/0.3338, allocations: 3.938 kB / 1.055 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0009181/0.3347, allocations: 179.6 kB / 1.055 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001258/0.3348, allocations: 38.95 kB / 1.055 GB, free: 5.895 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.172e-05/0.3349, allocations: 15.98 kB / 1.055 GB, free: 5.879 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.193e-05/0.3349, allocations: 0 / 1.055 GB, free: 5.879 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.478e-05/0.335, allocations: 11.88 kB / 1.055 GB, free: 5.867 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002386/0.3352, allocations: 19.98 kB / 1.055 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.412e-05/0.3353, allocations: 3.984 kB / 1.055 GB, free: 5.844 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004326/0.3357, allocations: 235.7 kB / 1.055 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.502e-05/0.3357, allocations: 4 kB / 1.055 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.498e-05/0.3358, allocations: 7.938 kB / 1.055 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004284/0.3362, allocations: 211.6 kB / 1.056 GB, free: 5.395 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.3362, allocations: 4 kB / 1.056 GB, free: 5.391 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.084e-06/0.3362, allocations: 0 / 1.056 GB, free: 5.391 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.3363, allocations: 0 / 1.056 GB, free: 5.391 MB / 0.8106 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.0004587/0.3367, allocations: 375.8 kB / 1.056 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.3368, allocations: 16.62 kB / 1.056 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.376e-05/0.3368, allocations: 106 kB / 1.056 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.183e-05/0.3369, allocations: 80.2 kB / 1.056 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.3371, allocations: 243.6 kB / 1.056 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.103e-05/0.3371, allocations: 154.9 kB / 1.057 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.735e-05/0.3372, allocations: 150.9 kB / 1.057 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.228e-05/0.3372, allocations: 112.9 kB / 1.057 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.646e-05/0.3373, allocations: 75.28 kB / 1.057 GB, free: 4 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.268e-05/0.3373, allocations: 158.5 kB / 1.057 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.234e-05/0.3374, allocations: 150.6 kB / 1.057 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.623e-05/0.3374, allocations: 150.6 kB / 1.057 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002678/0.3377, allocations: 449.9 kB / 1.058 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.525e-05/0.3378, allocations: 173.1 kB / 1.058 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.557e-05/0.3378, allocations: 80.14 kB / 1.058 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.3379, allocations: 83.2 kB / 1.058 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.61e-05/0.3379, allocations: 113.9 kB / 1.058 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.213e-06/0.3379, allocations: 0 / 1.058 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 8.898e-05/0.338, allocations: 45.55 kB / 1.058 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.754e-05/0.3381, allocations: 203.8 kB / 1.058 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.3382, allocations: 97.84 kB / 1.058 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.3383, allocations: 25.7 kB / 1.058 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.774e-05/0.3383, allocations: 88.14 kB / 1.059 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.044e-06/0.3383, allocations: 0 / 1.059 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.962e-05/0.3383, allocations: 9.719 kB / 1.059 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.3385, allocations: 318.8 kB / 1.059 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.31e-06/0.3385, allocations: 0 / 1.059 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.806e-05/0.3385, allocations: 18.58 kB / 1.059 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.879e-05/0.3385, allocations: 79.27 kB / 1.059 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.173e-05/0.3386, allocations: 79.28 kB / 1.059 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.514e-05/0.3386, allocations: 37.58 kB / 1.059 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.321e-05/0.3387, allocations: 83.28 kB / 1.059 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.76e-05/0.3387, allocations: 75.28 kB / 1.059 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.658e-05/0.3388, allocations: 150.6 kB / 1.059 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.842e-05/0.3388, allocations: 83.22 kB / 1.059 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.267e-05/0.3389, allocations: 150.6 kB / 1.06 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001622/0.339, allocations: 87.2 kB / 1.06 GB, free: 0.9023 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.375e-05/0.3391, allocations: 83.22 kB / 1.06 GB, free: 0.8203 MB / 0.8106 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.0001454/0.3392, allocations: 264.4 kB / 1.06 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.544e-05/0.3393, allocations: 104.9 kB / 1.06 GB, free: 452 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.94e-05/0.3394, allocations: 112 kB / 1.06 GB, free: 336 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.362e-05/0.3395, allocations: 180.3 kB / 1.06 GB, free: 148 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001051/0.3396, allocations: 188.2 kB / 1.061 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-05/0.3396, allocations: 176.3 kB / 1.061 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002506/0.3399, allocations: 405.4 kB / 1.061 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.282e-05/0.34, allocations: 108.9 kB / 1.061 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.27e-05/0.34, allocations: 113 kB / 1.061 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.972e-05/0.3401, allocations: 180.2 kB / 1.062 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.966e-05/0.3401, allocations: 188.2 kB / 1.062 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.992e-05/0.3402, allocations: 188.1 kB / 1.062 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.875e-05/0.3403, allocations: 176.3 kB / 1.062 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001561/0.3404, allocations: 303.8 kB / 1.062 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.476e-05/0.3405, allocations: 194 kB / 1.063 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.619e-05/0.3406, allocations: 180.2 kB / 1.063 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/0.3408, allocations: 105 kB / 1.063 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.956e-05/0.3408, allocations: 184.2 kB / 1.063 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.233e-05/0.3409, allocations: 104.9 kB / 1.063 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.955e-05/0.3409, allocations: 79.28 kB / 1.063 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.21e-07/0.3409, allocations: 4 kB / 1.063 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004148/0.3413, allocations: 75.98 kB / 1.063 GB, free: 13.06 MB / 0.8262 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.001109/0.3425, allocations: 1.042 MB / 1.064 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 5.91e-05/0.3425, allocations: 7.938 kB / 1.064 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3425, allocations: 0 / 1.064 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.503e-06/0.3426, allocations: 0 / 1.064 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003574/0.3429, allocations: 463.7 kB / 1.065 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005179/0.3434, allocations: 234.5 kB / 1.065 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002139/0.3437, allocations: 0.669 MB / 1.066 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.187e-05/0.3437, allocations: 4 kB / 1.066 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.446e-05/0.3437, allocations: 15.42 kB / 1.066 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of SimCode: time 2.7e-07/0.3438, allocations: 0 / 1.066 GB, free: 10.6 MB / 0.8262 GB [CodegenUtil.tpl:216:14-216:14:writable] Error: Template error: initial value of unknown type: Buildings.DHC.Loads.BaseClasses.getPeakLoad("#Peak space cooling load", OpenModelica_fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/Resources/Data/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.DHC.Loads.BaseClasses.getPeakLoad("#Peak space heating load", OpenModelica_fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/Resources/Data/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.DHC.Loads.BaseClasses.getPeakLoad("#Peak water heating load", OpenModelica_fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/Resources/Data/DHC/Loads/BaseClasses/Validation/RefBldgLargeOfficeNew2004_7.1_5.0_3C_USA_CA_SAN_FRANCISCO.mos")).