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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.235/4.235, allocations: 433.2 MB / 440.7 MB, free: 4.574 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.438e-05/3.453e-05, allocations: 3.75 kB / 0.5325 GB, free: 12.79 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3126, allocations: 98.72 MB / 0.6289 GB, free: 9.102 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3275/0.6401, allocations: 124.4 MB / 0.7504 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002943/0.6404, allocations: 83.94 kB / 0.7505 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004637/0.6451, allocations: 1.075 MB / 0.7515 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6451, allocations: 0 / 0.7515 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.336e-05/0.6452, allocations: 4 kB / 0.7515 GB, free: 11.39 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.0004751/0.6457, allocations: 354.4 kB / 0.7518 GB, free: 11 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/0.6457, allocations: 16.03 kB / 0.7519 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.052e-05/0.6458, allocations: 7.859 kB / 0.7519 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.6459, allocations: 163.1 kB / 0.752 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.646, allocations: 4 kB / 0.752 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.254e-05/0.646, allocations: 0 / 0.752 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000103/0.6461, allocations: 16 kB / 0.752 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.6462, allocations: 41.69 kB / 0.7521 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.6462, allocations: 3.938 kB / 0.7521 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.6463, allocations: 0 / 0.7521 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.6463, allocations: 4 kB / 0.7521 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004488/0.6467, allocations: 253.4 kB / 0.7523 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.681e-05/0.6469, allocations: 38.5 kB / 0.7524 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.537e-05/0.6469, allocations: 12.86 kB / 0.7524 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.647, allocations: 0 / 0.7524 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.647, allocations: 38.56 kB / 0.7524 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.733e-06/0.647, allocations: 0 / 0.7524 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002294/0.6473, allocations: 57.7 kB / 0.7525 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.588e-05/0.6473, allocations: 55.36 kB / 0.7525 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.6474, allocations: 104.9 kB / 0.7526 GB, free: 10.06 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/0.6475, allocations: 25.7 kB / 0.7527 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.171e-05/0.6475, allocations: 99.97 kB / 0.7527 GB, free: 9.93 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.349e-05/0.6476, allocations: 7.906 kB / 0.7528 GB, free: 9.922 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.981e-06/0.6476, allocations: 0 / 0.7528 GB, free: 9.922 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.6477, allocations: 322.8 kB / 0.7531 GB, free: 9.598 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.353e-05/0.6478, allocations: 8 kB / 0.7531 GB, free: 9.59 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.189e-05/0.6478, allocations: 8 kB / 0.7531 GB, free: 9.582 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.216e-05/0.6479, allocations: 8 kB / 0.7531 GB, free: 9.574 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.6479, allocations: 0 / 0.7531 GB, free: 9.574 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001443/0.648, allocations: 53.59 kB / 0.7531 GB, free: 9.516 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.648, allocations: 4 kB / 0.7531 GB, free: 9.512 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.6481, allocations: 0 / 0.7531 GB, free: 9.512 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.6481, allocations: 3.938 kB / 0.7531 GB, free: 9.508 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001739/0.6483, allocations: 15.98 kB / 0.7532 GB, free: 9.492 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.6483, allocations: 0 / 0.7532 GB, free: 9.492 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.48e-05/0.6484, allocations: 15.94 kB / 0.7532 GB, free: 9.477 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.6484, allocations: 0 / 0.7532 GB, free: 9.477 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 () * 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 7.739e-05/0.6485, allocations: 101 kB / 0.7533 GB, free: 9.371 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001446/0.6487, allocations: 53.69 kB / 0.7533 GB, free: 9.312 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.172e-05/0.6487, allocations: 3.906 kB / 0.7533 GB, free: 9.309 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.535e-05/0.6487, allocations: 12.34 kB / 0.7533 GB, free: 9.297 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.6488, allocations: 8 kB / 0.7533 GB, free: 9.289 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.6488, allocations: 3.953 kB / 0.7533 GB, free: 9.285 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.6488, allocations: 0 / 0.7533 GB, free: 9.285 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001963/0.649, allocations: 150.2 kB / 0.7535 GB, free: 9.102 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.649, allocations: 0 / 0.7535 GB, free: 9.102 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000132/0.6492, allocations: 8 kB / 0.7535 GB, free: 9.094 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/0.6492, allocations: 7.938 kB / 0.7535 GB, free: 9.086 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.6492, allocations: 0 / 0.7535 GB, free: 9.086 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.6492, allocations: 3.984 kB / 0.7535 GB, free: 9.082 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.6492, allocations: 7.984 kB / 0.7535 GB, free: 9.074 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001822/0.6494, allocations: 151.4 kB / 0.7537 GB, free: 8.91 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.542e-05/0.6495, allocations: 81.05 kB / 0.7537 GB, free: 8.812 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.985e-05/0.6495, allocations: 0 / 0.7537 GB, free: 8.812 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001386/0.6496, allocations: 15.92 kB / 0.7538 GB, free: 8.797 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.876e-05/0.6497, allocations: 4 kB / 0.7538 GB, free: 8.793 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.705e-06/0.6497, allocations: 0 / 0.7538 GB, free: 8.793 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.604e-05/0.6498, allocations: 95.7 kB / 0.7538 GB, free: 8.699 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.01e-07/0.6498, allocations: 0 / 0.7538 GB, free: 8.699 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002989/0.6501, allocations: 8 kB / 0.7539 GB, free: 8.691 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 () * 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.000499/0.6506, allocations: 0.6857 MB / 0.7545 GB, free: 7.977 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001337/0.6508, allocations: 24.31 kB / 0.7545 GB, free: 7.953 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.6508, allocations: 4 kB / 0.7546 GB, free: 7.949 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.513e-05/0.6509, allocations: 12 kB / 0.7546 GB, free: 7.938 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001943/0.6511, allocations: 0 / 0.7546 GB, free: 7.938 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005457/0.6516, allocations: 109.6 kB / 0.7547 GB, free: 7.793 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002641/0.6519, allocations: 0.6884 MB / 0.7553 GB, free: 7.078 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.867e-05/0.652, allocations: 7.984 kB / 0.7553 GB, free: 7.07 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.931e-05/0.652, allocations: 19.44 kB / 0.7554 GB, free: 7.051 MB / 0.6355 GB Notification: Performance of SimCode: time 8.92e-07/0.6521, allocations: 0 / 0.7554 GB, free: 7.051 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03858/0.6906, allocations: 0.9128 MB / 0.7563 GB, free: 6.148 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003481/0.6911, allocations: 165.3 kB / 0.7564 GB, free: 5.957 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.461/3.152, allocations: 0 / 0.7564 GB, free: 5.957 MB / 0.6355 GB