Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_latest_Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_latest_Buildings_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.001205/0.001205, allocations: 104 kB / 15.6 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 196.1 kB / 16.53 MB, free: 6.617 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.237/1.237, allocations: 222.9 MB / 240.2 MB, free: 4.207 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.58/2.58, allocations: 461.9 MB / 0.7346 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 65.44 kB / 0.8992 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2755/0.2768, allocations: 157.4 MB / 1.053 GB, free: 8.32 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002218/0.279, allocations: 1.237 MB / 1.054 GB, free: 7.07 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001662/0.2807, allocations: 1.249 MB / 1.055 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.805e-05/0.2807, allocations: 0 / 1.055 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.678e-05/0.2808, allocations: 0 / 1.055 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0005888/0.2814, allocations: 215.2 kB / 1.056 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 9.469e-05/0.2815, allocations: 35.19 kB / 1.056 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.464e-05/0.2815, allocations: 19.94 kB / 1.056 GB, free: 5.551 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.349e-05/0.2816, allocations: 0 / 1.056 GB, free: 5.551 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.054e-05/0.2816, allocations: 11.98 kB / 1.056 GB, free: 5.539 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001628/0.2817, allocations: 26.3 kB / 1.056 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.131e-05/0.2818, allocations: 0 / 1.056 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003239/0.2821, allocations: 235.7 kB / 1.056 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.049e-05/0.2821, allocations: 0 / 1.056 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.012e-05/0.2821, allocations: 4 kB / 1.056 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000292/0.2824, allocations: 211.6 kB / 1.056 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.2824, allocations: 0 / 1.056 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2824, allocations: 0 / 1.056 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.674e-06/0.2825, allocations: 4 kB / 1.056 GB, free: 5.07 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.0003914/0.2829, allocations: 381.2 kB / 1.056 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.2829, allocations: 8.625 kB / 1.056 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.286e-05/0.283, allocations: 110 kB / 1.057 GB, free: 4.527 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.29e-05/0.283, allocations: 80.22 kB / 1.057 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.2832, allocations: 239.6 kB / 1.057 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.363e-05/0.2832, allocations: 154.9 kB / 1.057 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.05e-05/0.2833, allocations: 162.8 kB / 1.057 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.079e-05/0.2833, allocations: 109.4 kB / 1.057 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.721e-05/0.2834, allocations: 83.27 kB / 1.057 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.282e-05/0.2834, allocations: 150.6 kB / 1.057 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.211e-05/0.2835, allocations: 150.6 kB / 1.058 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.329e-05/0.2835, allocations: 154.6 kB / 1.058 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002514/0.2838, allocations: 449.9 kB / 1.058 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.445e-05/0.2839, allocations: 169.1 kB / 1.058 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.127e-05/0.2839, allocations: 84.12 kB / 1.058 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.814e-05/0.2839, allocations: 87.16 kB / 1.059 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.024e-05/0.284, allocations: 109.8 kB / 1.059 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 9.31e-07/0.284, allocations: 0 / 1.059 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 7.297e-05/0.2841, allocations: 37.55 kB / 1.059 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.669e-05/0.2842, allocations: 203.8 kB / 1.059 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.046e-05/0.2843, allocations: 97.84 kB / 1.059 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.2843, allocations: 25.7 kB / 1.059 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.438e-05/0.2843, allocations: 92.14 kB / 1.059 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.633e-06/0.2843, allocations: 0 / 1.059 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.453e-05/0.2844, allocations: 13.72 kB / 1.059 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.738e-05/0.2845, allocations: 310.8 kB / 1.059 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.556e-06/0.2845, allocations: 0 / 1.059 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.21e-05/0.2845, allocations: 34.64 kB / 1.059 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.446e-05/0.2845, allocations: 75.28 kB / 1.059 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-05/0.2846, allocations: 79.28 kB / 1.06 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.671e-05/0.2846, allocations: 37.58 kB / 1.06 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.751e-05/0.2847, allocations: 79.28 kB / 1.06 GB, free: 1.113 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.316e-05/0.2847, allocations: 75.28 kB / 1.06 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.127e-05/0.2848, allocations: 154.6 kB / 1.06 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.258e-05/0.2848, allocations: 79.22 kB / 1.06 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.596e-05/0.2849, allocations: 154.5 kB / 1.06 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000149/0.285, allocations: 91.22 kB / 1.06 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.331e-05/0.285, allocations: 75.28 kB / 1.06 GB, free: 0.4922 MB / 0.8106 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 0.0001128/0.2852, allocations: 260.4 kB / 1.061 GB, free: 232 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.663e-05/0.2852, allocations: 104.9 kB / 1.061 GB, free: 120 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.122e-05/0.2853, allocations: 112 kB / 1.061 GB, free: 4 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.084e-05/0.2854, allocations: 188.3 kB / 1.061 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.98e-05/0.2854, allocations: 180.2 kB / 1.061 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.75e-05/0.2855, allocations: 176.3 kB / 1.061 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001997/0.2857, allocations: 401.2 kB / 1.062 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-05/0.2857, allocations: 112.9 kB / 1.062 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.187e-05/0.2858, allocations: 105 kB / 1.062 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.246e-05/0.2858, allocations: 188.2 kB / 1.062 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.121e-05/0.2859, allocations: 188.2 kB / 1.062 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6e-05/0.286, allocations: 176.3 kB / 1.062 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.896e-05/0.286, allocations: 180.2 kB / 1.063 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001298/0.2862, allocations: 315.7 kB / 1.063 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.836e-05/0.2862, allocations: 186 kB / 1.063 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.074e-05/0.2863, allocations: 176.3 kB / 1.063 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.2865, allocations: 116.9 kB / 1.063 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.739e-05/0.2865, allocations: 176.3 kB / 1.063 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.928e-05/0.2866, allocations: 108.9 kB / 1.064 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.296e-05/0.2866, allocations: 79.52 kB / 1.064 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2866, allocations: 0 / 1.064 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003775/0.287, allocations: 79.98 kB / 1.064 GB, free: 12.74 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.0009461/0.288, allocations: 1.039 MB / 1.065 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 4.373e-05/0.288, allocations: 7.938 kB / 1.065 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.288, allocations: 0 / 1.065 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.288, allocations: 0 / 1.065 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003456/0.2884, allocations: 463.7 kB / 1.065 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004556/0.2888, allocations: 234.5 kB / 1.065 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002518/0.2891, allocations: 0.6729 MB / 1.066 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.974e-05/0.2891, allocations: 8 kB / 1.066 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.765e-05/0.2892, allocations: 15.42 kB / 1.066 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.2892, allocations: 0 / 1.066 GB, free: 10.27 MB / 0.8262 GB [CodegenUtil.tpl:216:14-216:14:writable] Error: Template error: initial value of unknown type: Buildings.DHC.Loads.BaseClasses.getPeakLoad("#Peak space cooling load", OpenModelica_fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/Resources/Data/DHC/Loads/BaseClasses/Validation/RefBldgLargeOfficeNew2004_7.1_5.0_3C_USA_CA_SAN_FRANCISCO.mos")). [CodegenUtil.tpl:216:14-216:14:writable] Error: Template error: initial value of unknown type: Buildings.DHC.Loads.BaseClasses.getPeakLoad("#Peak space heating load", OpenModelica_fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/Resources/Data/DHC/Loads/BaseClasses/Validation/RefBldgLargeOfficeNew2004_7.1_5.0_3C_USA_CA_SAN_FRANCISCO.mos")). [CodegenUtil.tpl:216:14-216:14:writable] Error: Template error: initial value of unknown type: Buildings.DHC.Loads.BaseClasses.getPeakLoad("#Peak water heating load", OpenModelica_fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/Resources/Data/DHC/Loads/BaseClasses/Validation/RefBldgLargeOfficeNew2004_7.1_5.0_3C_USA_CA_SAN_FRANCISCO.mos")).