Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_8_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_8_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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.778/1.778, allocations: 292.6 MB / 307.5 MB, free: 5.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001276/0.001276, allocations: 181 kB / 377.1 MB, free: 1.551 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.801/1.801, allocations: 205.4 MB / 0.6366 GB, free: 8.641 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009855/0.0009854, allocations: 90.44 kB / 0.7509 GB, free: 63.13 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003916/0.0003917, allocations: 8 kB / 0.8749 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3242/0.3246, allocations: 116.3 MB / 0.9884 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8879/1.213, allocations: 140.8 MB / 1.126 GB, free: 34.2 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003614/1.213, allocations: 92.55 kB / 1.126 GB, free: 34.12 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01397/1.227, allocations: 5.278 MB / 1.131 GB, free: 30.22 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.943e-06/1.227, allocations: 0 / 1.131 GB, free: 30.22 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.236e-06/1.227, allocations: 4.656 kB / 1.131 GB, free: 30.21 MB / 0.7292 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.0004246/1.228, allocations: 392.6 kB / 1.132 GB, free: 29.79 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.072e-05/1.228, allocations: 16.58 kB / 1.132 GB, free: 29.78 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.685e-05/1.228, allocations: 107.3 kB / 1.132 GB, free: 29.66 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.27e-05/1.228, allocations: 86.36 kB / 1.132 GB, free: 29.59 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/1.228, allocations: 243.2 kB / 1.132 GB, free: 29.31 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.523e-05/1.228, allocations: 152.7 kB / 1.132 GB, free: 29.16 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.163e-05/1.228, allocations: 154 kB / 1.132 GB, free: 29.01 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.635e-05/1.228, allocations: 108.2 kB / 1.132 GB, free: 28.9 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/1.228, allocations: 76.81 kB / 1.132 GB, free: 28.83 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.783e-05/1.228, allocations: 154.6 kB / 1.133 GB, free: 28.68 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.402e-05/1.228, allocations: 158.2 kB / 1.133 GB, free: 28.52 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.259e-05/1.228, allocations: 152.6 kB / 1.133 GB, free: 28.38 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002202/1.228, allocations: 448.6 kB / 1.133 GB, free: 27.89 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.56e-05/1.228, allocations: 174.1 kB / 1.134 GB, free: 27.71 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.975e-05/1.229, allocations: 79.28 kB / 1.134 GB, free: 27.64 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.572e-05/1.229, allocations: 105.8 kB / 1.134 GB, free: 27.52 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/1.229, allocations: 0 / 1.134 GB, free: 27.52 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0): time 8.565e-05/1.229, allocations: 32.11 kB / 1.134 GB, free: 27.49 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.534e-05/1.229, allocations: 207.8 kB / 1.134 GB, free: 27.25 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.138e-05/1.229, allocations: 96.41 kB / 1.134 GB, free: 27.16 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/1.229, allocations: 29.7 kB / 1.134 GB, free: 27.12 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.939e-05/1.229, allocations: 80.14 kB / 1.134 GB, free: 27.04 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.084e-05/1.229, allocations: 1.031 kB / 1.134 GB, free: 27.04 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.51e-07/1.229, allocations: 0 / 1.134 GB, free: 27.04 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.581e-05/1.229, allocations: 310.9 kB / 1.134 GB, free: 26.73 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.74e-06/1.229, allocations: 8 kB / 1.134 GB, free: 26.72 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.127e-05/1.229, allocations: 22 kB / 1.134 GB, free: 26.69 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.518e-05/1.229, allocations: 83.28 kB / 1.135 GB, free: 26.61 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.584e-05/1.229, allocations: 75.28 kB / 1.135 GB, free: 26.54 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.374e-05/1.229, allocations: 33.66 kB / 1.135 GB, free: 26.5 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.908e-05/1.229, allocations: 83.22 kB / 1.135 GB, free: 26.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.744e-05/1.229, allocations: 75.28 kB / 1.135 GB, free: 26.34 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.257e-05/1.229, allocations: 150.6 kB / 1.135 GB, free: 26.19 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.825e-05/1.229, allocations: 83.34 kB / 1.135 GB, free: 26.11 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.407e-05/1.229, allocations: 163.1 kB / 1.135 GB, free: 25.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001256/1.229, allocations: 79.78 kB / 1.135 GB, free: 25.88 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.805e-05/1.23, allocations: 79.28 kB / 1.135 GB, free: 25.8 MB / 0.7292 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 9.013e-05/1.23, allocations: 256.4 kB / 1.136 GB, free: 25.54 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.654e-05/1.23, allocations: 112.6 kB / 1.136 GB, free: 25.42 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.744e-05/1.23, allocations: 120.6 kB / 1.136 GB, free: 25.3 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.431e-05/1.23, allocations: 176.3 kB / 1.136 GB, free: 25.12 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.305e-05/1.23, allocations: 184.2 kB / 1.136 GB, free: 24.93 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-05/1.23, allocations: 180.6 kB / 1.136 GB, free: 24.75 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001655/1.23, allocations: 401.2 kB / 1.137 GB, free: 24.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.516e-05/1.23, allocations: 113.4 kB / 1.137 GB, free: 24.19 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.38e-05/1.23, allocations: 105 kB / 1.137 GB, free: 24.08 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-05/1.23, allocations: 186.8 kB / 1.137 GB, free: 23.89 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.149e-05/1.23, allocations: 176.8 kB / 1.137 GB, free: 23.71 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.618e-05/1.23, allocations: 180.3 kB / 1.137 GB, free: 23.53 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.421e-05/1.23, allocations: 183.8 kB / 1.138 GB, free: 23.35 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.921e-05/1.23, allocations: 308.1 kB / 1.138 GB, free: 23.02 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.875e-05/1.23, allocations: 185.7 kB / 1.138 GB, free: 22.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.049e-05/1.23, allocations: 184.8 kB / 1.138 GB, free: 22.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/1.231, allocations: 112.4 kB / 1.138 GB, free: 22.52 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.394e-05/1.231, allocations: 184.3 kB / 1.139 GB, free: 22.33 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-05/1.231, allocations: 104.9 kB / 1.139 GB, free: 22.22 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.799e-05/1.231, allocations: 83.28 kB / 1.139 GB, free: 22.14 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.1e-07/1.231, allocations: 0 / 1.139 GB, free: 22.14 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004459/1.231, allocations: 98.81 kB / 1.139 GB, free: 22.05 MB / 0.7292 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.0009591/1.232, allocations: 1.038 MB / 1.14 GB, free: 21.09 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 5.118e-05/1.232, allocations: 3.938 kB / 1.14 GB, free: 21.08 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/1.232, allocations: 4 kB / 1.14 GB, free: 21.08 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.212e-06/1.232, allocations: 0 / 1.14 GB, free: 21.08 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002299/1.232, allocations: 0.5263 MB / 1.14 GB, free: 20.55 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005333/1.233, allocations: 253.8 kB / 1.141 GB, free: 20.28 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001389/1.233, allocations: 0.6765 MB / 1.141 GB, free: 19.58 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.201e-05/1.233, allocations: 4.703 kB / 1.141 GB, free: 19.57 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.237e-05/1.233, allocations: 11.44 kB / 1.141 GB, free: 19.57 MB / 0.7292 GB Notification: Performance of SimCode: time 9.41e-07/1.233, allocations: 4 kB / 1.141 GB, free: 19.56 MB / 0.7292 GB [CodegenUtil.tpl:197:14-197: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 8.1.4-maint.8.1.x/Resources/Data/Experimental/DHC/Loads/BaseClasses/Validation/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.DHC.Loads.BaseClasses.getPeakLoad("#Peak space heating load", OpenModelica_fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Data/Experimental/DHC/Loads/BaseClasses/Validation/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.DHC.Loads.BaseClasses.getPeakLoad("#Peak water heating load", OpenModelica_fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/Data/Experimental/DHC/Loads/BaseClasses/Validation/RefBldgLargeOfficeNew2004_7.1_5.0_3C_USA_CA_SAN_FRANCISCO.mos")).