Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_6_0_0_Buildings_Experimental_DistrictHeatingCooling_SubStations_VaporCompression_BaseClasses_Validation_GetPeakLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01077/0.01077, allocations: 107.4 kB / 15.05 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001229/0.001229, allocations: 182.2 kB / 15.94 MB, free: 5.898 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.178/2.178, allocations: 194.6 MB / 211.2 MB, free: 11.05 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.294/2.294, allocations: 236.1 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004764/0.0004767, allocations: 12 kB / 0.5871 GB, free: 2.078 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6975/0.6981, allocations: 98.71 MB / 0.6835 GB, free: 16.67 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2318/0.9299, allocations: 126.5 MB / 0.807 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000377/0.9304, allocations: 95.92 kB / 0.8071 GB, free: 15.58 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02447/0.9549, allocations: 5.428 MB / 0.8124 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.765e-06/0.9549, allocations: 0 / 0.8124 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.124e-06/0.9549, allocations: 0 / 0.8124 GB, free: 10.15 MB / 0.6355 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.0005991/0.9556, allocations: 387.3 kB / 0.8128 GB, free: 9.723 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/0.9556, allocations: 8.031 kB / 0.8128 GB, free: 9.715 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.648e-05/0.9557, allocations: 109.8 kB / 0.8129 GB, free: 9.598 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.764e-05/0.9558, allocations: 91.22 kB / 0.813 GB, free: 9.508 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000159/0.956, allocations: 242.3 kB / 0.8132 GB, free: 9.23 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.309e-05/0.956, allocations: 150.6 kB / 0.8133 GB, free: 9.082 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.563e-05/0.9561, allocations: 150.6 kB / 0.8135 GB, free: 8.934 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.932e-05/0.9562, allocations: 105 kB / 0.8136 GB, free: 8.824 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.327e-05/0.9562, allocations: 79.28 kB / 0.8137 GB, free: 8.746 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.655e-05/0.9563, allocations: 155.6 kB / 0.8138 GB, free: 8.594 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.242e-05/0.9563, allocations: 154.6 kB / 0.814 GB, free: 8.441 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.513e-05/0.9564, allocations: 154.5 kB / 0.8141 GB, free: 8.289 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003062/0.9567, allocations: 453.2 kB / 0.8145 GB, free: 7.801 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.604e-05/0.9568, allocations: 173.1 kB / 0.8147 GB, free: 7.621 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.312e-05/0.9569, allocations: 75.28 kB / 0.8148 GB, free: 7.547 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.133e-05/0.9569, allocations: 105.8 kB / 0.8149 GB, free: 7.434 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 1.924e-06/0.9569, allocations: 0 / 0.8149 GB, free: 7.434 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 9.294e-05/0.957, allocations: 33.64 kB / 0.8149 GB, free: 7.395 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/0.9572, allocations: 203.8 kB / 0.8151 GB, free: 7.164 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.9573, allocations: 101 kB / 0.8152 GB, free: 7.059 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.9573, allocations: 29.64 kB / 0.8152 GB, free: 7.023 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.645e-05/0.9574, allocations: 80.14 kB / 0.8153 GB, free: 6.941 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.074e-06/0.9574, allocations: 0 / 0.8153 GB, free: 6.941 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.61e-07/0.9574, allocations: 4 kB / 0.8153 GB, free: 6.938 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.9575, allocations: 318.8 kB / 0.8156 GB, free: 6.617 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.957e-06/0.9575, allocations: 0 / 0.8156 GB, free: 6.617 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.618e-05/0.9576, allocations: 22.56 kB / 0.8156 GB, free: 6.586 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.82e-05/0.9576, allocations: 83.28 kB / 0.8157 GB, free: 6.504 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.807e-05/0.9577, allocations: 75.28 kB / 0.8158 GB, free: 6.43 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.306e-05/0.9577, allocations: 37.55 kB / 0.8158 GB, free: 6.387 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.2e-05/0.9578, allocations: 79.28 kB / 0.8159 GB, free: 6.309 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.006e-05/0.9578, allocations: 75.28 kB / 0.816 GB, free: 6.234 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.832e-05/0.9579, allocations: 158.5 kB / 0.8161 GB, free: 6.078 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.196e-05/0.958, allocations: 79.28 kB / 0.8162 GB, free: 6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.411e-05/0.958, allocations: 154.5 kB / 0.8163 GB, free: 5.848 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002065/0.9582, allocations: 87.2 kB / 0.8164 GB, free: 5.762 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.989e-05/0.9583, allocations: 79.28 kB / 0.8165 GB, free: 5.684 MB / 0.6355 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001386/0.9584, allocations: 264.4 kB / 0.8167 GB, free: 5.414 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.488e-05/0.9585, allocations: 112.9 kB / 0.8169 GB, free: 5.297 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.9e-05/0.9586, allocations: 112.1 kB / 0.817 GB, free: 5.18 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.36e-05/0.9587, allocations: 184.2 kB / 0.8171 GB, free: 4.992 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.604e-05/0.9587, allocations: 180.3 kB / 0.8173 GB, free: 4.809 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.917e-05/0.9588, allocations: 176.3 kB / 0.8175 GB, free: 4.629 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002512/0.9591, allocations: 409.1 kB / 0.8179 GB, free: 4.172 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.963e-05/0.9591, allocations: 109 kB / 0.818 GB, free: 4.059 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.872e-05/0.9592, allocations: 108.9 kB / 0.8181 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.646e-05/0.9592, allocations: 180.3 kB / 0.8182 GB, free: 3.762 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.932e-05/0.9594, allocations: 180.2 kB / 0.8184 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.405e-05/0.9594, allocations: 180.2 kB / 0.8186 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-05/0.9595, allocations: 180.3 kB / 0.8188 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001546/0.9597, allocations: 308.1 kB / 0.8191 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.094e-05/0.9598, allocations: 186 kB / 0.8192 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.734e-05/0.9599, allocations: 184.2 kB / 0.8194 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002121/0.9601, allocations: 113 kB / 0.8195 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.984e-05/0.9602, allocations: 184.2 kB / 0.8197 GB, free: 2.188 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-05/0.9602, allocations: 101 kB / 0.8198 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.877e-05/0.9603, allocations: 79.52 kB / 0.8199 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.51e-07/0.9603, allocations: 0 / 0.8199 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000641/0.961, allocations: 107.9 kB / 0.82 GB, free: 1.898 MB / 0.6355 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001272/0.9623, allocations: 1.067 MB / 0.821 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 5.629e-05/0.9623, allocations: 4 kB / 0.821 GB, free: 0.8555 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.9623, allocations: 0 / 0.821 GB, free: 0.8555 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.22e-06/0.9624, allocations: 4 kB / 0.821 GB, free: 0.8516 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003266/0.9627, allocations: 0.5224 MB / 0.8215 GB, free: 332 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006743/0.9634, allocations: 245.5 kB / 0.8218 GB, free: 40 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002575/0.9637, allocations: 0.6771 MB / 0.8224 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.394e-05/0.9637, allocations: 8 kB / 0.8224 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.822e-05/0.9638, allocations: 18.7 kB / 0.8225 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of SimCode: time 1.593e-06/0.9638, allocations: 3.938 kB / 0.8225 GB, free: 15.3 MB / 0.6511 GB [CodegenUtil.tpl:197:14-197:14:writable] Error: Template error: initial value of unknown type: Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.getPeakLoad("#Peak space cooling load", OpenModelica_fmuLoadResource("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Resources/Data/Experimental/DistrictHeatingCooling/SubStations/VaporCompression/RefBldgLargeOfficeNew2004_7.1_5.0_3C_USA_CA_SAN_FRANCISCO.mos")). [CodegenUtil.tpl:197:14-197:14:writable] Error: Template error: initial value of unknown type: Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.getPeakLoad("#Peak space heating load", OpenModelica_fmuLoadResource("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Resources/Data/Experimental/DistrictHeatingCooling/SubStations/VaporCompression/RefBldgLargeOfficeNew2004_7.1_5.0_3C_USA_CA_SAN_FRANCISCO.mos")). [CodegenUtil.tpl:197:14-197:14:writable] Error: Template error: initial value of unknown type: Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.getPeakLoad("#Peak water heating load", OpenModelica_fmuLoadResource("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Resources/Data/Experimental/DistrictHeatingCooling/SubStations/VaporCompression/RefBldgLargeOfficeNew2004_7.1_5.0_3C_USA_CA_SAN_FRANCISCO.mos")).