Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0/package.mo): time 2.699/2.699, allocations: 287.3 MB / 302.3 MB, free: 8.277 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.001442/0.001441, allocations: 172.8 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.111/2.111, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.00116/0.001159, allocations: 96.59 kB / 0.7428 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006784/0.0006784, allocations: 10.28 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2308/0.2315, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9745/1.206, allocations: 139.7 MB / 1.115 GB, free: 15.48 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003207/1.206, allocations: 91.88 kB / 1.115 GB, free: 15.48 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02337/1.23, allocations: 5.267 MB / 1.12 GB, free: 30.99 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.966e-06/1.23, allocations: 0 / 1.12 GB, free: 30.99 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.308e-06/1.23, allocations: 0 / 1.12 GB, free: 30.99 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.0006729/1.231, allocations: 394.5 kB / 1.12 GB, free: 30.6 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.45e-05/1.231, allocations: 19.42 kB / 1.12 GB, free: 30.59 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.872e-05/1.231, allocations: 105.8 kB / 1.12 GB, free: 30.48 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.469e-05/1.231, allocations: 79.12 kB / 1.121 GB, free: 30.4 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000168/1.231, allocations: 252.3 kB / 1.121 GB, free: 30.12 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.546e-05/1.231, allocations: 157.2 kB / 1.121 GB, free: 29.97 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.313e-05/1.231, allocations: 150.6 kB / 1.121 GB, free: 29.82 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.489e-05/1.231, allocations: 101 kB / 1.121 GB, free: 29.71 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.768e-05/1.231, allocations: 78.81 kB / 1.121 GB, free: 29.64 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.282e-05/1.231, allocations: 150.6 kB / 1.121 GB, free: 29.49 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.465e-05/1.231, allocations: 162.5 kB / 1.122 GB, free: 29.33 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.638e-05/1.232, allocations: 151.5 kB / 1.122 GB, free: 29.18 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000323/1.232, allocations: 452 kB / 1.122 GB, free: 28.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.576e-05/1.232, allocations: 165.1 kB / 1.122 GB, free: 28.53 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.869e-05/1.232, allocations: 79.28 kB / 1.122 GB, free: 28.45 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.732e-05/1.232, allocations: 115.9 kB / 1.122 GB, free: 28.34 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 2.044e-06/1.232, allocations: 0 / 1.122 GB, free: 28.34 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 9.296e-05/1.232, allocations: 29.45 kB / 1.122 GB, free: 28.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001156/1.232, allocations: 203.8 kB / 1.123 GB, free: 28.07 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/1.233, allocations: 91.72 kB / 1.123 GB, free: 27.98 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/1.233, allocations: 28.89 kB / 1.123 GB, free: 27.95 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.833e-05/1.233, allocations: 87.98 kB / 1.123 GB, free: 27.87 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.144e-06/1.233, allocations: 0 / 1.123 GB, free: 27.87 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.01e-07/1.233, allocations: 0 / 1.123 GB, free: 27.87 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001309/1.233, allocations: 310.9 kB / 1.123 GB, free: 27.55 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.382e-06/1.233, allocations: 4 kB / 1.123 GB, free: 27.55 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.426e-05/1.233, allocations: 20.69 kB / 1.123 GB, free: 27.53 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.804e-05/1.233, allocations: 83.16 kB / 1.123 GB, free: 27.45 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.291e-05/1.233, allocations: 83.23 kB / 1.123 GB, free: 27.37 MB / 0.698 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.388e-05/1.233, allocations: 31.72 kB / 1.123 GB, free: 27.34 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.586e-05/1.233, allocations: 82.97 kB / 1.123 GB, free: 27.26 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.606e-05/1.233, allocations: 75.28 kB / 1.124 GB, free: 27.19 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.11e-05/1.233, allocations: 158.5 kB / 1.124 GB, free: 27.03 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.471e-05/1.233, allocations: 75.28 kB / 1.124 GB, free: 26.96 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.096e-05/1.233, allocations: 161.1 kB / 1.124 GB, free: 26.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002102/1.234, allocations: 79.28 kB / 1.124 GB, free: 26.73 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.577e-05/1.234, allocations: 82.97 kB / 1.124 GB, free: 26.65 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.0001548/1.234, allocations: 267 kB / 1.124 GB, free: 26.38 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.877e-05/1.234, allocations: 108.8 kB / 1.124 GB, free: 26.27 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.369e-05/1.234, allocations: 105.8 kB / 1.125 GB, free: 26.17 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.61e-05/1.234, allocations: 190.7 kB / 1.125 GB, free: 25.98 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.836e-05/1.234, allocations: 180.1 kB / 1.125 GB, free: 25.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.487e-05/1.234, allocations: 180.2 kB / 1.125 GB, free: 25.62 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002732/1.234, allocations: 395.9 kB / 1.125 GB, free: 25.18 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.732e-05/1.235, allocations: 108.5 kB / 1.126 GB, free: 25.07 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.345e-05/1.235, allocations: 119.4 kB / 1.126 GB, free: 24.95 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.796e-05/1.235, allocations: 180.2 kB / 1.126 GB, free: 24.77 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.894e-05/1.235, allocations: 180.2 kB / 1.126 GB, free: 24.58 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.842e-05/1.235, allocations: 182.8 kB / 1.126 GB, free: 24.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.349e-05/1.235, allocations: 176.3 kB / 1.126 GB, free: 24.22 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001855/1.235, allocations: 310.8 kB / 1.127 GB, free: 23.91 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/1.235, allocations: 189.9 kB / 1.127 GB, free: 23.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/1.235, allocations: 182.8 kB / 1.127 GB, free: 23.52 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002159/1.236, allocations: 104.9 kB / 1.127 GB, free: 23.41 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.612e-05/1.236, allocations: 187 kB / 1.127 GB, free: 23.23 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.668e-05/1.236, allocations: 105 kB / 1.127 GB, free: 23.12 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.637e-05/1.236, allocations: 82.56 kB / 1.127 GB, free: 23.04 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.61e-07/1.236, allocations: 0 / 1.127 GB, free: 23.04 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000677/1.237, allocations: 93.64 kB / 1.128 GB, free: 23.02 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.001388/1.238, allocations: 1.057 MB / 1.129 GB, free: 22.14 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 6.148e-05/1.238, allocations: 3.812 kB / 1.129 GB, free: 22.14 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/1.238, allocations: 0 / 1.129 GB, free: 22.14 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.335e-06/1.238, allocations: 0 / 1.129 GB, free: 22.14 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003834/1.238, allocations: 0.5299 MB / 1.129 GB, free: 21.61 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000699/1.239, allocations: 251.6 kB / 1.129 GB, free: 21.36 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002921/1.239, allocations: 0.6757 MB / 1.13 GB, free: 20.67 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.537e-05/1.24, allocations: 3.969 kB / 1.13 GB, free: 20.67 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.601e-05/1.24, allocations: 21.47 kB / 1.13 GB, free: 20.66 MB / 0.698 GB Notification: Performance of SimCode: time 1.703e-06/1.24, allocations: 0 / 1.13 GB, free: 20.66 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.0/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.0/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.0/Resources/Data/Experimental/DHC/Loads/BaseClasses/Validation/RefBldgLargeOfficeNew2004_7.1_5.0_3C_USA_CA_SAN_FRANCISCO.mos")).