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.0008848/0.0008848, allocations: 98.03 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.005536/0.005536, allocations: 169.1 kB / 16.26 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.244/1.244, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.173/2.173, allocations: 390.9 MB / 0.6664 GB, free: 2.41 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003373/0.0003374, allocations: 8 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6129/0.6132, allocations: 142.4 MB / 0.9552 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.001005/0.6143, allocations: 0.9535 MB / 0.9561 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001555/0.6158, allocations: 1.237 MB / 0.9573 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.348e-05/0.6159, allocations: 1 kB / 0.9573 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.59e-05/0.6159, allocations: 0 / 0.9573 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004788/0.6164, allocations: 160.5 kB / 0.9575 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 9.379e-05/0.6165, allocations: 36.64 kB / 0.9575 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.242e-05/0.6165, allocations: 15.8 kB / 0.9575 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.914e-05/0.6166, allocations: 1.281 kB / 0.9575 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.231e-05/0.6166, allocations: 5.844 kB / 0.9575 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001783/0.6168, allocations: 21.88 kB / 0.9575 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.949e-06/0.6168, allocations: 0 / 0.9575 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002688/0.6171, allocations: 233 kB / 0.9578 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.078e-05/0.6171, allocations: 9.391 kB / 0.9578 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.513e-05/0.6171, allocations: 28.64 kB / 0.9578 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002651/0.6174, allocations: 221.2 kB / 0.958 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.6174, allocations: 0 / 0.958 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.774e-06/0.6174, allocations: 1.219 kB / 0.958 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.407e-06/0.6174, allocations: 0 / 0.958 GB, free: 5.52 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.0003111/0.6177, allocations: 377.2 kB / 0.9584 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.6178, allocations: 9.75 kB / 0.9584 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.53e-05/0.6178, allocations: 106 kB / 0.9585 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.463e-05/0.6179, allocations: 78.53 kB / 0.9586 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.401e-05/0.618, allocations: 248.7 kB / 0.9588 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.113e-05/0.618, allocations: 152.2 kB / 0.9589 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.101e-05/0.618, allocations: 158.9 kB / 0.9591 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.881e-05/0.6181, allocations: 110 kB / 0.9592 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.6181, allocations: 75.28 kB / 0.9593 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.58e-05/0.6181, allocations: 151.6 kB / 0.9594 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.896e-05/0.6181, allocations: 154.6 kB / 0.9596 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.983e-05/0.6182, allocations: 151.8 kB / 0.9597 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001572/0.6183, allocations: 448 kB / 0.9601 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.11e-05/0.6184, allocations: 170.5 kB / 0.9603 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.526e-05/0.6184, allocations: 84.14 kB / 0.9604 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.144e-05/0.6184, allocations: 79.22 kB / 0.9605 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/0.6184, allocations: 111.3 kB / 0.9606 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 7.11e-07/0.6184, allocations: 0 / 0.9606 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 5.819e-05/0.6185, allocations: 32.22 kB / 0.9606 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.537e-05/0.6185, allocations: 205.2 kB / 0.9608 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.398e-05/0.6186, allocations: 100.7 kB / 0.9609 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.995e-06/0.6186, allocations: 31.08 kB / 0.9609 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.194e-05/0.6187, allocations: 81.39 kB / 0.961 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.613e-06/0.6187, allocations: 0 / 0.961 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.435e-05/0.6187, allocations: 13.7 kB / 0.961 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.259e-05/0.6187, allocations: 312.2 kB / 0.9613 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.517e-06/0.6187, allocations: 3.938 kB / 0.9613 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.581e-05/0.6188, allocations: 21.17 kB / 0.9613 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.18e-05/0.6188, allocations: 76.5 kB / 0.9614 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.897e-06/0.6188, allocations: 76.78 kB / 0.9615 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.656e-05/0.6189, allocations: 39.98 kB / 0.9615 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.6189, allocations: 81.72 kB / 0.9616 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/0.6189, allocations: 84.33 kB / 0.9617 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.879e-05/0.6189, allocations: 151.7 kB / 0.9618 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.168e-05/0.6189, allocations: 84.22 kB / 0.9619 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.017e-05/0.619, allocations: 155.6 kB / 0.962 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001263/0.6191, allocations: 77.56 kB / 0.9621 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.6191, allocations: 80.25 kB / 0.9622 GB, free: 1.039 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 6.03e-05/0.6192, allocations: 267.4 kB / 0.9624 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.738e-05/0.6192, allocations: 107 kB / 0.9626 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.456e-05/0.6193, allocations: 116.8 kB / 0.9627 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.091e-05/0.6193, allocations: 177.5 kB / 0.9628 GB, free: 368 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.188e-05/0.6193, allocations: 177.4 kB / 0.963 GB, free: 184 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.637e-05/0.6194, allocations: 188.2 kB / 0.9632 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001917/0.6196, allocations: 396.6 kB / 0.9636 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.14e-05/0.6196, allocations: 116.8 kB / 0.9637 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.836e-05/0.6196, allocations: 102.3 kB / 0.9638 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.947e-05/0.6197, allocations: 181.4 kB / 0.9639 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.079e-05/0.6197, allocations: 185.2 kB / 0.9641 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.636e-05/0.6198, allocations: 177.4 kB / 0.9643 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.896e-05/0.6198, allocations: 181.4 kB / 0.9645 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001099/0.62, allocations: 311.3 kB / 0.9648 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.469e-05/0.62, allocations: 196.1 kB / 0.9649 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.139e-05/0.6201, allocations: 177.6 kB / 0.9651 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001256/0.6202, allocations: 112.8 kB / 0.9652 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.166e-05/0.6203, allocations: 180.3 kB / 0.9654 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-05/0.6203, allocations: 106.6 kB / 0.9655 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.529e-05/0.6204, allocations: 85.66 kB / 0.9656 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6204, allocations: 1.438 kB / 0.9656 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003609/0.6207, allocations: 83.89 kB / 0.9657 GB, free: 13.35 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.0009023/0.6216, allocations: 1.027 MB / 0.9667 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 3.913e-05/0.6217, allocations: 1.406 kB / 0.9667 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.6217, allocations: 9.375 kB / 0.9667 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.615e-06/0.6217, allocations: 3.938 kB / 0.9667 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003383/0.6221, allocations: 0.5269 MB / 0.9672 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004374/0.6225, allocations: 232.1 kB / 0.9674 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001843/0.6227, allocations: 0.6797 MB / 0.9681 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.76e-05/0.6227, allocations: 2.75 kB / 0.9681 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.44e-05/0.6228, allocations: 11.56 kB / 0.9681 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/0.6228, allocations: 0 / 0.9681 GB, free: 10.96 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")).