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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.00121/0.00121, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001176/0.001176, allocations: 193.5 kB / 16.14 MB, free: 6.711 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.171/1.171, 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 9.1.2-maint.9.1.x/package.mo): time 2.054/2.054, allocations: 390.3 MB / 0.6643 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 64.09 kB / 0.812 GB, free: 14.72 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4912/0.4923, allocations: 140.4 MB / 0.9491 GB, free: 9.285 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.001757/0.4941, allocations: 1.286 MB / 0.9503 GB, free: 8.266 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001394/0.4955, allocations: 1.252 MB / 0.9515 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.147e-05/0.4956, allocations: 1.375 kB / 0.9515 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.905e-05/0.4956, allocations: 4 kB / 0.9515 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004301/0.496, allocations: 160.1 kB / 0.9517 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 8.348e-05/0.4961, allocations: 44.89 kB / 0.9517 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.418e-05/0.4962, allocations: 7.906 kB / 0.9517 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.349e-05/0.4962, allocations: 5.109 kB / 0.9517 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.913e-05/0.4962, allocations: 12.98 kB / 0.9518 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001663/0.4964, allocations: 18.02 kB / 0.9518 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.078e-05/0.4964, allocations: 3.938 kB / 0.9518 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002728/0.4967, allocations: 229.2 kB / 0.952 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.024e-05/0.4967, allocations: 1.594 kB / 0.952 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.036e-05/0.4967, allocations: 14.62 kB / 0.952 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002426/0.497, allocations: 209.1 kB / 0.9522 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.497, allocations: 1.188 kB / 0.9522 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.91e-07/0.497, allocations: 0 / 0.9522 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.865e-06/0.497, allocations: 0 / 0.9522 GB, free: 6.91 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.0002851/0.4973, allocations: 388.7 kB / 0.9526 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.4973, allocations: 10.53 kB / 0.9526 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.953e-05/0.4974, allocations: 106 kB / 0.9527 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.695e-05/0.4974, allocations: 86.5 kB / 0.9528 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.248e-05/0.4975, allocations: 241.1 kB / 0.953 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.4975, allocations: 150.9 kB / 0.9532 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.508e-05/0.4975, allocations: 152.3 kB / 0.9533 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.312e-05/0.4976, allocations: 108.9 kB / 0.9534 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.4976, allocations: 79.22 kB / 0.9535 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.187e-05/0.4976, allocations: 156 kB / 0.9536 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.647e-05/0.4976, allocations: 150.6 kB / 0.9538 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.018e-05/0.4976, allocations: 155.6 kB / 0.9539 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001493/0.4978, allocations: 452.6 kB / 0.9544 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.431e-05/0.4978, allocations: 177.1 kB / 0.9545 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.353e-05/0.4979, allocations: 81.52 kB / 0.9546 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.015e-05/0.4979, allocations: 79.22 kB / 0.9547 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.4979, allocations: 107.1 kB / 0.9548 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.4979, allocations: 0 / 0.9548 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 5.885e-05/0.498, allocations: 28.2 kB / 0.9548 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/0.498, allocations: 217.4 kB / 0.955 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.142e-05/0.4981, allocations: 96.92 kB / 0.9551 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.913e-06/0.4981, allocations: 27.45 kB / 0.9551 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.753e-05/0.4981, allocations: 80.14 kB / 0.9552 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.082e-06/0.4981, allocations: 0 / 0.9552 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.103e-05/0.4981, allocations: 22.08 kB / 0.9552 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.161e-05/0.4982, allocations: 310.8 kB / 0.9555 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.216e-06/0.4982, allocations: 1.531 kB / 0.9555 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.205e-05/0.4982, allocations: 21.33 kB / 0.9555 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.009e-05/0.4982, allocations: 75.28 kB / 0.9556 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-06/0.4982, allocations: 76.62 kB / 0.9557 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.682e-05/0.4983, allocations: 36.47 kB / 0.9557 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.4983, allocations: 80.41 kB / 0.9558 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.4983, allocations: 80.09 kB / 0.9559 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.656e-05/0.4984, allocations: 159.9 kB / 0.956 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.227e-06/0.4984, allocations: 83.27 kB / 0.9561 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.702e-05/0.4984, allocations: 155.6 kB / 0.9563 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001234/0.4985, allocations: 78.78 kB / 0.9563 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.968e-06/0.4985, allocations: 84.39 kB / 0.9564 GB, free: 2.414 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.107e-05/0.4986, allocations: 263.2 kB / 0.9567 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.819e-05/0.4986, allocations: 110.3 kB / 0.9568 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.931e-05/0.4987, allocations: 113.1 kB / 0.9569 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.86e-05/0.4987, allocations: 177.8 kB / 0.957 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.996e-05/0.4987, allocations: 184.2 kB / 0.9572 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.764e-05/0.4987, allocations: 177.7 kB / 0.9574 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001057/0.4988, allocations: 408 kB / 0.9578 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-05/0.4989, allocations: 110.2 kB / 0.9579 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.066e-05/0.4989, allocations: 105 kB / 0.958 GB, free: 0.6953 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.856e-05/0.4989, allocations: 181.5 kB / 0.9582 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.933e-05/0.4989, allocations: 181.3 kB / 0.9583 GB, free: 336 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.772e-05/0.4989, allocations: 181.8 kB / 0.9585 GB, free: 148 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.938e-05/0.499, allocations: 192.1 kB / 0.9587 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001184/0.4991, allocations: 308 kB / 0.959 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.127e-05/0.4992, allocations: 187.5 kB / 0.9592 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.676e-05/0.4993, allocations: 182 kB / 0.9593 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001308/0.4994, allocations: 112.7 kB / 0.9594 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.934e-05/0.4994, allocations: 176.3 kB / 0.9596 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.719e-05/0.4995, allocations: 106.6 kB / 0.9597 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.459e-05/0.4995, allocations: 85.23 kB / 0.9598 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4995, allocations: 0.8125 kB / 0.9598 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003386/0.4999, allocations: 75.3 kB / 0.9599 GB, free: 14.73 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.0008814/0.5008, allocations: 1.044 MB / 0.9609 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 3.52e-05/0.5008, allocations: 2.312 kB / 0.9609 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.5008, allocations: 3.938 kB / 0.9609 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.964e-06/0.5008, allocations: 1.219 kB / 0.9609 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003371/0.5012, allocations: 0.5178 MB / 0.9614 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004037/0.5016, allocations: 238.9 kB / 0.9616 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000206/0.5018, allocations: 0.6708 MB / 0.9623 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.88e-05/0.5018, allocations: 3.969 kB / 0.9623 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.607e-05/0.5019, allocations: 15.48 kB / 0.9623 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.5019, allocations: 0 / 0.9623 GB, free: 12.34 MB / 0.7325 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 9.1.2-maint.9.1.x/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 9.1.2-maint.9.1.x/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 9.1.2-maint.9.1.x/Resources/Data/Experimental/DHC/Loads/BaseClasses/Validation/RefBldgLargeOfficeNew2004_7.1_5.0_3C_USA_CA_SAN_FRANCISCO.mos")).