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.001033/0.001033, allocations: 107.4 kB / 15.22 MB, free: 0.6562 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.001049/0.001049, allocations: 192.5 kB / 16.14 MB, free: 6.742 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.214/1.214, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.383/2.383, allocations: 461.8 MB / 0.7342 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 63.59 kB / 0.8985 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2256/0.2268, allocations: 157.4 MB / 1.052 GB, free: 8.238 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.0022/0.229, allocations: 1.302 MB / 1.053 GB, free: 6.922 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001838/0.2309, allocations: 1.257 MB / 1.055 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.5e-05/0.2309, allocations: 0 / 1.055 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.686e-05/0.231, allocations: 0 / 1.055 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0005546/0.2315, allocations: 159.6 kB / 1.055 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001012/0.2316, allocations: 39.02 kB / 1.055 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 3.771e-05/0.2317, allocations: 23.88 kB / 1.055 GB, free: 5.441 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.443e-05/0.2317, allocations: 0 / 1.055 GB, free: 5.441 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.108e-05/0.2317, allocations: 7.984 kB / 1.055 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001623/0.2319, allocations: 23.97 kB / 1.055 GB, free: 5.41 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.129e-05/0.2319, allocations: 0 / 1.055 GB, free: 5.41 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000327/0.2323, allocations: 231.7 kB / 1.055 GB, free: 5.184 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.187e-05/0.2323, allocations: 4 kB / 1.055 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.526e-05/0.2323, allocations: 11.92 kB / 1.055 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003028/0.2326, allocations: 203.7 kB / 1.055 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2326, allocations: 0 / 1.055 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.92e-07/0.2326, allocations: 0 / 1.055 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.116e-06/0.2326, allocations: 4 kB / 1.055 GB, free: 4.965 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.0003786/0.233, allocations: 379.9 kB / 1.056 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.2331, allocations: 15.91 kB / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.176e-05/0.2331, allocations: 110 kB / 1.056 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.666e-05/0.2332, allocations: 80.22 kB / 1.056 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.2333, allocations: 247.6 kB / 1.056 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.157e-05/0.2334, allocations: 150.9 kB / 1.056 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.234e-05/0.2334, allocations: 154.9 kB / 1.056 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.83e-05/0.2335, allocations: 112.9 kB / 1.057 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.316e-05/0.2335, allocations: 75.28 kB / 1.057 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.591e-05/0.2336, allocations: 150.6 kB / 1.057 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.401e-05/0.2336, allocations: 150.6 kB / 1.057 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.669e-05/0.2337, allocations: 158.5 kB / 1.057 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002345/0.2339, allocations: 449.9 kB / 1.058 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.706e-05/0.234, allocations: 169.1 kB / 1.058 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.817e-05/0.234, allocations: 84.19 kB / 1.058 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.529e-05/0.234, allocations: 83.22 kB / 1.058 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.229e-05/0.2341, allocations: 109.8 kB / 1.058 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 2.344e-06/0.2341, allocations: 0 / 1.058 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 7.42e-05/0.2342, allocations: 37.55 kB / 1.058 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.487e-05/0.2343, allocations: 203.8 kB / 1.058 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.449e-05/0.2343, allocations: 97.84 kB / 1.058 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/0.2344, allocations: 29.7 kB / 1.058 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.522e-05/0.2344, allocations: 88.14 kB / 1.058 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.523e-06/0.2344, allocations: 0 / 1.058 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.535e-05/0.2344, allocations: 13.72 kB / 1.058 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.144e-05/0.2345, allocations: 314.8 kB / 1.059 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.218e-06/0.2345, allocations: 0 / 1.059 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.909e-05/0.2346, allocations: 18.58 kB / 1.059 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.24e-05/0.2346, allocations: 75.28 kB / 1.059 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.04e-05/0.2346, allocations: 83.28 kB / 1.059 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.542e-05/0.2347, allocations: 37.58 kB / 1.059 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.915e-05/0.2347, allocations: 80.84 kB / 1.059 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.424e-05/0.2347, allocations: 79.28 kB / 1.059 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.59e-05/0.2348, allocations: 158.5 kB / 1.059 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.941e-05/0.2348, allocations: 75.28 kB / 1.059 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.782e-05/0.2349, allocations: 154.5 kB / 1.059 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001416/0.235, allocations: 87.22 kB / 1.059 GB, free: 480 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.922e-05/0.235, allocations: 79.22 kB / 1.06 GB, free: 400 kB / 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 9.441e-05/0.2351, allocations: 264.4 kB / 1.06 GB, free: 124 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.68e-05/0.2352, allocations: 112.8 kB / 1.06 GB, free: 4 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.547e-05/0.2352, allocations: 108.1 kB / 1.06 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.635e-05/0.2353, allocations: 184.4 kB / 1.06 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.745e-05/0.2354, allocations: 180.3 kB / 1.06 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.324e-05/0.2354, allocations: 180.2 kB / 1.061 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001804/0.2356, allocations: 409.2 kB / 1.061 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.047e-05/0.2356, allocations: 104.9 kB / 1.061 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.106e-05/0.2357, allocations: 116.9 kB / 1.061 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-05/0.2357, allocations: 184.3 kB / 1.061 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.719e-05/0.2358, allocations: 176.3 kB / 1.062 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.432e-05/0.2358, allocations: 180.2 kB / 1.062 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.237e-05/0.2359, allocations: 176.6 kB / 1.062 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001151/0.236, allocations: 319.8 kB / 1.062 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.113e-05/0.236, allocations: 182 kB / 1.062 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.823e-05/0.2361, allocations: 180.2 kB / 1.062 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.2362, allocations: 109 kB / 1.063 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.344e-05/0.2363, allocations: 188.1 kB / 1.063 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.632e-05/0.2363, allocations: 105 kB / 1.063 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.218e-05/0.2364, allocations: 79.28 kB / 1.063 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2364, allocations: 0 / 1.063 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003494/0.2367, allocations: 79.97 kB / 1.063 GB, free: 12.63 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.0008819/0.2376, allocations: 1.035 MB / 1.064 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 3.534e-05/0.2377, allocations: 0 / 1.064 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2377, allocations: 0 / 1.064 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.316e-06/0.2377, allocations: 4 kB / 1.064 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003186/0.238, allocations: 0.531 MB / 1.065 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004069/0.2384, allocations: 232.2 kB / 1.065 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001819/0.2386, allocations: 0.6809 MB / 1.065 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.437e-05/0.2386, allocations: 11.98 kB / 1.065 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.625e-05/0.2387, allocations: 15.38 kB / 1.065 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of SimCode: time 3.21e-07/0.2387, allocations: 0 / 1.065 GB, free: 10.07 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")).