Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.243/4.243, allocations: 433.2 MB / 440.7 MB, free: 4.562 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.35e-05/2.348e-05, allocations: 3.594 kB / 0.5325 GB, free: 12.69 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2282/0.2282, allocations: 98.74 MB / 0.6289 GB, free: 9.059 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.14/1.368, allocations: 347.2 MB / 0.968 GB, free: 6.441 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003082/1.368, allocations: 93.28 kB / 0.9681 GB, free: 6.395 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.04269/1.411, allocations: 10.29 MB / 0.9781 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.094e-06/1.411, allocations: 0 / 0.9781 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.254e-05/1.411, allocations: 8 kB / 0.9781 GB, free: 14.09 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001604/1.413, allocations: 0.5667 MB / 0.9787 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/1.413, allocations: 12.22 kB / 0.9787 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.429e-05/1.413, allocations: 23.72 kB / 0.9787 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009185/1.414, allocations: 279.7 kB / 0.979 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/1.414, allocations: 3.984 kB / 0.979 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.614e-05/1.414, allocations: 8 kB / 0.979 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003312/1.414, allocations: 92.42 kB / 0.9791 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002968/1.415, allocations: 116.4 kB / 0.9792 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/1.415, allocations: 0 / 0.9792 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.496e-05/1.415, allocations: 4 kB / 0.9792 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/1.415, allocations: 0 / 0.9792 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001292/1.416, allocations: 467.6 kB / 0.9796 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000203/1.416, allocations: 72.81 kB / 0.9797 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000163/1.416, allocations: 58.28 kB / 0.9798 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00097/1.417, allocations: 0.5173 MB / 0.9803 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.896e-05/1.417, allocations: 38.5 kB / 0.9803 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=11): time 2.876e-06/1.418, allocations: 0 / 0.9803 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.1111/1.529, allocations: 3.743 MB / 0.984 GB, free: 8.152 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/1.529, allocations: 51.41 kB / 0.984 GB, free: 8.09 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002752/1.529, allocations: 194.3 kB / 0.9842 GB, free: 7.926 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.455e-05/1.529, allocations: 25.7 kB / 0.9842 GB, free: 7.895 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/1.529, allocations: 138 kB / 0.9843 GB, free: 7.793 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.27e-05/1.529, allocations: 31.28 kB / 0.9844 GB, free: 7.766 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.98e-05/1.529, allocations: 4 kB / 0.9844 GB, free: 7.762 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001381/1.529, allocations: 333.6 kB / 0.9847 GB, free: 7.438 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000158/1.53, allocations: 55.42 kB / 0.9847 GB, free: 7.402 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001417/1.53, allocations: 49.55 kB / 0.9848 GB, free: 7.371 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.111/1.641, allocations: 3.627 MB / 0.9883 GB, free: 3.84 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/1.641, allocations: 0 / 0.9883 GB, free: 3.84 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.1111/1.752, allocations: 3.74 MB / 0.992 GB, free: 212 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.995e-05/1.752, allocations: 5.25 kB / 0.992 GB, free: 208 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/1.752, allocations: 0 / 0.992 GB, free: 208 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/1.752, allocations: 0 / 0.992 GB, free: 208 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005952/1.753, allocations: 55.94 kB / 0.992 GB, free: 152 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/1.753, allocations: 11.94 kB / 0.9921 GB, free: 140 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004455/1.753, allocations: 35.91 kB / 0.9921 GB, free: 104 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.313e-05/1.753, allocations: 11.92 kB / 0.9921 GB, free: 92 kB / 0.7292 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 (11): * Single equations (assignments): 11 * 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.0001512/1.753, allocations: 104.9 kB / 0.9922 GB, free: 15.98 MB / 0.7449 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.1111/1.864, allocations: 3.739 MB / 0.9959 GB, free: 12.35 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.435e-05/1.865, allocations: 23.47 kB / 0.9959 GB, free: 12.33 MB / 0.7449 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1111/1.976, allocations: 3.769 MB / 0.9996 GB, free: 8.68 MB / 0.7449 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.104e-06/1.976, allocations: 0 / 0.9996 GB, free: 8.68 MB / 0.7449 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.131e-05/1.976, allocations: 4 kB / 0.9996 GB, free: 8.676 MB / 0.7449 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/1.976, allocations: 3.984 kB / 0.9996 GB, free: 8.672 MB / 0.7449 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004428/1.976, allocations: 238 kB / 0.9998 GB, free: 8.434 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/1.976, allocations: 0 / 0.9998 GB, free: 8.434 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005739/1.977, allocations: 51.95 kB / 0.9998 GB, free: 8.383 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.084e-05/1.977, allocations: 4 kB / 0.9998 GB, free: 8.379 MB / 0.7449 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.921e-05/1.977, allocations: 7.484 kB / 0.9999 GB, free: 8.375 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.145e-06/1.977, allocations: 0 / 0.9999 GB, free: 8.375 MB / 0.7449 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.092e-06/1.977, allocations: 3.953 kB / 0.9999 GB, free: 8.371 MB / 0.7449 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1112/2.088, allocations: 3.842 MB / 1.004 GB, free: 4.629 MB / 0.7449 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001652/2.088, allocations: 115.7 kB / 1.004 GB, free: 4.504 MB / 0.7449 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.362e-05/2.088, allocations: 7.938 kB / 1.004 GB, free: 4.496 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004542/2.089, allocations: 35.97 kB / 1.004 GB, free: 4.461 MB / 0.7449 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.641e-05/2.089, allocations: 15.84 kB / 1.004 GB, free: 4.449 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-05/2.089, allocations: 11.94 kB / 1.004 GB, free: 4.438 MB / 0.7449 GB Notification: Performance of sorting global known variables: time 0.0001946/2.089, allocations: 156.4 kB / 1.004 GB, free: 4.305 MB / 0.7449 GB Notification: Performance of sort global known variables: time 4.51e-07/2.089, allocations: 0 / 1.004 GB, free: 4.305 MB / 0.7449 GB Notification: Performance of remove unused functions: time 0.0004945/2.09, allocations: 63.61 kB / 1.004 GB, free: 4.246 MB / 0.7449 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 (11): * Single equations (assignments): 11 * 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.1118/2.202, allocations: 4.457 MB / 1.008 GB, free: 15.88 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0004002/2.202, allocations: 112.6 kB / 1.008 GB, free: 15.81 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/2.202, allocations: 0 / 1.008 GB, free: 15.81 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0002002/2.202, allocations: 70.34 kB / 1.009 GB, free: 15.77 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004178/2.203, allocations: 25.92 kB / 1.009 GB, free: 15.75 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/2.204, allocations: 304.1 kB / 1.009 GB, free: 15.44 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00033/2.204, allocations: 0.7392 MB / 1.01 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0003365/2.205, allocations: 40.83 kB / 1.01 GB, free: 14.63 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000178/2.205, allocations: 66.34 kB / 1.01 GB, free: 14.61 MB / 0.7605 GB Notification: Performance of SimCode: time 1.092e-06/2.205, allocations: 8 kB / 1.01 GB, free: 14.6 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0442/2.249, allocations: 4.339 MB / 1.014 GB, free: 10.29 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002608/2.249, allocations: 167.2 kB / 1.014 GB, free: 10.09 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.597/4.846, allocations: 0 / 1.014 GB, free: 10.09 MB / 0.7605 GB