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.01573/0.01574, allocations: 110.2 kB / 15.06 MB, free: 5.562 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.001179/0.00118, allocations: 181.3 kB / 15.95 MB, free: 5.523 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.871/1.871, allocations: 194.6 MB / 211.3 MB, free: 11.05 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.341/2.341, allocations: 236.1 MB / 492.6 MB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007536/0.0007538, allocations: 8 kB / 0.5869 GB, free: 2.156 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5904/0.5912, allocations: 98.71 MB / 0.6833 GB, free: 16.85 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002415/0.5936, allocations: 1.19 MB / 0.6845 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001089/0.5947, allocations: 421.1 kB / 0.6849 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.867e-05/0.5948, allocations: 1.656 kB / 0.6849 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 2.153e-05/0.5949, allocations: 0.6562 kB / 0.6849 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 9.649e-05/0.595, allocations: 15.91 kB / 0.6849 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001675/0.5952, allocations: 9.719 kB / 0.6849 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001064/0.5953, allocations: 35.09 kB / 0.685 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.5955, allocations: 10.64 kB / 0.685 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001316/0.5956, allocations: 20.48 kB / 0.685 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000102/0.5957, allocations: 19.25 kB / 0.685 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.227e-05/0.5958, allocations: 2.188 kB / 0.685 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 2.124e-05/0.5958, allocations: 1.031 kB / 0.685 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 2.374e-05/0.5959, allocations: 11.11 kB / 0.685 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 3.569e-05/0.5959, allocations: 34.5 kB / 0.6851 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 9.96e-05/0.596, allocations: 32.09 kB / 0.6851 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.885e-06/0.5961, allocations: 0 / 0.6851 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.803e-06/0.5961, allocations: 1.344 kB / 0.6851 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.15e-05/0.5961, allocations: 0 / 0.6851 GB, free: 15.58 MB / 0.5261 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.000579/0.5967, allocations: 363.8 kB / 0.6854 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.5968, allocations: 8.344 kB / 0.6855 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.993e-05/0.5968, allocations: 11 kB / 0.6855 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.597, allocations: 168.4 kB / 0.6856 GB, free: 15 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.597, allocations: 4.938 kB / 0.6856 GB, free: 15 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.362e-05/0.597, allocations: 2.5 kB / 0.6856 GB, free: 15 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002904/0.5974, allocations: 63.03 kB / 0.6857 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.5974, allocations: 0 / 0.6857 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.5974, allocations: 0 / 0.6857 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.68e-06/0.5975, allocations: 1.531 kB / 0.6857 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003174/0.5978, allocations: 38.25 kB / 0.6857 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005244/0.5983, allocations: 282.9 kB / 0.686 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002448/0.5986, allocations: 49.88 kB / 0.686 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.5987, allocations: 5.047 kB / 0.686 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/0.5987, allocations: 35.94 kB / 0.6861 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 3.4e-06/0.5987, allocations: 0 / 0.6861 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0006809/0.5994, allocations: 108.9 kB / 0.6862 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.732e-05/0.5995, allocations: 55.41 kB / 0.6862 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.5996, allocations: 113.7 kB / 0.6863 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.5997, allocations: 30.92 kB / 0.6864 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.875e-05/0.5997, allocations: 91.28 kB / 0.6865 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.045e-05/0.5998, allocations: 10.98 kB / 0.6865 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.504e-06/0.5998, allocations: 0 / 0.6865 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.954e-05/0.5999, allocations: 318.2 kB / 0.6868 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001737/0.6001, allocations: 25.58 kB / 0.6868 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001571/0.6003, allocations: 16.7 kB / 0.6868 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001654/0.6004, allocations: 25.03 kB / 0.6868 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.6005, allocations: 2.172 kB / 0.6868 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004246/0.6009, allocations: 83.66 kB / 0.6869 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/0.601, allocations: 5 kB / 0.6869 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.002e-06/0.601, allocations: 4.875 kB / 0.6869 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.601, allocations: 1.281 kB / 0.6869 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002011/0.6012, allocations: 10.94 kB / 0.6869 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.784e-06/0.6013, allocations: 3.953 kB / 0.6869 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001264/0.6014, allocations: 7.953 kB / 0.687 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.735e-05/0.6015, allocations: 4.938 kB / 0.687 GB, free: 13.83 MB / 0.5261 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 9.275e-05/0.6016, allocations: 112.9 kB / 0.6871 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.914e-05/0.6017, allocations: 3.516 kB / 0.6871 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.982e-05/0.6017, allocations: 10.33 kB / 0.6871 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.6017, allocations: 0 / 0.6871 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.229e-06/0.6018, allocations: 1.719 kB / 0.6871 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.53e-06/0.6018, allocations: 4.891 kB / 0.6871 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002902/0.6021, allocations: 167.5 kB / 0.6872 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.378e-06/0.6021, allocations: 0 / 0.6872 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001703/0.6023, allocations: 16.67 kB / 0.6873 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.355e-06/0.6023, allocations: 0 / 0.6873 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/0.6024, allocations: 0.5625 kB / 0.6873 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.467e-06/0.6024, allocations: 2.188 kB / 0.6873 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.701e-06/0.6024, allocations: 0 / 0.6873 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004513/0.6029, allocations: 183.6 kB / 0.6874 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.7e-05/0.6029, allocations: 82.91 kB / 0.6875 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.312e-05/0.603, allocations: 5.906 kB / 0.6875 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002224/0.6032, allocations: 10.92 kB / 0.6875 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.715e-05/0.6033, allocations: 3.422 kB / 0.6875 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-05/0.6033, allocations: 1.875 kB / 0.6875 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 8.197e-05/0.6034, allocations: 96.34 kB / 0.6876 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.222e-06/0.6035, allocations: 4 kB / 0.6876 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005768/0.6041, allocations: 6.312 kB / 0.6876 GB, free: 13.14 MB / 0.5261 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.0001349/0.6042, allocations: 108 kB / 0.6877 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004006/0.6046, allocations: 51.41 kB / 0.6878 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.935e-06/0.6047, allocations: 5.375 kB / 0.6878 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001845/0.6049, allocations: 27.67 kB / 0.6878 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002851/0.6052, allocations: 2.125 kB / 0.6878 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005858/0.6058, allocations: 190.5 kB / 0.688 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001643/0.606, allocations: 0.6864 MB / 0.6887 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 7.165e-05/0.6061, allocations: 6.156 kB / 0.6887 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.617e-05/0.6061, allocations: 9.469 kB / 0.6887 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of SimCode: time 1.783e-06/0.6061, allocations: 0 / 0.6887 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of Templates: time 0.004142/0.6103, allocations: 386.6 kB / 0.6891 GB, free: 12.11 MB / 0.5261 GB