Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 2.075/2.075, allocations: 288.2 MB / 303.2 MB, free: 8.234 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.002147/0.002147, allocations: 185 kB / 371.8 MB, free: 10.28 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.949/1.949, allocations: 205.4 MB / 0.6305 GB, free: 9.996 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001131/0.001131, allocations: 90.67 kB / 0.7439 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004455/0.0004458, allocations: 10.75 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2994/0.2999, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.03/1.33, allocations: 139.9 MB / 1.116 GB, free: 16.46 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003881/1.331, allocations: 92.52 kB / 1.116 GB, free: 16.46 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02112/1.352, allocations: 5.279 MB / 1.121 GB, free: 31.96 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.679e-06/1.352, allocations: 0 / 1.121 GB, free: 31.96 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.278e-05/1.352, allocations: 0 / 1.121 GB, free: 31.96 MB / 0.698 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.0007386/1.353, allocations: 390.4 kB / 1.122 GB, free: 31.57 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 7.523e-05/1.353, allocations: 11.53 kB / 1.122 GB, free: 31.57 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.826e-05/1.353, allocations: 109.8 kB / 1.122 GB, free: 31.46 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001053/1.353, allocations: 75.28 kB / 1.122 GB, free: 31.38 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002075/1.353, allocations: 260.5 kB / 1.122 GB, free: 31.1 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.522e-05/1.353, allocations: 150.6 kB / 1.122 GB, free: 30.95 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.347e-05/1.354, allocations: 150.6 kB / 1.122 GB, free: 30.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001054/1.354, allocations: 101 kB / 1.123 GB, free: 30.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.791e-05/1.354, allocations: 75.28 kB / 1.123 GB, free: 30.62 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.363e-05/1.354, allocations: 154.4 kB / 1.123 GB, free: 30.47 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.697e-05/1.354, allocations: 154.6 kB / 1.123 GB, free: 30.32 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.704e-05/1.354, allocations: 155.5 kB / 1.123 GB, free: 30.17 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004117/1.354, allocations: 448.7 kB / 1.123 GB, free: 29.69 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/1.355, allocations: 176.4 kB / 1.124 GB, free: 29.51 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.409e-05/1.355, allocations: 79.28 kB / 1.124 GB, free: 29.43 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.785e-05/1.355, allocations: 109.1 kB / 1.124 GB, free: 29.32 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 2.224e-06/1.355, allocations: 0 / 1.124 GB, free: 29.32 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 0.0001293/1.355, allocations: 33.45 kB / 1.124 GB, free: 29.29 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001257/1.355, allocations: 203.8 kB / 1.124 GB, free: 29.05 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/1.355, allocations: 95.48 kB / 1.124 GB, free: 28.96 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/1.355, allocations: 25.7 kB / 1.124 GB, free: 28.93 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.16e-05/1.355, allocations: 84.14 kB / 1.124 GB, free: 28.85 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.846e-06/1.355, allocations: 0 / 1.124 GB, free: 28.85 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.71e-07/1.355, allocations: 0 / 1.124 GB, free: 28.85 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001475/1.355, allocations: 318.6 kB / 1.125 GB, free: 28.54 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.835e-06/1.356, allocations: 4 kB / 1.125 GB, free: 28.53 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.798e-05/1.356, allocations: 18.42 kB / 1.125 GB, free: 28.51 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.912e-05/1.356, allocations: 83.22 kB / 1.125 GB, free: 28.43 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.474e-05/1.356, allocations: 78.61 kB / 1.125 GB, free: 28.35 MB / 0.698 GB Notification: Performance of matching and sorting (n=0) (initialization): time 9.174e-05/1.356, allocations: 33.5 kB / 1.125 GB, free: 28.32 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.578e-05/1.356, allocations: 79.25 kB / 1.125 GB, free: 28.24 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.621e-05/1.356, allocations: 75.28 kB / 1.125 GB, free: 28.17 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.791e-05/1.356, allocations: 158.3 kB / 1.125 GB, free: 28.02 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.952e-05/1.356, allocations: 75.28 kB / 1.125 GB, free: 27.94 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-05/1.356, allocations: 165.7 kB / 1.125 GB, free: 27.78 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001787/1.356, allocations: 82.11 kB / 1.125 GB, free: 27.71 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.184e-05/1.356, allocations: 79.28 kB / 1.125 GB, free: 27.63 MB / 0.698 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.0001517/1.356, allocations: 260.2 kB / 1.126 GB, free: 27.37 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.341e-05/1.357, allocations: 114.6 kB / 1.126 GB, free: 27.25 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.213e-05/1.357, allocations: 113.6 kB / 1.126 GB, free: 27.14 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.894e-05/1.357, allocations: 184.1 kB / 1.126 GB, free: 26.96 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.843e-05/1.357, allocations: 179.2 kB / 1.126 GB, free: 26.78 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.847e-05/1.357, allocations: 176.3 kB / 1.126 GB, free: 26.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002838/1.357, allocations: 406.8 kB / 1.127 GB, free: 26.15 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.495e-05/1.357, allocations: 101 kB / 1.127 GB, free: 26.05 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.95e-05/1.357, allocations: 119.8 kB / 1.127 GB, free: 25.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.648e-05/1.357, allocations: 183.6 kB / 1.127 GB, free: 25.75 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.188e-05/1.357, allocations: 176.3 kB / 1.127 GB, free: 25.57 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.791e-05/1.358, allocations: 180.2 kB / 1.128 GB, free: 25.38 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.403e-05/1.358, allocations: 182.8 kB / 1.128 GB, free: 25.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002023/1.358, allocations: 311.1 kB / 1.128 GB, free: 24.88 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/1.358, allocations: 184.2 kB / 1.128 GB, free: 24.68 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001057/1.358, allocations: 188 kB / 1.128 GB, free: 24.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001791/1.358, allocations: 103.7 kB / 1.128 GB, free: 24.39 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/1.358, allocations: 192 kB / 1.129 GB, free: 24.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.986e-05/1.358, allocations: 110.8 kB / 1.129 GB, free: 24.09 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.636e-05/1.359, allocations: 79.06 kB / 1.129 GB, free: 24.02 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.61e-07/1.359, allocations: 0 / 1.129 GB, free: 24.02 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006863/1.359, allocations: 97.52 kB / 1.129 GB, free: 23.99 MB / 0.698 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.001596/1.361, allocations: 1.034 MB / 1.13 GB, free: 23.12 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 7.187e-05/1.361, allocations: 7.781 kB / 1.13 GB, free: 23.12 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/1.361, allocations: 0 / 1.13 GB, free: 23.12 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.314e-06/1.361, allocations: 0 / 1.13 GB, free: 23.12 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004153/1.361, allocations: 0.5332 MB / 1.13 GB, free: 22.59 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008032/1.362, allocations: 254.7 kB / 1.131 GB, free: 22.34 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003228/1.363, allocations: 0.676 MB / 1.131 GB, free: 21.64 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.134e-05/1.363, allocations: 7.891 kB / 1.131 GB, free: 21.64 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.473e-05/1.363, allocations: 13.91 kB / 1.131 GB, free: 21.63 MB / 0.698 GB Notification: Performance of SimCode: time 4.41e-07/1.363, allocations: 0 / 1.131 GB, free: 21.63 MB / 0.698 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.0.1-maint.8.0.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.0.1-maint.8.0.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.0.1-maint.8.0.x/Resources/Data/Experimental/DHC/Loads/BaseClasses/Validation/RefBldgLargeOfficeNew2004_7.1_5.0_3C_USA_CA_SAN_FRANCISCO.mos")).