Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.122/4.122, allocations: 433.2 MB / 440.7 MB, free: 4.547 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.578e-05/2.601e-05, allocations: 4.75 kB / 0.5325 GB, free: 12.79 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.2438, allocations: 98.74 MB / 0.6289 GB, free: 9.086 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.142/1.386, allocations: 346.7 MB / 0.9675 GB, free: 5.414 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003237/1.386, allocations: 85.81 kB / 0.9676 GB, free: 5.367 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03701/1.423, allocations: 9.082 MB / 0.9764 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.437e-06/1.423, allocations: 0 / 0.9764 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.573e-05/1.423, allocations: 0.875 kB / 0.9764 GB, free: 14.12 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009327/1.424, allocations: 473.4 kB / 0.9769 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.464e-05/1.424, allocations: 8.031 kB / 0.9769 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.792e-05/1.424, allocations: 22.12 kB / 0.9769 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005585/1.425, allocations: 233 kB / 0.9771 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/1.425, allocations: 4 kB / 0.9771 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/1.425, allocations: 0 / 0.9771 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002215/1.425, allocations: 70.72 kB / 0.9772 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002602/1.425, allocations: 108.4 kB / 0.9773 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/1.425, allocations: 0 / 0.9773 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.312e-05/1.425, allocations: 3.953 kB / 0.9773 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.72e-05/1.425, allocations: 8 kB / 0.9773 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001025/1.426, allocations: 427.2 kB / 0.9777 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002921/1.427, allocations: 123.6 kB / 0.9779 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001799/1.427, allocations: 70.2 kB / 0.9779 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.937e-05/1.427, allocations: 7.984 kB / 0.9779 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/1.427, allocations: 37.89 kB / 0.978 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=13): time 2.505e-06/1.427, allocations: 3.609 kB / 0.978 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13): time 0.0008396/1.428, allocations: 193.9 kB / 0.9781 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.306e-05/1.428, allocations: 51.41 kB / 0.9782 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002501/1.428, allocations: 178.2 kB / 0.9784 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/1.428, allocations: 25.7 kB / 0.9784 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.816e-05/1.428, allocations: 117.9 kB / 0.9785 GB, free: 12.08 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.173e-05/1.428, allocations: 39.3 kB / 0.9785 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.526e-05/1.428, allocations: 0 / 0.9785 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001403/1.429, allocations: 330.3 kB / 0.9789 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001275/1.429, allocations: 47.61 kB / 0.9789 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001266/1.429, allocations: 42.86 kB / 0.9789 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005138/1.429, allocations: 87.97 kB / 0.979 GB, free: 11.6 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/1.429, allocations: 0 / 0.979 GB, free: 11.6 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000749/1.43, allocations: 178 kB / 0.9792 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/1.43, allocations: 7.938 kB / 0.9792 GB, free: 11.44 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/1.43, allocations: 4 kB / 0.9792 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/1.43, allocations: 3.953 kB / 0.9792 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004504/1.431, allocations: 39.97 kB / 0.9793 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/1.431, allocations: 0 / 0.9793 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002949/1.431, allocations: 27.45 kB / 0.9793 GB, free: 11.37 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.877e-05/1.431, allocations: 7.984 kB / 0.9793 GB, free: 11.36 MB / 0.7292 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001105/1.431, allocations: 101 kB / 0.9794 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000769/1.432, allocations: 198.6 kB / 0.9796 GB, free: 11.08 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.459e-05/1.432, allocations: 23.75 kB / 0.9796 GB, free: 11.06 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.652e-05/1.432, allocations: 24.53 kB / 0.9796 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/1.432, allocations: 0 / 0.9796 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/1.432, allocations: 0 / 0.9796 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/1.432, allocations: 3.984 kB / 0.9796 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003632/1.433, allocations: 230.7 kB / 0.9798 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/1.433, allocations: 0 / 0.9798 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000402/1.433, allocations: 39.97 kB / 0.9799 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-06/1.433, allocations: 0 / 0.9799 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.348e-05/1.433, allocations: 3.812 kB / 0.9799 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.945e-06/1.433, allocations: 11.88 kB / 0.9799 GB, free: 10.75 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/1.433, allocations: 4 kB / 0.9799 GB, free: 10.75 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007975/1.434, allocations: 279.8 kB / 0.9802 GB, free: 10.49 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001416/1.434, allocations: 115.9 kB / 0.9803 GB, free: 10.37 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.347e-05/1.434, allocations: 0 / 0.9803 GB, free: 10.37 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003058/1.434, allocations: 19.98 kB / 0.9803 GB, free: 10.35 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.55e-05/1.435, allocations: 15.92 kB / 0.9803 GB, free: 10.33 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.126e-05/1.435, allocations: 4 kB / 0.9803 GB, free: 10.33 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001694/1.435, allocations: 145.5 kB / 0.9805 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.91e-07/1.435, allocations: 0 / 0.9805 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004222/1.435, allocations: 35.44 kB / 0.9805 GB, free: 10.18 MB / 0.7292 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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.001272/1.437, allocations: 0.8714 MB / 0.9813 GB, free: 9.316 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003705/1.437, allocations: 116.1 kB / 0.9814 GB, free: 9.234 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/1.437, allocations: 4 kB / 0.9815 GB, free: 9.23 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001745/1.437, allocations: 61.48 kB / 0.9815 GB, free: 9.188 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003989/1.438, allocations: 23.92 kB / 0.9815 GB, free: 9.168 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009758/1.439, allocations: 279.2 kB / 0.9818 GB, free: 8.887 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003535/1.439, allocations: 0.7392 MB / 0.9825 GB, free: 8.121 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0003193/1.439, allocations: 52.48 kB / 0.9826 GB, free: 8.07 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001444/1.439, allocations: 47.55 kB / 0.9826 GB, free: 8.051 MB / 0.7292 GB Notification: Performance of SimCode: time 9.52e-07/1.439, allocations: 0 / 0.9826 GB, free: 8.051 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04272/1.482, allocations: 3.516 MB / 0.986 GB, free: 4.555 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003621/1.483, allocations: 166 kB / 0.9862 GB, free: 4.363 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.532/4.014, allocations: 2.5 kB / 0.9862 GB, free: 4.363 MB / 0.7292 GB