Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01713/0.01713, allocations: 108.2 kB / 15.05 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001957/0.001956, allocations: 183.1 kB / 15.94 MB, free: 5.898 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.163/2.163, allocations: 194.6 MB / 211.3 MB, free: 11.06 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.302/2.302, allocations: 236.1 MB / 492.6 MB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004947/0.0004949, allocations: 12 kB / 0.587 GB, free: 2.082 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.752/0.7525, allocations: 98.71 MB / 0.6834 GB, free: 16.84 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.171/7.923, allocations: 2.177 GB / 2.86 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003523/7.924, allocations: 96.02 kB / 2.86 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2424/8.166, allocations: 62.74 MB / 2.921 GB, free: 162.8 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.266e-06/8.166, allocations: 0 / 2.921 GB, free: 162.8 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.045e-05/8.166, allocations: 27.94 kB / 2.921 GB, free: 162.7 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.003399/8.17, allocations: 1.247 MB / 2.923 GB, free: 161.5 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/8.17, allocations: 11.97 kB / 2.923 GB, free: 161.5 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004462/8.17, allocations: 132.9 kB / 2.923 GB, free: 161.4 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003474/8.174, allocations: 302.4 kB / 2.923 GB, free: 161.1 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001706/8.175, allocations: 0.5683 MB / 2.924 GB, free: 160.6 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.783e-05/8.176, allocations: 59.25 kB / 2.924 GB, free: 160.6 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001953/8.176, allocations: 76.95 kB / 2.924 GB, free: 160.5 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003106/8.179, allocations: 0.9169 MB / 2.925 GB, free: 159.8 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.894e-05/8.179, allocations: 0 / 2.925 GB, free: 159.8 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001552/8.179, allocations: 37.06 kB / 2.925 GB, free: 159.8 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.057e-05/8.179, allocations: 16 kB / 2.925 GB, free: 159.8 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004147/8.183, allocations: 1.22 MB / 2.926 GB, free: 158.8 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007468/8.191, allocations: 2.532 MB / 2.928 GB, free: 156.8 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003678/8.195, allocations: 0.907 MB / 2.929 GB, free: 156.2 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001343/8.196, allocations: 0.6571 MB / 2.93 GB, free: 155.4 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001951/8.198, allocations: 0.5136 MB / 2.93 GB, free: 155 MB / 0.823 GB Notification: Performance of pre-optimization done (n=73): time 3.807e-06/8.198, allocations: 4 kB / 2.93 GB, free: 155 MB / 0.823 GB Notification: Performance of matching and sorting (n=73): time 0.006717/8.205, allocations: 1.3 MB / 2.932 GB, free: 154 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.022e-05/8.205, allocations: 220.8 kB / 2.932 GB, free: 153.7 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001175/8.206, allocations: 0.5655 MB / 2.932 GB, free: 153.3 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002216/8.206, allocations: 40.89 kB / 2.932 GB, free: 153.2 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003374/8.207, allocations: 364.4 kB / 2.933 GB, free: 153 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002731/8.207, allocations: 235.7 kB / 2.933 GB, free: 152.8 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.103e-05/8.207, allocations: 15.06 kB / 2.933 GB, free: 152.8 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.000123/8.207, allocations: 379.1 kB / 2.933 GB, free: 152.4 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001297/8.209, allocations: 305.2 kB / 2.934 GB, free: 152.2 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001428/8.21, allocations: 400.4 kB / 2.934 GB, free: 151.9 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001482/8.212, allocations: 393.4 kB / 2.934 GB, free: 151.7 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/8.212, allocations: 0 / 2.934 GB, free: 151.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.004326/8.216, allocations: 0.9945 MB / 2.935 GB, free: 150.9 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 6.048e-05/8.216, allocations: 59.41 kB / 2.935 GB, free: 150.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/8.216, allocations: 0 / 2.935 GB, free: 150.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009946/8.217, allocations: 87.08 kB / 2.935 GB, free: 150.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001598/8.219, allocations: 159.4 kB / 2.936 GB, free: 150.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002767/8.221, allocations: 1.562 MB / 2.937 GB, free: 149 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001505/8.223, allocations: 89.58 kB / 2.937 GB, free: 148.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001713/8.223, allocations: 33.09 kB / 2.937 GB, free: 148.9 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tNext,weaDat.conTim1.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0007187/8.224, allocations: 247.9 kB / 2.938 GB, free: 148.7 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002864/8.224, allocations: 75.06 kB / 2.938 GB, free: 148.6 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004973/8.229, allocations: 1.144 MB / 2.939 GB, free: 147.6 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.617e-05/8.229, allocations: 8 kB / 2.939 GB, free: 147.6 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/8.229, allocations: 0 / 2.939 GB, free: 147.6 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-05/8.229, allocations: 3.984 kB / 2.939 GB, free: 147.5 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001758/8.231, allocations: 0.8918 MB / 2.94 GB, free: 146.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/8.231, allocations: 4 kB / 2.94 GB, free: 146.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001521/8.233, allocations: 159.8 kB / 2.94 GB, free: 146.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009241/8.234, allocations: 84.77 kB / 2.94 GB, free: 146.4 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001977/8.234, allocations: 23.98 kB / 2.94 GB, free: 146.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002466/8.236, allocations: 1.563 MB / 2.941 GB, free: 144.6 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/8.236, allocations: 3.984 kB / 2.941 GB, free: 144.6 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004201/8.241, allocations: 0.9703 MB / 2.942 GB, free: 143.6 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008308/8.242, allocations: 291.8 kB / 2.943 GB, free: 143.3 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002105/8.242, allocations: 19.98 kB / 2.943 GB, free: 143.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001287/8.243, allocations: 75.94 kB / 2.943 GB, free: 143.2 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002007/8.243, allocations: 73.08 kB / 2.943 GB, free: 143.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001165/8.243, allocations: 31.98 kB / 2.943 GB, free: 143.1 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0008575/8.244, allocations: 471 kB / 2.943 GB, free: 142.7 MB / 0.823 GB Notification: Performance of sort global known variables: time 5.11e-07/8.244, allocations: 0 / 2.943 GB, free: 142.7 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001801/8.246, allocations: 379.1 kB / 2.944 GB, free: 142.3 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim1.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.007145/8.253, allocations: 2.538 MB / 2.946 GB, free: 139.9 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.00375/8.257, allocations: 0.9843 MB / 2.947 GB, free: 138.9 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 7.625e-06/8.257, allocations: 8 kB / 2.947 GB, free: 138.9 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.002/8.259, allocations: 0.5354 MB / 2.948 GB, free: 138.4 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001719/8.261, allocations: 189.9 kB / 2.948 GB, free: 138.2 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008432/8.269, allocations: 3.036 MB / 2.951 GB, free: 135.1 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005723/8.27, allocations: 1.019 MB / 2.952 GB, free: 134 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001861/8.272, allocations: 260.9 kB / 2.952 GB, free: 133.8 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008951/8.273, allocations: 335.3 kB / 2.952 GB, free: 133.4 MB / 0.823 GB Notification: Performance of SimCode: time 1.112e-06/8.273, allocations: 0 / 2.952 GB, free: 133.4 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1075/8.38, allocations: 28.94 MB / 2.981 GB, free: 104.7 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002956/8.381, allocations: 276.7 kB / 2.981 GB, free: 104.4 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.287/12.67, allocations: 0 / 2.981 GB, free: 104.4 MB / 0.823 GB