Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_9_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.00131/0.00131, allocations: 108 kB / 15.61 MB, free: 152 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.001371/0.001371, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.287/1.287, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.224/2.224, allocations: 390.2 MB / 0.6647 GB, free: 492 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 67.89 kB / 0.8126 GB, free: 14.41 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5091/0.5104, allocations: 140.4 MB / 0.9497 GB, free: 9.223 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.001765/0.5122, allocations: 1.228 MB / 0.9509 GB, free: 8.246 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001367/0.5136, allocations: 1.247 MB / 0.9521 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.703e-05/0.5136, allocations: 0 / 0.9521 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.251e-05/0.5136, allocations: 0 / 0.9521 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0005362/0.5142, allocations: 216.2 kB / 0.9523 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 8.645e-05/0.5143, allocations: 36.92 kB / 0.9524 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.052e-05/0.5143, allocations: 11.92 kB / 0.9524 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.076e-05/0.5143, allocations: 5.562 kB / 0.9524 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.938e-05/0.5144, allocations: 8.344 kB / 0.9524 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001614/0.5145, allocations: 24.69 kB / 0.9524 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.053e-05/0.5145, allocations: 3.938 kB / 0.9524 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002916/0.5148, allocations: 229.8 kB / 0.9527 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.142e-05/0.5149, allocations: 5.516 kB / 0.9527 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.469e-05/0.5149, allocations: 8.188 kB / 0.9527 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002639/0.5152, allocations: 212.1 kB / 0.9529 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.5152, allocations: 1.312 kB / 0.9529 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5152, allocations: 0 / 0.9529 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.5152, allocations: 0 / 0.9529 GB, free: 6.852 MB / 0.7169 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.0002909/0.5155, allocations: 392.6 kB / 0.9532 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.5155, allocations: 14.5 kB / 0.9533 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.634e-05/0.5156, allocations: 106 kB / 0.9534 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.575e-05/0.5156, allocations: 77.34 kB / 0.9534 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.968e-05/0.5157, allocations: 241.6 kB / 0.9537 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.5157, allocations: 152.4 kB / 0.9538 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.534e-05/0.5157, allocations: 154.9 kB / 0.954 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.615e-05/0.5158, allocations: 112.9 kB / 0.9541 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.5158, allocations: 76.38 kB / 0.9541 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.124e-05/0.5158, allocations: 151.4 kB / 0.9543 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.607e-05/0.5158, allocations: 150.6 kB / 0.9544 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.009e-05/0.5159, allocations: 151.6 kB / 0.9546 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001484/0.516, allocations: 452 kB / 0.955 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.019e-05/0.5161, allocations: 170.2 kB / 0.9552 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.274e-05/0.5161, allocations: 80.14 kB / 0.9552 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.223e-05/0.5161, allocations: 80.09 kB / 0.9553 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/0.5161, allocations: 111 kB / 0.9554 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.5161, allocations: 0 / 0.9554 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.216e-05/0.5162, allocations: 31.86 kB / 0.9554 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.693e-05/0.5162, allocations: 204.9 kB / 0.9556 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.823e-05/0.5163, allocations: 101.7 kB / 0.9557 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.085e-06/0.5163, allocations: 26.8 kB / 0.9558 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.074e-05/0.5163, allocations: 85.23 kB / 0.9558 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.783e-06/0.5164, allocations: 4 kB / 0.9559 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.121e-05/0.5164, allocations: 16.75 kB / 0.9559 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.351e-05/0.5164, allocations: 312 kB / 0.9562 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.787e-06/0.5164, allocations: 0 / 0.9562 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.388e-05/0.5165, allocations: 21.75 kB / 0.9562 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.174e-05/0.5165, allocations: 77.06 kB / 0.9563 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/0.5165, allocations: 75.28 kB / 0.9563 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.832e-05/0.5165, allocations: 40.8 kB / 0.9564 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.5166, allocations: 80.69 kB / 0.9564 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.5166, allocations: 80.41 kB / 0.9565 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.52e-05/0.5166, allocations: 151.7 kB / 0.9567 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.967e-06/0.5166, allocations: 83.2 kB / 0.9567 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.523e-05/0.5166, allocations: 151.7 kB / 0.9569 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001239/0.5168, allocations: 86.14 kB / 0.957 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.5168, allocations: 84.36 kB / 0.9571 GB, free: 2.363 MB / 0.7169 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 5.44e-05/0.5168, allocations: 263.9 kB / 0.9573 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.72e-05/0.5169, allocations: 114.3 kB / 0.9574 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.826e-05/0.5169, allocations: 113.5 kB / 0.9575 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.749e-05/0.5169, allocations: 177.6 kB / 0.9577 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.08e-05/0.5169, allocations: 184.3 kB / 0.9579 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.846e-05/0.517, allocations: 189.4 kB / 0.9581 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001066/0.5171, allocations: 400.2 kB / 0.9584 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.175e-05/0.5171, allocations: 108.9 kB / 0.9585 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.093e-05/0.5171, allocations: 106.8 kB / 0.9586 GB, free: 0.6367 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.767e-05/0.5171, allocations: 184.3 kB / 0.9588 GB, free: 460 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.149e-05/0.5172, allocations: 182.2 kB / 0.959 GB, free: 272 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.741e-05/0.5172, allocations: 177 kB / 0.9592 GB, free: 88 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.608e-05/0.5173, allocations: 181.5 kB / 0.9593 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001232/0.5174, allocations: 315.4 kB / 0.9596 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.58e-05/0.5175, allocations: 183.1 kB / 0.9598 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.161e-05/0.5175, allocations: 182.7 kB / 0.96 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/0.5177, allocations: 111.2 kB / 0.9601 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.069e-05/0.5177, allocations: 181.5 kB / 0.9603 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.014e-05/0.5178, allocations: 106 kB / 0.9604 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.129e-05/0.5178, allocations: 81.78 kB / 0.9604 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5178, allocations: 0 / 0.9604 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003575/0.5182, allocations: 83.66 kB / 0.9605 GB, free: 14.67 MB / 0.7325 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.0009166/0.5191, allocations: 1.036 MB / 0.9615 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 3.946e-05/0.5192, allocations: 1.688 kB / 0.9615 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.5192, allocations: 0 / 0.9615 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.306e-06/0.5192, allocations: 5.25 kB / 0.9615 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/0.5195, allocations: 466.7 kB / 0.962 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004328/0.5199, allocations: 232.8 kB / 0.9622 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002159/0.5202, allocations: 0.6778 MB / 0.9629 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.709e-05/0.5202, allocations: 4.281 kB / 0.9629 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.49e-05/0.5202, allocations: 14.59 kB / 0.9629 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of SimCode: time 1.503e-06/0.5202, allocations: 0 / 0.9629 GB, free: 12.36 MB / 0.7325 GB [CodegenUtil.tpl:216:14-216: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 9.1.3-maint.9.1.x/Resources/Data/Experimental/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.Experimental.DHC.Loads.BaseClasses.getPeakLoad("#Peak space heating load", OpenModelica_fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/Resources/Data/Experimental/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.Experimental.DHC.Loads.BaseClasses.getPeakLoad("#Peak water heating load", OpenModelica_fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/Resources/Data/Experimental/DHC/Loads/BaseClasses/Validation/RefBldgLargeOfficeNew2004_7.1_5.0_3C_USA_CA_SAN_FRANCISCO.mos")).