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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.692/2.692, allocations: 393.5 MB / 408.4 MB, free: 11 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 191.9 kB / 0.4901 GB, free: 2.238 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.799/1.799, allocations: 223.1 MB / 0.7992 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 92.33 kB / 0.9396 GB, free: 2.867 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003878/0.0003877, allocations: 9.281 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3536/0.354, allocations: 143 MB / 1.229 GB, free: 85.37 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2514/0.6054, allocations: 152.2 MB / 1.378 GB, free: 13.02 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003388/0.6059, allocations: 87.94 kB / 1.378 GB, free: 12.93 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.01783/0.6237, allocations: 5.319 MB / 1.383 GB, free: 7.609 MB / 0.8855 GB Notification: Performance of FrontEnd: time 5.37e-06/0.6238, allocations: 0 / 1.383 GB, free: 7.609 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.243e-06/0.6238, allocations: 3.938 kB / 1.383 GB, free: 7.605 MB / 0.8855 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.0005574/0.6243, allocations: 391.3 kB / 1.384 GB, free: 7.176 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/0.6244, allocations: 12.56 kB / 1.384 GB, free: 7.164 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.879e-05/0.6245, allocations: 105.8 kB / 1.384 GB, free: 7.051 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.403e-05/0.6246, allocations: 83.19 kB / 1.384 GB, free: 6.969 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001855/0.6248, allocations: 242.3 kB / 1.384 GB, free: 6.691 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.402e-05/0.6249, allocations: 154.6 kB / 1.384 GB, free: 6.539 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.875e-05/0.625, allocations: 154.6 kB / 1.384 GB, free: 6.387 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.514e-05/0.6251, allocations: 108.9 kB / 1.384 GB, free: 6.273 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.843e-05/0.6251, allocations: 75.28 kB / 1.384 GB, free: 6.199 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.912e-05/0.6252, allocations: 150.6 kB / 1.385 GB, free: 6.051 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-05/0.6253, allocations: 150.6 kB / 1.385 GB, free: 5.902 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.718e-05/0.6254, allocations: 150.6 kB / 1.385 GB, free: 5.754 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000388/0.6258, allocations: 465.8 kB / 1.385 GB, free: 5.25 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.6259, allocations: 169.1 kB / 1.385 GB, free: 5.074 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 4.901e-05/0.6259, allocations: 75.28 kB / 1.386 GB, free: 5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.44e-05/0.626, allocations: 113.8 kB / 1.386 GB, free: 4.879 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.626, allocations: 0 / 1.386 GB, free: 4.879 MB / 0.8855 GB Notification: Performance of matching and sorting (n=0): time 8.389e-05/0.6261, allocations: 25.7 kB / 1.386 GB, free: 4.848 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001238/0.6263, allocations: 207.8 kB / 1.386 GB, free: 4.613 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.6264, allocations: 92.98 kB / 1.386 GB, free: 4.516 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.6264, allocations: 25.7 kB / 1.386 GB, free: 4.484 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.358e-05/0.6265, allocations: 88.14 kB / 1.386 GB, free: 4.395 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.094e-06/0.6265, allocations: 0 / 1.386 GB, free: 4.395 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.5e-07/0.6265, allocations: 0 / 1.386 GB, free: 4.395 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.6266, allocations: 314.8 kB / 1.386 GB, free: 4.078 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.799e-06/0.6267, allocations: 0 / 1.386 GB, free: 4.078 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.508e-05/0.6267, allocations: 26.52 kB / 1.386 GB, free: 4.043 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.045e-05/0.6268, allocations: 83.31 kB / 1.386 GB, free: 3.961 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.41e-05/0.6268, allocations: 75.28 kB / 1.387 GB, free: 3.887 MB / 0.8855 GB Notification: Performance of matching and sorting (n=0) (initialization): time 8.587e-05/0.6269, allocations: 29.7 kB / 1.387 GB, free: 3.852 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.573e-05/0.627, allocations: 79.28 kB / 1.387 GB, free: 3.773 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.114e-05/0.627, allocations: 83.22 kB / 1.387 GB, free: 3.691 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.29e-05/0.6271, allocations: 158.6 kB / 1.387 GB, free: 3.535 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.687e-05/0.6271, allocations: 75.28 kB / 1.387 GB, free: 3.461 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.322e-05/0.6272, allocations: 154.5 kB / 1.387 GB, free: 3.309 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001485/0.6274, allocations: 83.27 kB / 1.387 GB, free: 3.227 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.386e-05/0.6274, allocations: 79.22 kB / 1.387 GB, free: 3.148 MB / 0.8855 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 0.0001903/0.6276, allocations: 273.4 kB / 1.387 GB, free: 2.871 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.251e-05/0.6277, allocations: 101 kB / 1.388 GB, free: 2.766 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.922e-05/0.6278, allocations: 120 kB / 1.388 GB, free: 2.645 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.777e-05/0.6279, allocations: 176.3 kB / 1.388 GB, free: 2.465 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.893e-05/0.628, allocations: 176.3 kB / 1.388 GB, free: 2.285 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.285e-05/0.6281, allocations: 184.2 kB / 1.388 GB, free: 2.098 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000297/0.6284, allocations: 413.2 kB / 1.389 GB, free: 1.637 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.977e-05/0.6284, allocations: 105.2 kB / 1.389 GB, free: 1.527 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.072e-05/0.6285, allocations: 105 kB / 1.389 GB, free: 1.418 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.655e-05/0.6286, allocations: 180.3 kB / 1.389 GB, free: 1.234 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.238e-05/0.6287, allocations: 188.2 kB / 1.389 GB, free: 1.043 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001023/0.6288, allocations: 188.2 kB / 1.389 GB, free: 0.8516 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.921e-05/0.6289, allocations: 184.2 kB / 1.39 GB, free: 0.6641 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001976/0.6291, allocations: 299.8 kB / 1.39 GB, free: 356 kB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001377/0.6293, allocations: 190 kB / 1.39 GB, free: 140 kB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001492/0.6294, allocations: 188.3 kB / 1.39 GB, free: 15.95 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001552/0.6296, allocations: 108.9 kB / 1.39 GB, free: 15.83 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/0.6297, allocations: 180.2 kB / 1.39 GB, free: 15.65 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.073e-05/0.6298, allocations: 109 kB / 1.391 GB, free: 15.54 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 6.16e-05/0.6298, allocations: 75.28 kB / 1.391 GB, free: 15.46 MB / 0.9011 GB Notification: Performance of sort global known variables: time 4.01e-07/0.6298, allocations: 3.938 kB / 1.391 GB, free: 15.46 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0005493/0.6304, allocations: 99.89 kB / 1.391 GB, free: 15.36 MB / 0.9011 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.001395/0.6318, allocations: 1.051 MB / 1.392 GB, free: 14.34 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 4.296e-05/0.6319, allocations: 4 kB / 1.392 GB, free: 14.33 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.6319, allocations: 0 / 1.392 GB, free: 14.33 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 7.343e-06/0.6319, allocations: 3.938 kB / 1.392 GB, free: 14.33 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003969/0.6323, allocations: 0.5263 MB / 1.392 GB, free: 13.8 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006595/0.633, allocations: 249.5 kB / 1.393 GB, free: 13.51 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003432/0.6333, allocations: 0.677 MB / 1.393 GB, free: 12.8 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 3.777e-05/0.6334, allocations: 7.984 kB / 1.393 GB, free: 12.8 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.592e-05/0.6334, allocations: 11.44 kB / 1.393 GB, free: 12.79 MB / 0.9011 GB Notification: Performance of SimCode: time 3.21e-07/0.6334, allocations: 0 / 1.393 GB, free: 12.79 MB / 0.9011 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 10.0.0-master/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 10.0.0-master/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 10.0.0-master/Resources/Data/Experimental/DHC/Loads/BaseClasses/Validation/RefBldgLargeOfficeNew2004_7.1_5.0_3C_USA_CA_SAN_FRANCISCO.mos")).