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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.0008948/0.0008948, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.005412/0.005412, allocations: 169.8 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.236/1.236, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.459/2.459, allocations: 462.7 MB / 0.7364 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003238/0.0003238, allocations: 11.62 kB / 0.9029 GB, free: 36.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2394/0.2397, allocations: 159.6 MB / 1.059 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.0009893/0.2408, allocations: 0.9665 MB / 1.06 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001491/0.2423, allocations: 1.241 MB / 1.061 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.082e-05/0.2423, allocations: 0 / 1.061 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.09e-05/0.2423, allocations: 4 kB / 1.061 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000448/0.2428, allocations: 159.6 kB / 1.061 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 9.031e-05/0.2429, allocations: 27.95 kB / 1.061 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 3.804e-05/0.2429, allocations: 15.92 kB / 1.061 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.134e-05/0.2429, allocations: 4 kB / 1.061 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.047e-05/0.243, allocations: 7.938 kB / 1.061 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001594/0.2431, allocations: 23.97 kB / 1.061 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.03e-05/0.2432, allocations: 7.938 kB / 1.061 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002823/0.2434, allocations: 227.7 kB / 1.061 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.637e-06/0.2435, allocations: 4 kB / 1.061 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.254e-05/0.2435, allocations: 37.62 kB / 1.061 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000253/0.2438, allocations: 207.7 kB / 1.062 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.2438, allocations: 0 / 1.062 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.216e-06/0.2438, allocations: 4 kB / 1.062 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.2438, allocations: 0 / 1.062 GB, free: 1.934 MB / 0.8106 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.0002996/0.2441, allocations: 367.8 kB / 1.062 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.2441, allocations: 15.97 kB / 1.062 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.542e-05/0.2442, allocations: 106 kB / 1.062 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.882e-05/0.2442, allocations: 80.22 kB / 1.062 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.2443, allocations: 255.5 kB / 1.062 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.696e-05/0.2444, allocations: 150.9 kB / 1.063 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.23e-05/0.2444, allocations: 150.9 kB / 1.063 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.491e-05/0.2445, allocations: 104.9 kB / 1.063 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/0.2445, allocations: 75.28 kB / 1.063 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.399e-05/0.2445, allocations: 158.6 kB / 1.063 GB, free: 404 kB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.431e-05/0.2446, allocations: 154.5 kB / 1.063 GB, free: 248 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.585e-05/0.2446, allocations: 150.6 kB / 1.063 GB, free: 96 kB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002085/0.2448, allocations: 449.9 kB / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.721e-05/0.2449, allocations: 173.1 kB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.37e-05/0.2449, allocations: 84.19 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.245, allocations: 83.22 kB / 1.064 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/0.245, allocations: 105.8 kB / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 8.02e-07/0.245, allocations: 0 / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 5.744e-05/0.2451, allocations: 37.62 kB / 1.064 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.585e-05/0.2451, allocations: 207.8 kB / 1.064 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.349e-05/0.2452, allocations: 97.86 kB / 1.065 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/0.2452, allocations: 25.7 kB / 1.065 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.662e-05/0.2453, allocations: 80.14 kB / 1.065 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.352e-06/0.2453, allocations: 4 kB / 1.065 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.62e-05/0.2453, allocations: 9.719 kB / 1.065 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 7.256e-05/0.2454, allocations: 314.8 kB / 1.065 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.825e-06/0.2454, allocations: 0 / 1.065 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.652e-05/0.2454, allocations: 22.77 kB / 1.065 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.981e-05/0.2454, allocations: 75.28 kB / 1.065 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.108e-05/0.2454, allocations: 79.28 kB / 1.065 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.005e-05/0.2455, allocations: 41.48 kB / 1.065 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.872e-05/0.2455, allocations: 79.28 kB / 1.065 GB, free: 14 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.912e-05/0.2456, allocations: 79.27 kB / 1.065 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.331e-05/0.2456, allocations: 162.5 kB / 1.065 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.641e-05/0.2456, allocations: 83.22 kB / 1.066 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.475e-05/0.2457, allocations: 150.6 kB / 1.066 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001242/0.2458, allocations: 83.22 kB / 1.066 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.796e-05/0.2458, allocations: 75.28 kB / 1.066 GB, free: 13.38 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.968e-05/0.2459, allocations: 268.4 kB / 1.066 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.798e-05/0.246, allocations: 112.9 kB / 1.066 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.35e-05/0.246, allocations: 104.1 kB / 1.066 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.163e-05/0.2461, allocations: 180.3 kB / 1.066 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.371e-05/0.2461, allocations: 184.2 kB / 1.067 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.026e-05/0.2461, allocations: 180.2 kB / 1.067 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001628/0.2463, allocations: 405.2 kB / 1.067 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.799e-05/0.2463, allocations: 112.9 kB / 1.067 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.526e-05/0.2464, allocations: 108.9 kB / 1.067 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.122e-05/0.2464, allocations: 184.2 kB / 1.068 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.26e-05/0.2465, allocations: 176.3 kB / 1.068 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.124e-05/0.2465, allocations: 180.2 kB / 1.068 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.064e-05/0.2466, allocations: 184.6 kB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.124e-05/0.2467, allocations: 307.8 kB / 1.068 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.563e-05/0.2467, allocations: 194 kB / 1.069 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.073e-05/0.2468, allocations: 180.2 kB / 1.069 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.2469, allocations: 113 kB / 1.069 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.892e-05/0.247, allocations: 176.3 kB / 1.069 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.658e-05/0.247, allocations: 108.9 kB / 1.069 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.884e-05/0.247, allocations: 79.28 kB / 1.069 GB, free: 9.695 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.247, allocations: 0 / 1.069 GB, free: 9.695 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003251/0.2474, allocations: 79.98 kB / 1.069 GB, free: 9.617 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00078/0.2481, allocations: 1.04 MB / 1.07 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 2.962e-05/0.2482, allocations: 7.938 kB / 1.07 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2482, allocations: 0 / 1.07 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.062e-06/0.2482, allocations: 0 / 1.07 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002942/0.2485, allocations: 0.5224 MB / 1.071 GB, free: 8.066 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000382/0.2489, allocations: 241.6 kB / 1.071 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001601/0.249, allocations: 0.6731 MB / 1.072 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.663e-05/0.2491, allocations: 4 kB / 1.072 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.489e-05/0.2491, allocations: 11.44 kB / 1.072 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of SimCode: time 1.352e-06/0.2491, allocations: 0 / 1.072 GB, free: 7.074 MB / 0.8262 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 11.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 11.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 11.0.0-master/Resources/Data/Experimental/DHC/Loads/BaseClasses/Validation/RefBldgLargeOfficeNew2004_7.1_5.0_3C_USA_CA_SAN_FRANCISCO.mos")).