Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.0106/0.0106, allocations: 87.91 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001263/0.001263, allocations: 171 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.15/2.15, allocations: 205.5 MB / 222.2 MB, free: 13.71 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.378/2.378, allocations: 252.9 MB / 0.511 GB, free: 8.336 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000491/0.0004911, allocations: 12.22 kB / 0.6243 GB, free: 28.33 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2494, allocations: 106.2 MB / 0.7281 GB, free: 10.17 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.004278/0.2537, allocations: 1.648 MB / 0.7297 GB, free: 8.504 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.008919/0.2627, allocations: 3.245 MB / 0.7328 GB, free: 5.246 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002358/0.263, allocations: 4 kB / 0.7328 GB, free: 5.242 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0003703/0.2634, allocations: 47.78 kB / 0.7329 GB, free: 5.195 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.000591/0.264, allocations: 107.9 kB / 0.733 GB, free: 5.09 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006797/0.2647, allocations: 95.77 kB / 0.7331 GB, free: 4.996 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0005045/0.2652, allocations: 163.6 kB / 0.7332 GB, free: 4.836 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002258/0.2655, allocations: 44.52 kB / 0.7333 GB, free: 4.789 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003755/0.2659, allocations: 99.55 kB / 0.7334 GB, free: 4.691 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002919/0.2662, allocations: 99.58 kB / 0.7335 GB, free: 4.594 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 6.687e-05/0.2663, allocations: 8 kB / 0.7335 GB, free: 4.586 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004493/0.2667, allocations: 99.89 kB / 0.7336 GB, free: 4.488 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 9.522e-05/0.2669, allocations: 39.83 kB / 0.7336 GB, free: 4.449 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 9.198e-05/0.267, allocations: 53.58 kB / 0.7337 GB, free: 4.391 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0004993/0.2675, allocations: 179.6 kB / 0.7338 GB, free: 4.215 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.2675, allocations: 0 / 0.7338 GB, free: 4.215 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.324e-06/0.2675, allocations: 0 / 0.7338 GB, free: 4.215 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.2675, allocations: 0 / 0.7338 GB, free: 4.215 MB / 0.5573 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.00231/0.2699, allocations: 0.5918 MB / 0.7344 GB, free: 3.574 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 6.605e-05/0.2699, allocations: 8.031 kB / 0.7344 GB, free: 3.566 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.892e-05/0.2701, allocations: 42.55 kB / 0.7345 GB, free: 3.516 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.982e-05/0.2702, allocations: 27.66 kB / 0.7345 GB, free: 3.488 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008723/0.2711, allocations: 250.6 kB / 0.7347 GB, free: 3.203 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.2711, allocations: 4 kB / 0.7347 GB, free: 3.199 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.9e-05/0.2712, allocations: 15.95 kB / 0.7348 GB, free: 3.184 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001238/0.2724, allocations: 193.5 kB / 0.7349 GB, free: 2.988 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.2725, allocations: 0 / 0.7349 GB, free: 2.988 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.611e-05/0.2725, allocations: 3.938 kB / 0.7349 GB, free: 2.984 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.577e-05/0.2726, allocations: 4 kB / 0.7349 GB, free: 2.98 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001954/0.2745, allocations: 235.8 kB / 0.7352 GB, free: 2.75 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001955/0.2765, allocations: 0.4887 MB / 0.7356 GB, free: 2.211 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001057/0.2776, allocations: 150.4 kB / 0.7358 GB, free: 2.055 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001992/0.2796, allocations: 0.5689 MB / 0.7363 GB, free: 1.375 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.447e-05/0.2797, allocations: 38.78 kB / 0.7364 GB, free: 1.328 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=11): time 7.293e-06/0.2797, allocations: 0 / 0.7364 GB, free: 1.328 MB / 0.5573 GB Notification: Performance of matching and sorting (n=11): time 0.003312/0.283, allocations: 421 kB / 0.7368 GB, free: 0.9102 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.814e-05/0.2831, allocations: 55.34 kB / 0.7368 GB, free: 0.8438 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004489/0.2836, allocations: 234.7 kB / 0.7371 GB, free: 0.6094 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.248e-05/0.2837, allocations: 29.7 kB / 0.7371 GB, free: 0.5742 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001676/0.2839, allocations: 144 kB / 0.7372 GB, free: 440 kB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 8.509e-05/0.284, allocations: 35.45 kB / 0.7373 GB, free: 404 kB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.834e-05/0.284, allocations: 0 / 0.7373 GB, free: 404 kB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001895/0.2842, allocations: 334.8 kB / 0.7376 GB, free: 60 kB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001016/0.2853, allocations: 115.9 kB / 0.7377 GB, free: 15.95 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001034/0.2863, allocations: 119.8 kB / 0.7378 GB, free: 15.83 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001055/0.2874, allocations: 115.9 kB / 0.7379 GB, free: 15.71 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.2874, allocations: 4 kB / 0.7379 GB, free: 15.71 MB / 0.573 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.00245/0.2899, allocations: 297.2 kB / 0.7382 GB, free: 15.41 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 3.215e-05/0.29, allocations: 8 kB / 0.7382 GB, free: 15.41 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.29, allocations: 0 / 0.7382 GB, free: 15.41 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.302e-05/0.29, allocations: 0 / 0.7382 GB, free: 15.41 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009615/0.291, allocations: 67.88 kB / 0.7383 GB, free: 15.34 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.291, allocations: 0 / 0.7383 GB, free: 15.34 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007052/0.2917, allocations: 35.88 kB / 0.7383 GB, free: 15.3 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-05/0.2918, allocations: 7.984 kB / 0.7383 GB, free: 15.3 MB / 0.573 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 (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.0002688/0.2921, allocations: 129.8 kB / 0.7384 GB, free: 15.16 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/0.2923, allocations: 23.77 kB / 0.7385 GB, free: 15.14 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002631/0.2949, allocations: 323.1 kB / 0.7388 GB, free: 14.82 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/0.295, allocations: 0 / 0.7388 GB, free: 14.82 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.295, allocations: 0 / 0.7388 GB, free: 14.82 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.295, allocations: 3.938 kB / 0.7388 GB, free: 14.82 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007103/0.2957, allocations: 273.4 kB / 0.739 GB, free: 14.5 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.2958, allocations: 0 / 0.739 GB, free: 14.5 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008244/0.2966, allocations: 59.94 kB / 0.7391 GB, free: 14.44 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.294e-05/0.2966, allocations: 3.953 kB / 0.7391 GB, free: 14.44 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.164e-05/0.2967, allocations: 11.98 kB / 0.7391 GB, free: 14.43 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.2967, allocations: 0 / 0.7391 GB, free: 14.43 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/0.2967, allocations: 0 / 0.7391 GB, free: 14.43 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002321/0.2991, allocations: 407.8 kB / 0.7395 GB, free: 14.01 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002343/0.2993, allocations: 112.8 kB / 0.7396 GB, free: 13.88 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.597e-05/0.2994, allocations: 3.953 kB / 0.7396 GB, free: 13.88 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000672/0.3001, allocations: 31.97 kB / 0.7396 GB, free: 13.85 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001461/0.3003, allocations: 19.97 kB / 0.7397 GB, free: 13.83 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.946e-05/0.3004, allocations: 7.984 kB / 0.7397 GB, free: 13.82 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0003051/0.3007, allocations: 166 kB / 0.7398 GB, free: 13.66 MB / 0.573 GB Notification: Performance of sort global known variables: time 5.62e-07/0.3007, allocations: 0 / 0.7398 GB, free: 13.66 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0007462/0.3014, allocations: 56 kB / 0.7399 GB, free: 13.61 MB / 0.573 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 (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.003071/0.3045, allocations: 0.9775 MB / 0.7408 GB, free: 12.6 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.002208/0.3068, allocations: 255.8 kB / 0.7411 GB, free: 12.35 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.3068, allocations: 0 / 0.7411 GB, free: 12.35 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001156/0.308, allocations: 139.8 kB / 0.7412 GB, free: 12.21 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007066/0.3087, allocations: 32.36 kB / 0.7412 GB, free: 12.18 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006812/0.3156, allocations: 1.473 MB / 0.7427 GB, free: 10.65 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005028/0.3161, allocations: 0.7431 MB / 0.7434 GB, free: 9.879 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0004835/0.3166, allocations: 32.84 kB / 0.7434 GB, free: 9.848 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002884/0.3169, allocations: 63.41 kB / 0.7435 GB, free: 9.785 MB / 0.573 GB Notification: Performance of SimCode: time 1.182e-06/0.317, allocations: 3.938 kB / 0.7435 GB, free: 9.781 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05448/0.3714, allocations: 4.373 MB / 0.7478 GB, free: 5.539 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002621/0.3718, allocations: 207 kB / 0.748 GB, free: 5.297 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.629/3.001, allocations: 0 / 0.748 GB, free: 5.297 MB / 0.573 GB