Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_latest_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.00156/0.00156, allocations: 100 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002425/0.002425, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.78/2.78, allocations: 223.2 MB / 239.9 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 5.095/5.095, allocations: 409.2 MB / 0.6838 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005037/0.0005042, allocations: 8 kB / 0.8375 GB, free: 6.555 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.715/1.715, allocations: 146.8 MB / 0.9809 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002255/1.717, allocations: 0.9411 MB / 0.9818 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00352/1.721, allocations: 1.175 MB / 0.9829 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.972e-05/1.721, allocations: 4 kB / 0.9829 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.402e-05/1.721, allocations: 0 / 0.9829 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001184/1.722, allocations: 163.5 kB / 0.9831 GB, free: 4 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002368/1.723, allocations: 31.91 kB / 0.9831 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.666e-05/1.723, allocations: 11.97 kB / 0.9831 GB, free: 3.957 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.907e-05/1.723, allocations: 0 / 0.9831 GB, free: 3.957 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.642e-05/1.723, allocations: 8 kB / 0.9831 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003386/1.723, allocations: 17.45 kB / 0.9832 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.866e-05/1.723, allocations: 0 / 0.9832 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005975/1.724, allocations: 195.8 kB / 0.9834 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.383e-05/1.724, allocations: 7.984 kB / 0.9834 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.96e-05/1.724, allocations: 25.7 kB / 0.9834 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004069/1.724, allocations: 139.8 kB / 0.9835 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/1.724, allocations: 0 / 0.9835 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of FrontEnd: time 9.778e-06/1.724, allocations: 3.984 kB / 0.9835 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.223e-05/1.724, allocations: 3.938 kB / 0.9835 GB, free: 3.559 MB / 0.7325 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.0009659/1.725, allocations: 377.5 kB / 0.9839 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 9.945e-05/1.725, allocations: 12.03 kB / 0.9839 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001733/1.726, allocations: 109.8 kB / 0.984 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001416/1.726, allocations: 75.28 kB / 0.9841 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003968/1.726, allocations: 250.3 kB / 0.9843 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001346/1.726, allocations: 150.6 kB / 0.9845 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001376/1.727, allocations: 150.6 kB / 0.9846 GB, free: 2.359 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001715/1.727, allocations: 108.9 kB / 0.9847 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.236e-05/1.727, allocations: 79.28 kB / 0.9848 GB, free: 2.168 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001545/1.727, allocations: 150.6 kB / 0.9849 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001412/1.727, allocations: 154.5 kB / 0.9851 GB, free: 1.867 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001397/1.727, allocations: 154.6 kB / 0.9852 GB, free: 1.715 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005838/1.728, allocations: 445.9 kB / 0.9856 GB, free: 1.23 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001908/1.728, allocations: 173.1 kB / 0.9858 GB, free: 1.051 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.463e-05/1.728, allocations: 79.27 kB / 0.9859 GB, free: 0.9727 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001184/1.728, allocations: 113.8 kB / 0.986 GB, free: 0.8516 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.362e-06/1.728, allocations: 0 / 0.986 GB, free: 0.8516 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 0.0001279/1.728, allocations: 29.66 kB / 0.986 GB, free: 0.8164 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002043/1.729, allocations: 211.8 kB / 0.9862 GB, free: 0.5781 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001964/1.729, allocations: 97.84 kB / 0.9863 GB, free: 484 kB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.055e-05/1.729, allocations: 25.7 kB / 0.9863 GB, free: 452 kB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/1.729, allocations: 84.14 kB / 0.9864 GB, free: 364 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.168e-06/1.729, allocations: 0 / 0.9864 GB, free: 364 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-06/1.729, allocations: 0 / 0.9864 GB, free: 364 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002814/1.729, allocations: 318.8 kB / 0.9867 GB, free: 36 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.453e-06/1.729, allocations: 0 / 0.9867 GB, free: 36 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.313e-05/1.73, allocations: 22.56 kB / 0.9867 GB, free: 4 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001163/1.73, allocations: 83.27 kB / 0.9868 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.476e-05/1.73, allocations: 75.28 kB / 0.9869 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of matching and sorting (n=0) (initialization): time 9.222e-05/1.73, allocations: 29.7 kB / 0.9869 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 7.389e-05/1.73, allocations: 79.28 kB / 0.987 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.961e-05/1.73, allocations: 79.28 kB / 0.9871 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001264/1.73, allocations: 154.5 kB / 0.9872 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.616e-05/1.73, allocations: 87.23 kB / 0.9873 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.955e-05/1.73, allocations: 158.4 kB / 0.9875 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003045/1.731, allocations: 75.28 kB / 0.9875 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-05/1.731, allocations: 79.28 kB / 0.9876 GB, free: 15.11 MB / 0.7481 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.0002882/1.731, allocations: 264.3 kB / 0.9879 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003494/1.731, allocations: 109 kB / 0.988 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001452/1.732, allocations: 108.1 kB / 0.9881 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001831/1.732, allocations: 184.2 kB / 0.9882 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002147/1.732, allocations: 184.2 kB / 0.9884 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001782/1.732, allocations: 180.2 kB / 0.9886 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006331/1.733, allocations: 413.2 kB / 0.989 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001252/1.733, allocations: 101 kB / 0.9891 GB, free: 13.49 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001017/1.733, allocations: 104.9 kB / 0.9892 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001758/1.733, allocations: 180.2 kB / 0.9893 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001882/1.733, allocations: 192.2 kB / 0.9895 GB, free: 13 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001929/1.734, allocations: 176.3 kB / 0.9897 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001936/1.734, allocations: 180.3 kB / 0.9899 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006992/1.735, allocations: 311.7 kB / 0.9902 GB, free: 12.31 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002759/1.735, allocations: 189.9 kB / 0.9904 GB, free: 12.1 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002388/1.735, allocations: 176.7 kB / 0.9905 GB, free: 11.92 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004608/1.736, allocations: 113 kB / 0.9906 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002095/1.736, allocations: 184.2 kB / 0.9908 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001172/1.736, allocations: 105 kB / 0.9909 GB, free: 11.51 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001438/1.736, allocations: 79.28 kB / 0.991 GB, free: 11.43 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.61e-07/1.736, allocations: 0 / 0.991 GB, free: 11.43 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0008497/1.737, allocations: 87.86 kB / 0.9911 GB, free: 11.34 MB / 0.7481 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.002171/1.739, allocations: 1.029 MB / 0.9921 GB, free: 10.34 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 9.289e-05/1.739, allocations: 11.94 kB / 0.9921 GB, free: 10.33 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.73e-06/1.739, allocations: 0 / 0.9921 GB, free: 10.33 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 3.377e-06/1.739, allocations: 0 / 0.9921 GB, free: 10.33 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006766/1.74, allocations: 0.534 MB / 0.9926 GB, free: 9.793 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009402/1.741, allocations: 237.5 kB / 0.9928 GB, free: 9.512 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005113/1.742, allocations: 0.677 MB / 0.9935 GB, free: 8.809 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 5.111e-05/1.742, allocations: 4 kB / 0.9935 GB, free: 8.805 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.166e-05/1.742, allocations: 11.44 kB / 0.9935 GB, free: 8.793 MB / 0.7481 GB Notification: Performance of SimCode: time 5.31e-07/1.742, allocations: 0 / 0.9935 GB, free: 8.793 MB / 0.7481 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 10.0.0-master/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 10.0.0-master/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 10.0.0-master/Resources/Data/Experimental/DHC/Loads/BaseClasses/Validation/RefBldgLargeOfficeNew2004_7.1_5.0_3C_USA_CA_SAN_FRANCISCO.mos")).