Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.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.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_6_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.139/4.139, allocations: 433.2 MB / 440.7 MB, free: 4.602 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.83e-05/1.827e-05, allocations: 2.062 kB / 0.5325 GB, free: 12.66 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2239/0.2239, allocations: 98.73 MB / 0.6289 GB, free: 9.168 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2313/0.4553, allocations: 125 MB / 0.751 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003457/0.4557, allocations: 87.94 kB / 0.751 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01378/0.4695, allocations: 3.043 MB / 0.754 GB, free: 8.871 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.804e-06/0.4695, allocations: 0 / 0.754 GB, free: 8.871 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.045e-05/0.4696, allocations: 8 kB / 0.754 GB, free: 8.863 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.0005389/0.4701, allocations: 427.8 kB / 0.7544 GB, free: 8.395 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.354e-05/0.4702, allocations: 8.031 kB / 0.7544 GB, free: 8.387 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.279e-05/0.4703, allocations: 23.77 kB / 0.7545 GB, free: 8.363 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00032/0.4706, allocations: 199.7 kB / 0.7546 GB, free: 8.125 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.4706, allocations: 4 kB / 0.7547 GB, free: 8.121 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.616e-05/0.4707, allocations: 7.938 kB / 0.7547 GB, free: 8.113 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002093/0.4709, allocations: 71.95 kB / 0.7547 GB, free: 8.043 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002507/0.4711, allocations: 123.3 kB / 0.7548 GB, free: 7.91 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.4712, allocations: 0 / 0.7548 GB, free: 7.91 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.267e-05/0.4712, allocations: 4 kB / 0.7548 GB, free: 7.906 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.4712, allocations: 0 / 0.7548 GB, free: 7.906 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000508/0.4717, allocations: 365.6 kB / 0.7552 GB, free: 7.508 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002102/0.4719, allocations: 109.1 kB / 0.7553 GB, free: 7.383 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001719/0.4721, allocations: 81.75 kB / 0.7554 GB, free: 7.297 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.804e-05/0.4722, allocations: 3.984 kB / 0.7554 GB, free: 7.293 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002895/0.4725, allocations: 160.4 kB / 0.7555 GB, free: 7.113 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 1.853e-06/0.4725, allocations: 4 kB / 0.7555 GB, free: 7.109 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0006591/0.4732, allocations: 202.9 kB / 0.7557 GB, free: 6.906 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.703e-05/0.4733, allocations: 102.8 kB / 0.7558 GB, free: 6.781 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002332/0.4735, allocations: 178.6 kB / 0.756 GB, free: 6.598 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.123e-05/0.4735, allocations: 25.7 kB / 0.756 GB, free: 6.566 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.477e-05/0.4736, allocations: 112.1 kB / 0.7561 GB, free: 6.453 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.572e-05/0.4737, allocations: 23.66 kB / 0.7562 GB, free: 6.43 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.183e-05/0.4737, allocations: 0 / 0.7562 GB, free: 6.43 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.4739, allocations: 326.9 kB / 0.7565 GB, free: 6.102 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001386/0.474, allocations: 63.95 kB / 0.7565 GB, free: 6.039 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001613/0.4742, allocations: 73.69 kB / 0.7566 GB, free: 5.961 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002007/0.4744, allocations: 75.89 kB / 0.7567 GB, free: 5.887 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.4744, allocations: 0 / 0.7567 GB, free: 5.887 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000497/0.4749, allocations: 189.3 kB / 0.7569 GB, free: 5.695 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.307e-05/0.475, allocations: 41.69 kB / 0.7569 GB, free: 5.648 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.475, allocations: 3.953 kB / 0.7569 GB, free: 5.645 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.4751, allocations: 8.031 kB / 0.7569 GB, free: 5.637 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.4752, allocations: 4 kB / 0.7569 GB, free: 5.633 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.4752, allocations: 0 / 0.7569 GB, free: 5.633 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.33e-05/0.4753, allocations: 11.92 kB / 0.7569 GB, free: 5.621 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.889e-05/0.4754, allocations: 8 kB / 0.7569 GB, free: 5.613 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,$PRE.solDecNOAA.nextEvent,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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.0001371/0.4755, allocations: 143.4 kB / 0.7571 GB, free: 5.461 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006202/0.4761, allocations: 211 kB / 0.7573 GB, free: 5.246 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.241e-05/0.4762, allocations: 23.8 kB / 0.7573 GB, free: 5.223 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000202/0.4764, allocations: 59.59 kB / 0.7573 GB, free: 5.164 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/0.4764, allocations: 7.938 kB / 0.7574 GB, free: 5.156 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.4764, allocations: 0 / 0.7574 GB, free: 5.156 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.4765, allocations: 3.984 kB / 0.7574 GB, free: 5.152 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002534/0.4767, allocations: 194.1 kB / 0.7575 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.4767, allocations: 0 / 0.7575 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.92e-05/0.4768, allocations: 4 kB / 0.7575 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.618e-06/0.4768, allocations: 4 kB / 0.7575 GB, free: 4.918 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.428e-05/0.4769, allocations: 11.94 kB / 0.7576 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.4769, allocations: 4 kB / 0.7576 GB, free: 4.902 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.4769, allocations: 0 / 0.7576 GB, free: 4.902 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006471/0.4776, allocations: 257.1 kB / 0.7578 GB, free: 4.625 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001524/0.4777, allocations: 112.9 kB / 0.7579 GB, free: 4.496 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.491e-05/0.4778, allocations: 4 kB / 0.7579 GB, free: 4.492 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.19e-05/0.4779, allocations: 4.094 kB / 0.7579 GB, free: 4.488 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.983e-05/0.4779, allocations: 15.97 kB / 0.7579 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.092e-05/0.478, allocations: 8 kB / 0.7579 GB, free: 4.465 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001706/0.4782, allocations: 144.1 kB / 0.7581 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.646e-06/0.4782, allocations: 0 / 0.7581 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003588/0.4785, allocations: 47.83 kB / 0.7581 GB, free: 4.277 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * Number of discrete states: 6 (solDecNOAA.nextEvent,solDecNOAA.last,solDecNOAA.nextEventScaled,solDecNOAA.b,solDecNOAA.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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.00087/0.4794, allocations: 0.8436 MB / 0.759 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003772/0.4798, allocations: 199.4 kB / 0.7591 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4798, allocations: 3.938 kB / 0.7591 GB, free: 3.184 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001895/0.48, allocations: 147.4 kB / 0.7593 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002199/0.4803, allocations: 13.81 kB / 0.7593 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007924/0.4811, allocations: 280.5 kB / 0.7596 GB, free: 2.695 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003842/0.4815, allocations: 0.7275 MB / 0.7603 GB, free: 1.941 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.449e-05/0.4815, allocations: 3.938 kB / 0.7603 GB, free: 1.938 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.384e-05/0.4816, allocations: 39.42 kB / 0.7603 GB, free: 1.898 MB / 0.6355 GB Notification: Performance of SimCode: time 1.072e-06/0.4816, allocations: 0 / 0.7603 GB, free: 1.898 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04209/0.5237, allocations: 2.278 MB / 0.7625 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002882/0.5241, allocations: 185.2 kB / 0.7627 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.357/2.881, allocations: 0 / 0.7627 GB, free: 15.43 MB / 0.6511 GB