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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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.00114/0.001141, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001288/0.001289, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.485/2.485, allocations: 390.3 MB / 0.6653 GB, free: 3.012 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003712/0.0003712, allocations: 11.94 kB / 0.8146 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8862/0.8866, allocations: 142.3 MB / 0.9536 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.001104/0.8878, allocations: 0.9464 MB / 0.9545 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001723/0.8895, allocations: 1.174 MB / 0.9557 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.877e-05/0.8895, allocations: 0 / 0.9557 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.198e-05/0.8895, allocations: 4 kB / 0.9557 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0007277/0.8903, allocations: 161.6 kB / 0.9558 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000122/0.8904, allocations: 36.64 kB / 0.9559 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.244e-05/0.8905, allocations: 12.22 kB / 0.9559 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.141e-05/0.8905, allocations: 1.406 kB / 0.9559 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.501e-05/0.8905, allocations: 8.734 kB / 0.9559 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001722/0.8907, allocations: 11.92 kB / 0.9559 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.024e-05/0.8907, allocations: 0 / 0.9559 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004098/0.8912, allocations: 200 kB / 0.9561 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.129e-05/0.8912, allocations: 5.375 kB / 0.9561 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.022e-05/0.8912, allocations: 27.14 kB / 0.9561 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003115/0.8915, allocations: 134.9 kB / 0.9562 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.8915, allocations: 0 / 0.9562 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.703e-06/0.8915, allocations: 0.875 kB / 0.9562 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.197e-06/0.8916, allocations: 0 / 0.9562 GB, free: 6.023 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.0003454/0.8919, allocations: 381 kB / 0.9566 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.892, allocations: 9.125 kB / 0.9566 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.011e-05/0.892, allocations: 107 kB / 0.9567 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.988e-05/0.8921, allocations: 84.42 kB / 0.9568 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.282e-05/0.8922, allocations: 248.3 kB / 0.957 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/0.8922, allocations: 150.6 kB / 0.9572 GB, free: 5 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.597e-05/0.8922, allocations: 151.7 kB / 0.9573 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.559e-05/0.8923, allocations: 105 kB / 0.9574 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.8923, allocations: 76.5 kB / 0.9575 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.74e-05/0.8923, allocations: 154.6 kB / 0.9576 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.062e-05/0.8923, allocations: 151.8 kB / 0.9578 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.698e-05/0.8924, allocations: 154.5 kB / 0.9579 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001928/0.8926, allocations: 451.9 kB / 0.9584 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.923e-05/0.8926, allocations: 170.6 kB / 0.9585 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.641e-05/0.8927, allocations: 80.72 kB / 0.9586 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/0.8927, allocations: 105.8 kB / 0.9587 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.8927, allocations: 1.406 kB / 0.9587 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.728e-05/0.8928, allocations: 31.02 kB / 0.9587 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.741e-05/0.8928, allocations: 205 kB / 0.9589 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.133e-05/0.8929, allocations: 106.1 kB / 0.959 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.868e-06/0.8929, allocations: 29.64 kB / 0.9591 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.505e-05/0.893, allocations: 81.48 kB / 0.9591 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.964e-06/0.893, allocations: 0 / 0.9591 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.91e-07/0.893, allocations: 0 / 0.9591 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.339e-05/0.893, allocations: 315.9 kB / 0.9594 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.336e-06/0.893, allocations: 0 / 0.9594 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.721e-05/0.8931, allocations: 22.44 kB / 0.9595 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.204e-05/0.8931, allocations: 80.25 kB / 0.9595 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.256e-05/0.8931, allocations: 79.28 kB / 0.9596 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.977e-05/0.8932, allocations: 32.98 kB / 0.9596 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/0.8932, allocations: 80.25 kB / 0.9597 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/0.8932, allocations: 76.72 kB / 0.9598 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.274e-05/0.8933, allocations: 156.2 kB / 0.9599 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.325e-05/0.8933, allocations: 79.28 kB / 0.96 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.328e-05/0.8933, allocations: 159.4 kB / 0.9602 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001573/0.8935, allocations: 85.52 kB / 0.9602 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.8935, allocations: 76.75 kB / 0.9603 GB, free: 1.641 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.236e-05/0.8936, allocations: 268.4 kB / 0.9606 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.866e-05/0.8936, allocations: 110.4 kB / 0.9607 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.581e-05/0.8936, allocations: 113.2 kB / 0.9608 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.428e-05/0.8937, allocations: 177.8 kB / 0.961 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.892e-05/0.8937, allocations: 189.7 kB / 0.9611 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-05/0.8937, allocations: 176.3 kB / 0.9613 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001363/0.8939, allocations: 411.7 kB / 0.9617 GB, free: 136 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-05/0.8939, allocations: 106.3 kB / 0.9618 GB, free: 24 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.024e-05/0.894, allocations: 106.4 kB / 0.9619 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.592e-05/0.894, allocations: 180.2 kB / 0.9621 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.923e-05/0.8941, allocations: 181.8 kB / 0.9623 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.258e-05/0.8942, allocations: 181 kB / 0.9624 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-05/0.8942, allocations: 181.5 kB / 0.9626 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001393/0.8944, allocations: 312.1 kB / 0.9629 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.295e-05/0.8944, allocations: 180 kB / 0.9631 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.1e-05/0.8945, allocations: 187 kB / 0.9632 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.8947, allocations: 110.3 kB / 0.9633 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.915e-05/0.8948, allocations: 185.8 kB / 0.9635 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.553e-05/0.8948, allocations: 106.3 kB / 0.9636 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.276e-05/0.8948, allocations: 78.12 kB / 0.9637 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8949, allocations: 0 / 0.9637 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004265/0.8953, allocations: 84.03 kB / 0.9638 GB, free: 13.95 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001021/0.8963, allocations: 1.038 MB / 0.9648 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 4.703e-05/0.8964, allocations: 6 kB / 0.9648 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.8964, allocations: 0 / 0.9648 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.996e-06/0.8964, allocations: 1.031 kB / 0.9648 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002941/0.8967, allocations: 0.53 MB / 0.9653 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004935/0.8972, allocations: 236.9 kB / 0.9655 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000243/0.8974, allocations: 0.6792 MB / 0.9662 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.525e-05/0.8975, allocations: 8.156 kB / 0.9662 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.303e-05/0.8975, allocations: 14.91 kB / 0.9662 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.8975, allocations: 5.219 kB / 0.9662 GB, free: 11.54 MB / 0.7325 GB [CodegenUtil.tpl:197:14-197: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.1-maint.9.1.x/Resources/Data/Experimental/DHC/Loads/BaseClasses/Validation/RefBldgLargeOfficeNew2004_7.1_5.0_3C_USA_CA_SAN_FRANCISCO.mos")). [CodegenUtil.tpl:197:14-197: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.1-maint.9.1.x/Resources/Data/Experimental/DHC/Loads/BaseClasses/Validation/RefBldgLargeOfficeNew2004_7.1_5.0_3C_USA_CA_SAN_FRANCISCO.mos")). [CodegenUtil.tpl:197:14-197: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.1-maint.9.1.x/Resources/Data/Experimental/DHC/Loads/BaseClasses/Validation/RefBldgLargeOfficeNew2004_7.1_5.0_3C_USA_CA_SAN_FRANCISCO.mos")).