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.BaseClasses.Examples.GCritCalc.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: translateModel(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.008966/0.008966, allocations: 110.2 kB / 15.05 MB, free: 5.965 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.001284/0.001284, allocations: 178.2 kB / 15.94 MB, free: 5.93 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 1.911/1.911, allocations: 194.6 MB / 211.3 MB, free: 11.08 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.233/2.233, allocations: 236.2 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004739/0.0004741, allocations: 16 kB / 0.587 GB, free: 2.176 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5541/0.5546, allocations: 98.71 MB / 0.6833 GB, free: 16.85 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1847/0.7393, allocations: 125.1 MB / 0.8055 GB, free: 1.164 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002607/0.7396, allocations: 87.92 kB / 0.8056 GB, free: 1.078 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.004222/0.7439, allocations: 1.088 MB / 0.8067 GB, free: 15.99 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.748e-06/0.7439, allocations: 0 / 0.8067 GB, free: 15.99 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.643e-06/0.7439, allocations: 0 / 0.8067 GB, free: 15.99 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004552/0.7444, allocations: 363.2 kB / 0.807 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.7444, allocations: 8.031 kB / 0.807 GB, free: 15.58 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.558e-05/0.7445, allocations: 11.89 kB / 0.8071 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.7446, allocations: 175 kB / 0.8072 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.7447, allocations: 0 / 0.8072 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.755e-05/0.7447, allocations: 7.938 kB / 0.8072 GB, free: 15.35 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001919/0.7449, allocations: 57.61 kB / 0.8073 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.158e-06/0.7449, allocations: 4 kB / 0.8073 GB, free: 15.28 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.7449, allocations: 4 kB / 0.8073 GB, free: 15.28 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.674e-06/0.745, allocations: 3.984 kB / 0.8073 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001759/0.7451, allocations: 43.97 kB / 0.8073 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004574/0.7456, allocations: 276.8 kB / 0.8076 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001558/0.7458, allocations: 46.5 kB / 0.8077 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.617e-05/0.7458, allocations: 0 / 0.8077 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/0.7459, allocations: 30.56 kB / 0.8077 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.704e-06/0.7459, allocations: 0 / 0.8077 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0004294/0.7463, allocations: 105.7 kB / 0.8078 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.634e-05/0.7464, allocations: 59.36 kB / 0.8078 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.7465, allocations: 112.9 kB / 0.8079 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.7465, allocations: 25.7 kB / 0.808 GB, free: 14.49 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.681e-05/0.7466, allocations: 92.05 kB / 0.8081 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.243e-05/0.7466, allocations: 11.89 kB / 0.8081 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.957e-06/0.7466, allocations: 0 / 0.8081 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001654/0.7468, allocations: 314.8 kB / 0.8084 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.7469, allocations: 23.98 kB / 0.8084 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.586e-05/0.747, allocations: 19.98 kB / 0.8084 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.174e-05/0.7471, allocations: 19.98 kB / 0.8084 GB, free: 14 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.975e-06/0.7472, allocations: 4 kB / 0.8084 GB, free: 14 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000247/0.7474, allocations: 73.67 kB / 0.8085 GB, free: 13.92 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.7475, allocations: 7.984 kB / 0.8085 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.466e-06/0.7475, allocations: 4 kB / 0.8085 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.7475, allocations: 0 / 0.8085 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.7476, allocations: 8 kB / 0.8085 GB, free: 13.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.966e-06/0.7477, allocations: 4 kB / 0.8085 GB, free: 13.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.657e-05/0.7477, allocations: 23.72 kB / 0.8086 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.7478, allocations: 0 / 0.8086 GB, free: 13.88 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.0001177/0.7479, allocations: 113.8 kB / 0.8087 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.837e-05/0.7479, allocations: 4 kB / 0.8087 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.009e-05/0.748, allocations: 11.91 kB / 0.8087 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.67e-06/0.748, allocations: 7.922 kB / 0.8087 GB, free: 13.72 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.145e-06/0.748, allocations: 0 / 0.8087 GB, free: 13.72 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.528e-06/0.748, allocations: 0 / 0.8087 GB, free: 13.72 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002384/0.7483, allocations: 169.6 kB / 0.8088 GB, free: 13.51 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.12e-06/0.7483, allocations: 0 / 0.8088 GB, free: 13.51 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.917e-05/0.7484, allocations: 15.98 kB / 0.8089 GB, free: 13.49 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.211e-06/0.7484, allocations: 0 / 0.8089 GB, free: 13.49 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.675e-06/0.7484, allocations: 0 / 0.8089 GB, free: 13.49 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.217e-06/0.7484, allocations: 4 kB / 0.8089 GB, free: 13.49 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.574e-06/0.7485, allocations: 0 / 0.8089 GB, free: 13.49 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003141/0.7488, allocations: 187.3 kB / 0.809 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.587e-05/0.7488, allocations: 85.02 kB / 0.8091 GB, free: 13.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/0.7489, allocations: 4.375 kB / 0.8091 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.749, allocations: 7.984 kB / 0.8091 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.7491, allocations: 4 kB / 0.8091 GB, free: 13.17 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.979e-06/0.7491, allocations: 0 / 0.8091 GB, free: 13.17 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.82e-05/0.7492, allocations: 95.64 kB / 0.8092 GB, free: 13.08 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.84e-07/0.7492, allocations: 0 / 0.8092 GB, free: 13.08 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003067/0.7495, allocations: 8 kB / 0.8092 GB, free: 13.07 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001326/0.7496, allocations: 107.2 kB / 0.8093 GB, free: 12.96 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002487/0.7499, allocations: 51.95 kB / 0.8094 GB, free: 12.91 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.542e-06/0.7499, allocations: 0 / 0.8094 GB, free: 12.91 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001048/0.75, allocations: 31.91 kB / 0.8094 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001933/0.7502, allocations: 9.828 kB / 0.8094 GB, free: 12.87 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004485/0.7507, allocations: 186.4 kB / 0.8096 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003369/0.751, allocations: 0.6848 MB / 0.8103 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.137e-05/0.7511, allocations: 4 kB / 0.8103 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.784e-05/0.7512, allocations: 11.44 kB / 0.8103 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of SimCode: time 1.671e-06/0.7512, allocations: 0 / 0.8103 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of Templates: time 0.002739/0.7539, allocations: 375.5 kB / 0.8106 GB, free: 11.57 MB / 0.6355 GB