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.ASHRAESolarGain.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_6_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.2/package.mo): time 0.01722/0.01722, allocations: 223 kB / 15.17 MB, free: 5.922 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001253/0.001253, allocations: 180.5 kB / 16.06 MB, free: 5.828 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.75/3.75, allocations: 389 MB / 405.9 MB, free: 67.64 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.213/4.213, allocations: 472.3 MB / 0.9018 GB, free: 13.4 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005098/0.00051, allocations: 12 kB / 1.008 GB, free: 0.7461 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6041/0.6046, allocations: 98.72 MB / 1.104 GB, free: 183.7 MB / 0.6823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002324/0.607, allocations: 1.759 MB / 1.106 GB, free: 182 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.004694/0.6117, allocations: 3.488 MB / 1.109 GB, free: 178.5 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001677/0.612, allocations: 4 kB / 1.109 GB, free: 178.5 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0002624/0.6122, allocations: 43.75 kB / 1.109 GB, free: 178.4 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0004091/0.6127, allocations: 116 kB / 1.109 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003743/0.613, allocations: 107.7 kB / 1.11 GB, free: 178.2 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0003367/0.6134, allocations: 273.8 kB / 1.11 GB, free: 178 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001685/0.6136, allocations: 50.64 kB / 1.11 GB, free: 177.9 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002223/0.6138, allocations: 111.5 kB / 1.11 GB, free: 177.8 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002093/0.614, allocations: 131.4 kB / 1.11 GB, free: 177.7 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 4.428e-05/0.6141, allocations: 8 kB / 1.11 GB, free: 177.7 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002743/0.6144, allocations: 108.6 kB / 1.11 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 5.934e-05/0.6145, allocations: 43.27 kB / 1.11 GB, free: 177.5 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 5.417e-05/0.6145, allocations: 61.58 kB / 1.11 GB, free: 177.4 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0003106/0.6148, allocations: 219.5 kB / 1.11 GB, free: 177.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.6149, allocations: 4 kB / 1.11 GB, free: 177.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.184e-06/0.6149, allocations: 0 / 1.11 GB, free: 177.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.129e-05/0.6149, allocations: 0 / 1.11 GB, free: 177.2 MB / 0.6823 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.001629/0.6165, allocations: 0.6297 MB / 1.111 GB, free: 176.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.6166, allocations: 12.03 kB / 1.111 GB, free: 176.5 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.394e-05/0.6167, allocations: 43.3 kB / 1.111 GB, free: 176.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00146/0.6181, allocations: 154.8 kB / 1.111 GB, free: 176.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/0.6192, allocations: 329.9 kB / 1.112 GB, free: 176 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.6192, allocations: 8.188 kB / 1.112 GB, free: 176 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.87e-05/0.6193, allocations: 8 kB / 1.112 GB, free: 176 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001114/0.6204, allocations: 248.9 kB / 1.112 GB, free: 175.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.6204, allocations: 4.75 kB / 1.112 GB, free: 175.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.367e-05/0.6205, allocations: 7.953 kB / 1.112 GB, free: 175.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.6205, allocations: 3.938 kB / 1.112 GB, free: 175.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001808/0.6223, allocations: 340.3 kB / 1.112 GB, free: 175.4 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001833/0.6242, allocations: 0.6039 MB / 1.113 GB, free: 174.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009489/0.6251, allocations: 197.3 kB / 1.113 GB, free: 174.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000919/0.6261, allocations: 187.7 kB / 1.113 GB, free: 174.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001227/0.6273, allocations: 0.5753 MB / 1.114 GB, free: 173.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/0.6273, allocations: 31.5 kB / 1.114 GB, free: 173.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=13): time 2.505e-06/0.6274, allocations: 0 / 1.114 GB, free: 173.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13): time 0.002948/0.6303, allocations: 0.5665 MB / 1.114 GB, free: 173.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.601e-05/0.6303, allocations: 51.41 kB / 1.114 GB, free: 173 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002732/0.6306, allocations: 264.5 kB / 1.115 GB, free: 172.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.295e-05/0.6307, allocations: 25.7 kB / 1.115 GB, free: 172.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.596e-05/0.6308, allocations: 152.7 kB / 1.115 GB, free: 172.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.646e-05/0.6308, allocations: 47.3 kB / 1.115 GB, free: 172.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.826e-05/0.6309, allocations: 7.188 kB / 1.115 GB, free: 172.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.295e-05/0.631, allocations: 334.8 kB / 1.115 GB, free: 172.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009151/0.6319, allocations: 178.2 kB / 1.115 GB, free: 172 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009144/0.6328, allocations: 177.5 kB / 1.115 GB, free: 171.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009281/0.6338, allocations: 175.6 kB / 1.116 GB, free: 171.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.6338, allocations: 0 / 1.116 GB, free: 171.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001998/0.6358, allocations: 431.8 kB / 1.116 GB, free: 171.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.6358, allocations: 4 kB / 1.116 GB, free: 171.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.6358, allocations: 0 / 1.116 GB, free: 171.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.6359, allocations: 7.469 kB / 1.116 GB, free: 171.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008076/0.6367, allocations: 83.19 kB / 1.116 GB, free: 171.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.6367, allocations: 0 / 1.116 GB, free: 171.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005998/0.6373, allocations: 57.64 kB / 1.116 GB, free: 171.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.809e-05/0.6374, allocations: 11.94 kB / 1.116 GB, free: 171.1 MB / 0.6823 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.0001597/0.6375, allocations: 133.7 kB / 1.116 GB, free: 171 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.056e-05/0.6376, allocations: 28.8 kB / 1.116 GB, free: 171 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002061/0.6397, allocations: 440.2 kB / 1.117 GB, free: 170.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.6397, allocations: 0 / 1.117 GB, free: 170.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.6397, allocations: 0 / 1.117 GB, free: 170.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.6397, allocations: 3.938 kB / 1.117 GB, free: 170.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003777/0.6401, allocations: 306.2 kB / 1.117 GB, free: 170.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.6401, allocations: 0 / 1.117 GB, free: 170.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007183/0.6409, allocations: 80.02 kB / 1.117 GB, free: 170.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.6409, allocations: 2.719 kB / 1.117 GB, free: 170.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.216e-05/0.6409, allocations: 11.98 kB / 1.117 GB, free: 170.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.776e-06/0.6409, allocations: 0 / 1.117 GB, free: 170.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.6409, allocations: 1.078 kB / 1.117 GB, free: 170.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001972/0.6429, allocations: 0.4955 MB / 1.118 GB, free: 169.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001438/0.6431, allocations: 117.5 kB / 1.118 GB, free: 169.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.39e-05/0.6432, allocations: 5.375 kB / 1.118 GB, free: 169.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006093/0.6438, allocations: 51.44 kB / 1.118 GB, free: 169.4 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.6439, allocations: 19.2 kB / 1.118 GB, free: 169.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.008e-05/0.644, allocations: 7.984 kB / 1.118 GB, free: 169.4 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001866/0.6441, allocations: 183.1 kB / 1.118 GB, free: 169.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.71e-07/0.6442, allocations: 0 / 1.118 GB, free: 169.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004561/0.6446, allocations: 77.7 kB / 1.118 GB, free: 169.2 MB / 0.6823 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.002292/0.6469, allocations: 1.07 MB / 1.119 GB, free: 168.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001944/0.6489, allocations: 387 kB / 1.12 GB, free: 167.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.6489, allocations: 0 / 1.12 GB, free: 167.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009902/0.6499, allocations: 198.8 kB / 1.12 GB, free: 167.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006173/0.6506, allocations: 31.36 kB / 1.12 GB, free: 167.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005486/0.6561, allocations: 1.859 MB / 1.122 GB, free: 165.6 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000209/0.6563, allocations: 0.7537 MB / 1.122 GB, free: 164.8 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0004588/0.6568, allocations: 50.16 kB / 1.122 GB, free: 164.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002306/0.657, allocations: 83.84 kB / 1.122 GB, free: 164.7 MB / 0.6823 GB Notification: Performance of SimCode: time 1.112e-06/0.657, allocations: 1.344 kB / 1.122 GB, free: 164.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03452/0.6916, allocations: 5.21 MB / 1.128 GB, free: 160 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000274/0.6919, allocations: 208.8 kB / 1.128 GB, free: 159.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.558/3.25, allocations: 0 / 1.128 GB, free: 159.8 MB / 0.6823 GB