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.ASHRAESolarGain.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.ASHRAESolarGain,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",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.01112/0.01113, allocations: 88.31 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.001234/0.001234, allocations: 171.6 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.168/2.168, allocations: 205.5 MB / 222.2 MB, free: 13.73 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.485/2.485, allocations: 252.8 MB / 0.511 GB, free: 8.359 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007386/0.0007388, allocations: 12.97 kB / 0.6243 GB, free: 21.11 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.262, allocations: 106.2 MB / 0.7281 GB, free: 8.137 MB / 0.5574 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003089/0.2651, allocations: 1.749 MB / 0.7298 GB, free: 6.371 MB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.006389/0.2716, allocations: 3.339 MB / 0.733 GB, free: 3.02 MB / 0.5574 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002124/0.2718, allocations: 0 / 0.733 GB, free: 3.02 MB / 0.5574 GB Notification: Performance of NFTyping.typeComponents: time 0.0002862/0.2721, allocations: 51.73 kB / 0.7331 GB, free: 2.969 MB / 0.5574 GB Notification: Performance of NFTyping.typeBindings: time 0.0005112/0.2727, allocations: 127.9 kB / 0.7332 GB, free: 2.844 MB / 0.5574 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005121/0.2732, allocations: 119.7 kB / 0.7333 GB, free: 2.727 MB / 0.5574 GB Notification: Performance of NFFlatten.flatten: time 0.0004229/0.2736, allocations: 195.5 kB / 0.7335 GB, free: 2.535 MB / 0.5574 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000186/0.2738, allocations: 56.83 kB / 0.7336 GB, free: 2.477 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000307/0.2742, allocations: 111.6 kB / 0.7337 GB, free: 2.367 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000269/0.2744, allocations: 127.5 kB / 0.7338 GB, free: 2.242 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 4.8e-05/0.2745, allocations: 8 kB / 0.7338 GB, free: 2.234 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003765/0.2749, allocations: 119.8 kB / 0.7339 GB, free: 2.117 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 8.395e-05/0.275, allocations: 39.83 kB / 0.7339 GB, free: 2.078 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 9.178e-05/0.2751, allocations: 65.58 kB / 0.734 GB, free: 2.008 MB / 0.5574 GB Notification: Performance of NFConvertDAE.convert: time 0.0004444/0.2756, allocations: 223.4 kB / 0.7342 GB, free: 1.789 MB / 0.5574 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.2756, allocations: 0 / 0.7342 GB, free: 1.789 MB / 0.5574 GB Notification: Performance of FrontEnd: time 1.963e-06/0.2756, allocations: 0 / 0.7342 GB, free: 1.789 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.2756, allocations: 0 / 0.7342 GB, free: 1.789 MB / 0.5574 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.00232/0.2779, allocations: 0.627 MB / 0.7348 GB, free: 1.113 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 6.624e-05/0.278, allocations: 8.031 kB / 0.7348 GB, free: 1.105 MB / 0.5574 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001365/0.2782, allocations: 46.55 kB / 0.7349 GB, free: 1.051 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001659/0.2798, allocations: 159.4 kB / 0.735 GB, free: 0.8945 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001227/0.2811, allocations: 319.2 kB / 0.7353 GB, free: 0.5391 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.31e-05/0.2811, allocations: 8.188 kB / 0.7354 GB, free: 0.5312 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.022e-05/0.2812, allocations: 8 kB / 0.7354 GB, free: 0.5234 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001264/0.2825, allocations: 255 kB / 0.7356 GB, free: 276 kB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.2825, allocations: 0 / 0.7356 GB, free: 276 kB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.895e-05/0.2826, allocations: 7.953 kB / 0.7356 GB, free: 268 kB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.248e-05/0.2826, allocations: 4 kB / 0.7356 GB, free: 264 kB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001959/0.2846, allocations: 344.2 kB / 0.7359 GB, free: 15.92 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002195/0.2868, allocations: 0.6022 MB / 0.7365 GB, free: 15.27 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001117/0.2879, allocations: 206.4 kB / 0.7367 GB, free: 15.06 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001826/0.2898, allocations: 0.5688 MB / 0.7373 GB, free: 14.38 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.632e-05/0.2899, allocations: 38.56 kB / 0.7373 GB, free: 14.33 MB / 0.573 GB Notification: Performance of pre-optimization done (n=13): time 4.228e-06/0.2899, allocations: 0 / 0.7373 GB, free: 14.33 MB / 0.573 GB Notification: Performance of matching and sorting (n=13): time 0.0042/0.2941, allocations: 0.5672 MB / 0.7379 GB, free: 13.76 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.832e-05/0.2942, allocations: 55.41 kB / 0.7379 GB, free: 13.69 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004766/0.2947, allocations: 256.6 kB / 0.7382 GB, free: 13.43 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 6.496e-05/0.2948, allocations: 29.7 kB / 0.7382 GB, free: 13.4 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001783/0.295, allocations: 155.9 kB / 0.7383 GB, free: 13.24 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 9.24e-05/0.2951, allocations: 43.36 kB / 0.7384 GB, free: 13.2 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.715e-05/0.2951, allocations: 0 / 0.7384 GB, free: 13.2 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001888/0.2953, allocations: 346.7 kB / 0.7387 GB, free: 12.85 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001302/0.2966, allocations: 175.8 kB / 0.7389 GB, free: 12.68 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001319/0.298, allocations: 175.9 kB / 0.7391 GB, free: 12.51 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001461/0.2995, allocations: 175.9 kB / 0.7392 GB, free: 12.34 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.2995, allocations: 0 / 0.7392 GB, free: 12.34 MB / 0.573 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.003275/0.3028, allocations: 429 kB / 0.7396 GB, free: 11.91 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.968e-05/0.3028, allocations: 7.125 kB / 0.7396 GB, free: 11.91 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.3029, allocations: 4 kB / 0.7396 GB, free: 11.9 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.406e-05/0.3029, allocations: 0 / 0.7396 GB, free: 11.9 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00122/0.3041, allocations: 83.84 kB / 0.7397 GB, free: 11.82 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/0.3042, allocations: 4 kB / 0.7397 GB, free: 11.82 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009149/0.3051, allocations: 55.8 kB / 0.7398 GB, free: 11.76 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-05/0.3052, allocations: 11.98 kB / 0.7398 GB, free: 11.75 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 (17): * Single equations (assignments): 17 * 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.0002836/0.3055, allocations: 133.8 kB / 0.7399 GB, free: 11.61 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/0.3056, allocations: 31.56 kB / 0.7399 GB, free: 11.58 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01065/0.3163, allocations: 443.5 kB / 0.7404 GB, free: 11.13 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-05/0.3164, allocations: 4 kB / 0.7404 GB, free: 11.13 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.729e-06/0.3164, allocations: 0 / 0.7404 GB, free: 11.13 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.922e-06/0.3164, allocations: 0 / 0.7404 GB, free: 11.13 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007508/0.3172, allocations: 305.4 kB / 0.7407 GB, free: 10.78 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.3172, allocations: 0 / 0.7407 GB, free: 10.78 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005753/0.323, allocations: 83.91 kB / 0.7407 GB, free: 10.7 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.466e-05/0.323, allocations: 4 kB / 0.7408 GB, free: 10.7 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.92e-05/0.3231, allocations: 3.938 kB / 0.7408 GB, free: 10.69 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.3231, allocations: 0 / 0.7408 GB, free: 10.69 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.3232, allocations: 4 kB / 0.7408 GB, free: 10.69 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0064/0.3296, allocations: 0.5028 MB / 0.7413 GB, free: 10.17 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000282/0.3299, allocations: 116.7 kB / 0.7414 GB, free: 10.04 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.544e-05/0.33, allocations: 0 / 0.7414 GB, free: 10.04 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008912/0.3309, allocations: 59.94 kB / 0.7414 GB, free: 9.977 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001423/0.3311, allocations: 15.97 kB / 0.7414 GB, free: 9.961 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.003e-05/0.3311, allocations: 4 kB / 0.7414 GB, free: 9.957 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0003405/0.3315, allocations: 183.1 kB / 0.7416 GB, free: 9.781 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.424e-06/0.3315, allocations: 8 kB / 0.7416 GB, free: 9.773 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0007733/0.3323, allocations: 67.92 kB / 0.7417 GB, free: 9.707 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 (13): * Single equations (assignments): 13 * 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.003618/0.3359, allocations: 1.071 MB / 0.7427 GB, free: 8.609 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01159/0.3476, allocations: 384.5 kB / 0.7431 GB, free: 8.234 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/0.3476, allocations: 0 / 0.7431 GB, free: 8.234 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001427/0.3491, allocations: 195.8 kB / 0.7433 GB, free: 8.043 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006552/0.3498, allocations: 32.58 kB / 0.7433 GB, free: 8.012 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006341/0.3561, allocations: 0.8563 MB / 0.7442 GB, free: 7.105 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000477/0.3566, allocations: 0.7551 MB / 0.7449 GB, free: 6.324 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0006432/0.3573, allocations: 41.39 kB / 0.7449 GB, free: 6.285 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003592/0.3577, allocations: 83.39 kB / 0.745 GB, free: 6.203 MB / 0.573 GB Notification: Performance of SimCode: time 1.343e-06/0.3577, allocations: 0 / 0.745 GB, free: 6.203 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04458/0.4023, allocations: 5.152 MB / 0.75 GB, free: 1.18 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003586/0.4027, allocations: 205.8 kB / 0.7502 GB, free: 0.9336 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.685/3.088, allocations: 0 / 0.7502 GB, free: 0.9336 MB / 0.573 GB