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: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc",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.01474/0.01474, allocations: 106.2 kB / 15.05 MB, free: 5.984 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.002092/0.002093, allocations: 183.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.169/2.169, 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.426/2.426, allocations: 236.2 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005074/0.0005075, allocations: 16 kB / 0.587 GB, free: 2.062 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7363/0.7369, allocations: 98.71 MB / 0.6834 GB, free: 16.77 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2435/0.9804, allocations: 125.1 MB / 0.8056 GB, free: 1.035 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003682/0.9808, allocations: 91.92 kB / 0.8057 GB, free: 0.9453 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.004735/0.9856, allocations: 1.084 MB / 0.8068 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.104e-06/0.9856, allocations: 4 kB / 0.8068 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.9856, allocations: 0 / 0.8068 GB, free: 15.86 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.0005799/0.9862, allocations: 363.2 kB / 0.8071 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/0.9863, allocations: 12.03 kB / 0.8071 GB, free: 15.44 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.672e-05/0.9863, allocations: 30.56 kB / 0.8072 GB, free: 15.4 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.88e-05/0.9864, allocations: 11.86 kB / 0.8072 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001593/0.9866, allocations: 178.9 kB / 0.8074 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.9866, allocations: 12 kB / 0.8074 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/0.9866, allocations: 0 / 0.8074 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002375/0.9869, allocations: 53.67 kB / 0.8074 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.9869, allocations: 0 / 0.8074 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.9869, allocations: 8 kB / 0.8074 GB, free: 15.1 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.9869, allocations: 3.984 kB / 0.8074 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000243/0.9872, allocations: 43.97 kB / 0.8075 GB, free: 15.05 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004843/0.9877, allocations: 280.8 kB / 0.8077 GB, free: 14.73 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001952/0.9879, allocations: 50.56 kB / 0.8078 GB, free: 14.67 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.555e-05/0.9879, allocations: 0 / 0.8078 GB, free: 14.67 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.988, allocations: 30.56 kB / 0.8078 GB, free: 14.63 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.493e-06/0.988, allocations: 0 / 0.8078 GB, free: 14.63 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0005019/0.9885, allocations: 101.7 kB / 0.8079 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.047e-05/0.9885, allocations: 59.36 kB / 0.808 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.9887, allocations: 109 kB / 0.8081 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.5e-05/0.9887, allocations: 25.7 kB / 0.8081 GB, free: 14.31 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.166e-05/0.9888, allocations: 88.05 kB / 0.8082 GB, free: 14.22 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.003e-05/0.9888, allocations: 11.91 kB / 0.8082 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.341e-06/0.9888, allocations: 0 / 0.8082 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.989, allocations: 314.8 kB / 0.8085 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/0.9891, allocations: 27.98 kB / 0.8085 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000121/0.9893, allocations: 19.98 kB / 0.8085 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/0.9894, allocations: 19.98 kB / 0.8086 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.9894, allocations: 0 / 0.8086 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003064/0.9897, allocations: 85.58 kB / 0.8086 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.044e-05/0.9898, allocations: 4 kB / 0.8086 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.9898, allocations: 0 / 0.8086 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.9898, allocations: 0 / 0.8086 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001627/0.99, allocations: 15.92 kB / 0.8087 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.99, allocations: 3.938 kB / 0.8087 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.567e-05/0.9901, allocations: 23.88 kB / 0.8087 GB, free: 13.69 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.9901, allocations: 3.938 kB / 0.8087 GB, free: 13.68 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.0001042/0.9903, allocations: 109.8 kB / 0.8088 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.17e-05/0.9903, allocations: 0 / 0.8088 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.988e-05/0.9903, allocations: 11.91 kB / 0.8088 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.9904, allocations: 0 / 0.8088 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.9904, allocations: 0 / 0.8088 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.9904, allocations: 0 / 0.8088 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002309/0.9906, allocations: 177.6 kB / 0.809 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.9906, allocations: 0 / 0.809 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001249/0.9908, allocations: 15.98 kB / 0.809 GB, free: 13.31 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.9908, allocations: 0 / 0.809 GB, free: 13.31 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.9908, allocations: 0 / 0.809 GB, free: 13.31 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.9908, allocations: 0 / 0.809 GB, free: 13.31 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.9908, allocations: 0 / 0.809 GB, free: 13.31 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003836/0.9912, allocations: 191.3 kB / 0.8092 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.075e-05/0.9913, allocations: 81.02 kB / 0.8093 GB, free: 13.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.181e-05/0.9913, allocations: 384 / 0.8093 GB, free: 13.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/0.9915, allocations: 4 kB / 0.8093 GB, free: 13 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.862e-05/0.9915, allocations: 7.984 kB / 0.8093 GB, free: 13 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.171e-06/0.9915, allocations: 0 / 0.8093 GB, free: 13 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.827e-05/0.9916, allocations: 99.64 kB / 0.8094 GB, free: 12.9 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.21e-07/0.9916, allocations: 0 / 0.8094 GB, free: 12.9 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002746/0.9919, allocations: 12 kB / 0.8094 GB, free: 12.89 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.000722/0.9926, allocations: 0.7149 MB / 0.8101 GB, free: 12.15 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002972/0.993, allocations: 47.91 kB / 0.8101 GB, free: 12.1 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.993, allocations: 4 kB / 0.8101 GB, free: 12.1 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001372/0.9931, allocations: 27.98 kB / 0.8101 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001673/0.9933, allocations: 2.062 kB / 0.8101 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007127/0.994, allocations: 220 kB / 0.8104 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003552/0.9944, allocations: 0.6887 MB / 0.811 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.269e-05/0.9945, allocations: 4 kB / 0.811 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.971e-05/0.9945, allocations: 15.44 kB / 0.811 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of SimCode: time 8.11e-07/0.9946, allocations: 0 / 0.811 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02067/1.015, allocations: 1.237 MB / 0.8123 GB, free: 9.969 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003469/1.016, allocations: 209.9 kB / 0.8125 GB, free: 9.727 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.434/3.45, allocations: 3.516 kB / 0.8125 GB, free: 9.727 MB / 0.6355 GB