Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.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.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch,fileNamePrefix="Buildings_6_0_0_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSwitch",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.01578/0.01578, allocations: 107.9 kB / 15.05 MB, free: 5.988 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.001925/0.001925, allocations: 178.8 kB / 15.94 MB, free: 5.941 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.093/2.093, allocations: 194.6 MB / 211.3 MB, free: 11.09 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.339/2.339, allocations: 236.1 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004951/0.0004955, allocations: 12 kB / 0.587 GB, free: 2.086 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6843/0.6848, allocations: 98.72 MB / 0.6834 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2415/0.9264, allocations: 125.9 MB / 0.8064 GB, free: 368 kB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000524/0.927, allocations: 95.92 kB / 0.8065 GB, free: 272 kB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.009787/0.9368, allocations: 1.444 MB / 0.8079 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.757e-06/0.9369, allocations: 0 / 0.8079 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.534e-05/0.937, allocations: 4 kB / 0.8079 GB, free: 14.81 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0008702/0.9378, allocations: 387.1 kB / 0.8083 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.809e-05/0.9379, allocations: 12.03 kB / 0.8083 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.889e-05/0.938, allocations: 42.48 kB / 0.8083 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.41e-05/0.9381, allocations: 11.86 kB / 0.8084 GB, free: 14.31 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000211/0.9383, allocations: 174.9 kB / 0.8085 GB, free: 14.1 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.9384, allocations: 0 / 0.8085 GB, free: 14.1 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.653e-05/0.9384, allocations: 8 kB / 0.8085 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004503/0.9389, allocations: 99.25 kB / 0.8086 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.9389, allocations: 3.938 kB / 0.8086 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.902e-05/0.939, allocations: 7.984 kB / 0.8086 GB, free: 13.97 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.939, allocations: 0 / 0.8086 GB, free: 13.97 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004558/0.9395, allocations: 55.97 kB / 0.8087 GB, free: 13.92 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009407/0.9405, allocations: 332.7 kB / 0.809 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003273/0.9408, allocations: 58.56 kB / 0.8091 GB, free: 13.48 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.938e-05/0.9409, allocations: 0 / 0.8091 GB, free: 13.48 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.393e-05/0.9409, allocations: 34.52 kB / 0.8091 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 2.575e-06/0.941, allocations: 0 / 0.8091 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0008131/0.9418, allocations: 121.8 kB / 0.8092 GB, free: 13.31 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.832e-05/0.9419, allocations: 81.11 kB / 0.8093 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001794/0.9421, allocations: 113.3 kB / 0.8094 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.725e-05/0.9422, allocations: 25.7 kB / 0.8094 GB, free: 13.06 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.9423, allocations: 100 kB / 0.8095 GB, free: 12.96 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.483e-05/0.9423, allocations: 15.81 kB / 0.8095 GB, free: 12.94 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.206e-05/0.9424, allocations: 0 / 0.8095 GB, free: 12.94 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.9426, allocations: 322.8 kB / 0.8098 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000226/0.9428, allocations: 23.98 kB / 0.8099 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002899/0.9431, allocations: 45.7 kB / 0.8099 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002329/0.9434, allocations: 28.02 kB / 0.8099 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.9434, allocations: 0 / 0.8099 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000578/0.944, allocations: 97.64 kB / 0.81 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.736e-05/0.944, allocations: 4 kB / 0.81 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.631e-05/0.9441, allocations: 7.938 kB / 0.81 GB, free: 12.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/0.9441, allocations: 4 kB / 0.81 GB, free: 12.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002404/0.9444, allocations: 15.98 kB / 0.8101 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.9444, allocations: 0 / 0.8101 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002456/0.9447, allocations: 23.83 kB / 0.8101 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.602e-05/0.9447, allocations: 0 / 0.8101 GB, free: 12.36 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.chiSwi.hysteresis.y,chiSwi.hysteresis.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001742/0.9449, allocations: 113.8 kB / 0.8102 GB, free: 12.24 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.481e-05/0.945, allocations: 4 kB / 0.8102 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.874e-05/0.9451, allocations: 16.25 kB / 0.8102 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/0.9451, allocations: 3.953 kB / 0.8102 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.9451, allocations: 0 / 0.8102 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.9451, allocations: 0 / 0.8102 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003873/0.9455, allocations: 189.6 kB / 0.8104 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.9456, allocations: 3.938 kB / 0.8104 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001958/0.9458, allocations: 11.98 kB / 0.8104 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.518e-06/0.9458, allocations: 3.938 kB / 0.8104 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/0.9459, allocations: 3.938 kB / 0.8104 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.9459, allocations: 4 kB / 0.8104 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.696e-06/0.9459, allocations: 7.938 kB / 0.8104 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006004/0.9465, allocations: 183.4 kB / 0.8106 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.032e-05/0.9466, allocations: 85.02 kB / 0.8107 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.444e-05/0.9467, allocations: 7.984 kB / 0.8107 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002833/0.947, allocations: 16.19 kB / 0.8107 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.9471, allocations: 15.92 kB / 0.8107 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.67e-05/0.9472, allocations: 4 kB / 0.8107 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001309/0.9473, allocations: 101.1 kB / 0.8108 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.11e-07/0.9473, allocations: 0 / 0.8108 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005446/0.9479, allocations: 12 kB / 0.8108 GB, free: 11.5 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (chiSwi.hysteresis.y) * Number of discrete states: 1 (chiSwi.hysteresis.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.001034/0.9489, allocations: 0.7265 MB / 0.8115 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004897/0.9495, allocations: 63.95 kB / 0.8116 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/0.9495, allocations: 0 / 0.8116 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002053/0.9497, allocations: 31.92 kB / 0.8116 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/0.9501, allocations: 11.94 kB / 0.8116 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002093/0.9522, allocations: 0.5882 MB / 0.8122 GB, free: 10 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003796/0.9526, allocations: 0.6965 MB / 0.8129 GB, free: 9.277 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001007/0.9528, allocations: 8.109 kB / 0.8129 GB, free: 9.27 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001217/0.9529, allocations: 27.42 kB / 0.8129 GB, free: 9.242 MB / 0.6355 GB Notification: Performance of SimCode: time 1.303e-06/0.9529, allocations: 4 kB / 0.8129 GB, free: 9.238 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02339/0.9763, allocations: 1.702 MB / 0.8146 GB, free: 7.676 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003617/0.9768, allocations: 217 kB / 0.8148 GB, free: 7.43 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.342/3.319, allocations: 0 / 0.8148 GB, free: 7.43 MB / 0.6355 GB