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.001062/0.001062, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.0015/0.0015, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 223.2 MB / 240 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.663/2.663, allocations: 409.4 MB / 0.684 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003952/0.0003955, allocations: 11.98 kB / 0.8378 GB, free: 6.477 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9322/0.9326, allocations: 146.8 MB / 0.9811 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.001443/0.9341, allocations: 0.9489 MB / 0.9821 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001823/0.936, allocations: 1.183 MB / 0.9832 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.097e-05/0.936, allocations: 4 kB / 0.9832 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.279e-05/0.936, allocations: 0 / 0.9832 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0005515/0.9366, allocations: 163.6 kB / 0.9834 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001187/0.9367, allocations: 30.58 kB / 0.9834 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 4.315e-05/0.9368, allocations: 7.938 kB / 0.9834 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.201e-05/0.9368, allocations: 0 / 0.9834 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.706e-05/0.9368, allocations: 15.97 kB / 0.9834 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001719/0.937, allocations: 17.52 kB / 0.9835 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.937, allocations: 3.938 kB / 0.9835 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003103/0.9373, allocations: 215.7 kB / 0.9837 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.295e-05/0.9374, allocations: 12 kB / 0.9837 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.215e-05/0.9374, allocations: 25.7 kB / 0.9837 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002122/0.9376, allocations: 135.8 kB / 0.9838 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.9376, allocations: 4 kB / 0.9838 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.743e-06/0.9376, allocations: 0 / 0.9838 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.437e-06/0.9376, allocations: 0 / 0.9838 GB, free: 3.469 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.000391/0.938, allocations: 385.4 kB / 0.9842 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.9381, allocations: 8.031 kB / 0.9842 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.96e-05/0.9382, allocations: 109.8 kB / 0.9843 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.517e-05/0.9382, allocations: 83.28 kB / 0.9844 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/0.9384, allocations: 246.3 kB / 0.9846 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.091e-05/0.9385, allocations: 150.6 kB / 0.9848 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.301e-05/0.9385, allocations: 150.6 kB / 0.9849 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.19e-05/0.9386, allocations: 104.9 kB / 0.985 GB, free: 2.152 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.03e-05/0.9386, allocations: 75.28 kB / 0.9851 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.992e-05/0.9387, allocations: 158.6 kB / 0.9852 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.336e-05/0.9388, allocations: 150.6 kB / 0.9854 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.846e-05/0.9388, allocations: 154.5 kB / 0.9855 GB, free: 1.621 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002675/0.9391, allocations: 449.9 kB / 0.986 GB, free: 1.133 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.296e-05/0.9392, allocations: 169.1 kB / 0.9861 GB, free: 0.957 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.332e-05/0.9392, allocations: 80.14 kB / 0.9862 GB, free: 0.875 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.291e-05/0.9393, allocations: 75.28 kB / 0.9863 GB, free: 0.8008 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.081e-05/0.9393, allocations: 113.8 kB / 0.9864 GB, free: 0.6797 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 7.41e-07/0.9393, allocations: 0 / 0.9864 GB, free: 0.6797 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 7.157e-05/0.9394, allocations: 33.66 kB / 0.9864 GB, free: 0.6406 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.231e-05/0.9395, allocations: 207.8 kB / 0.9866 GB, free: 416 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.9396, allocations: 97.84 kB / 0.9867 GB, free: 308 kB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.9396, allocations: 29.7 kB / 0.9867 GB, free: 272 kB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.062e-05/0.9397, allocations: 84.14 kB / 0.9868 GB, free: 184 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.613e-06/0.9397, allocations: 0 / 0.9868 GB, free: 184 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.6e-07/0.9397, allocations: 0 / 0.9868 GB, free: 184 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.9398, allocations: 310.8 kB / 0.9871 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.858e-06/0.9398, allocations: 0 / 0.9871 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.428e-05/0.9399, allocations: 30.5 kB / 0.9871 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.542e-05/0.9399, allocations: 75.28 kB / 0.9872 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.302e-05/0.9399, allocations: 75.28 kB / 0.9873 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.123e-05/0.94, allocations: 33.7 kB / 0.9873 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.432e-05/0.9401, allocations: 79.28 kB / 0.9874 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.538e-05/0.9401, allocations: 79.22 kB / 0.9875 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.153e-05/0.9402, allocations: 162.5 kB / 0.9876 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.595e-05/0.9402, allocations: 79.33 kB / 0.9877 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.097e-05/0.9403, allocations: 158.5 kB / 0.9878 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001428/0.9404, allocations: 83.22 kB / 0.9879 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.327e-05/0.9404, allocations: 79.22 kB / 0.988 GB, free: 14.93 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.0001227/0.9406, allocations: 268.4 kB / 0.9882 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.026e-05/0.9406, allocations: 101 kB / 0.9883 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.096e-05/0.9407, allocations: 112.1 kB / 0.9885 GB, free: 14.44 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.964e-05/0.9407, allocations: 180.2 kB / 0.9886 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.389e-05/0.9408, allocations: 180.2 kB / 0.9888 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-05/0.9409, allocations: 184.2 kB / 0.989 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002207/0.9411, allocations: 409.2 kB / 0.9894 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.2e-05/0.9411, allocations: 101 kB / 0.9895 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.778e-05/0.9412, allocations: 104.9 kB / 0.9896 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.616e-05/0.9413, allocations: 188.2 kB / 0.9897 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.666e-05/0.9413, allocations: 180.2 kB / 0.9899 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.781e-05/0.9414, allocations: 180.3 kB / 0.9901 GB, free: 12.65 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.698e-05/0.9415, allocations: 176.3 kB / 0.9903 GB, free: 12.47 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001463/0.9416, allocations: 319.7 kB / 0.9906 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 7.892e-05/0.9417, allocations: 186.3 kB / 0.9907 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.422e-05/0.9418, allocations: 180.3 kB / 0.9909 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.9419, allocations: 117 kB / 0.991 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.34e-05/0.942, allocations: 184.5 kB / 0.9912 GB, free: 11.44 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.129e-05/0.9421, allocations: 105 kB / 0.9913 GB, free: 11.33 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 4.951e-05/0.9421, allocations: 87.2 kB / 0.9914 GB, free: 11.24 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9421, allocations: 0 / 0.9914 GB, free: 11.24 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003873/0.9425, allocations: 79.98 kB / 0.9915 GB, free: 11.16 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.001098/0.9436, allocations: 1.03 MB / 0.9925 GB, free: 10.16 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 5.489e-05/0.9437, allocations: 0 / 0.9925 GB, free: 10.16 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.9437, allocations: 0 / 0.9925 GB, free: 10.16 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 3.707e-06/0.9437, allocations: 4 kB / 0.9925 GB, free: 10.16 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004178/0.9441, allocations: 0.5263 MB / 0.993 GB, free: 9.629 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005/0.9446, allocations: 237.6 kB / 0.9932 GB, free: 9.348 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000246/0.9449, allocations: 0.6692 MB / 0.9939 GB, free: 8.652 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 2.972e-05/0.9449, allocations: 7.984 kB / 0.9939 GB, free: 8.645 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.829e-05/0.945, allocations: 11.44 kB / 0.9939 GB, free: 8.633 MB / 0.7481 GB Notification: Performance of SimCode: time 2.2e-07/0.945, allocations: 0 / 0.9939 GB, free: 8.633 MB / 0.7481 GB [CodegenUtil.tpl:198:14-198: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:198:14-198: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:198:14-198: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")).