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.001133/0.001133, allocations: 104 kB / 15.6 MB, free: 148 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.001247/0.001247, allocations: 196.1 kB / 16.53 MB, free: 6.617 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.305/1.305, allocations: 222.9 MB / 240.2 MB, free: 4.199 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.456/2.456, allocations: 437 MB / 0.7104 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 63.91 kB / 0.8694 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6091/0.6104, allocations: 151.6 MB / 1.017 GB, free: 2.402 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002461/0.6129, allocations: 1.223 MB / 1.019 GB, free: 1.168 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001891/0.6149, allocations: 1.245 MB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.186e-05/0.6149, allocations: 3.938 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.719e-05/0.6149, allocations: 0 / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0007497/0.6157, allocations: 219.2 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001132/0.6158, allocations: 27.95 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.02e-05/0.6159, allocations: 11.94 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.372e-05/0.6159, allocations: 8 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.858e-05/0.616, allocations: 11.97 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001993/0.6162, allocations: 22.67 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.223e-05/0.6162, allocations: 0 / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004016/0.6166, allocations: 239.7 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.383e-05/0.6166, allocations: 4 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.081e-05/0.6167, allocations: 7.984 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003645/0.617, allocations: 207.7 kB / 1.021 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.617, allocations: 0 / 1.021 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.372e-06/0.617, allocations: 0 / 1.021 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.6171, allocations: 0 / 1.021 GB, free: 15.17 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.0004386/0.6175, allocations: 390.3 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.6175, allocations: 8.031 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.827e-05/0.6176, allocations: 110 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.891e-05/0.6177, allocations: 84.16 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/0.6178, allocations: 239.7 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.433e-05/0.6179, allocations: 150.9 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.057e-05/0.6179, allocations: 158.9 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.843e-05/0.618, allocations: 104.9 kB / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.964e-05/0.618, allocations: 75.28 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.827e-05/0.6181, allocations: 150.6 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-05/0.6182, allocations: 150.6 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.2e-05/0.6182, allocations: 162.5 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002717/0.6185, allocations: 449.9 kB / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.155e-05/0.6186, allocations: 169.1 kB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.391e-05/0.6186, allocations: 80.14 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.6186, allocations: 79.22 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.48e-05/0.6187, allocations: 117.8 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.6187, allocations: 0 / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 8.316e-05/0.6188, allocations: 29.64 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.988e-05/0.6189, allocations: 207.8 kB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.619, allocations: 102 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.619, allocations: 25.7 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.235e-05/0.6191, allocations: 80.14 kB / 1.024 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.904e-06/0.6191, allocations: 4 kB / 1.024 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.864e-05/0.6191, allocations: 17.72 kB / 1.024 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.724e-05/0.6192, allocations: 314.8 kB / 1.024 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.959e-06/0.6192, allocations: 3.938 kB / 1.024 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.058e-05/0.6193, allocations: 18.58 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.438e-05/0.6193, allocations: 75.28 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.624e-05/0.6193, allocations: 75.28 kB / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.456e-05/0.6194, allocations: 41.67 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.35e-05/0.6194, allocations: 79.28 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.961e-05/0.6195, allocations: 83.27 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.734e-05/0.6195, allocations: 162.5 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.095e-05/0.6196, allocations: 75.28 kB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.744e-05/0.6196, allocations: 150.7 kB / 1.025 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000159/0.6198, allocations: 91.23 kB / 1.025 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.927e-05/0.6198, allocations: 79.33 kB / 1.025 GB, free: 10.59 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.0001095/0.6199, allocations: 264.4 kB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.698e-05/0.62, allocations: 120.8 kB / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.396e-05/0.62, allocations: 104.1 kB / 1.025 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.88e-05/0.6201, allocations: 180.3 kB / 1.025 GB, free: 9.906 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.516e-05/0.6202, allocations: 180.2 kB / 1.026 GB, free: 9.723 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.686e-05/0.6202, allocations: 184.2 kB / 1.026 GB, free: 9.535 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001987/0.6204, allocations: 401.2 kB / 1.026 GB, free: 9.086 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.612e-05/0.6205, allocations: 108.9 kB / 1.026 GB, free: 8.973 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.112e-05/0.6205, allocations: 105 kB / 1.026 GB, free: 8.863 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.634e-05/0.6206, allocations: 184.2 kB / 1.027 GB, free: 8.676 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.084e-05/0.6206, allocations: 176.3 kB / 1.027 GB, free: 8.496 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.8e-05/0.6207, allocations: 184.2 kB / 1.027 GB, free: 8.309 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.142e-05/0.6208, allocations: 180.3 kB / 1.027 GB, free: 8.125 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001265/0.6209, allocations: 307.8 kB / 1.027 GB, free: 7.801 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.148e-05/0.621, allocations: 190 kB / 1.027 GB, free: 7.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7e-05/0.621, allocations: 184.2 kB / 1.028 GB, free: 7.402 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001258/0.6212, allocations: 109 kB / 1.028 GB, free: 7.289 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.952e-05/0.6212, allocations: 180.2 kB / 1.028 GB, free: 7.105 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.532e-05/0.6213, allocations: 109 kB / 1.028 GB, free: 6.992 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.174e-05/0.6213, allocations: 87.27 kB / 1.028 GB, free: 6.906 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6213, allocations: 0 / 1.028 GB, free: 6.906 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003819/0.6217, allocations: 75.98 kB / 1.028 GB, free: 6.832 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.001008/0.6227, allocations: 1.042 MB / 1.029 GB, free: 5.82 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 4.8e-05/0.6228, allocations: 4.344 kB / 1.029 GB, free: 5.816 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.6228, allocations: 0 / 1.029 GB, free: 5.816 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.683e-06/0.6228, allocations: 0 / 1.029 GB, free: 5.816 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.6231, allocations: 467.7 kB / 1.03 GB, free: 5.359 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005007/0.6236, allocations: 230.4 kB / 1.03 GB, free: 5.094 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002148/0.6239, allocations: 0.6729 MB / 1.031 GB, free: 4.395 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.236e-05/0.6239, allocations: 7.938 kB / 1.031 GB, free: 4.387 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.895e-05/0.6239, allocations: 15.44 kB / 1.031 GB, free: 4.371 MB / 0.7794 GB Notification: Performance of SimCode: time 3.3e-07/0.6239, allocations: 0 / 1.031 GB, free: 4.371 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")).