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 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.ASHRAESolarGain,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.06/4.06, allocations: 433.2 MB / 440.7 MB, free: 4.566 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.938e-05/2.937e-05, allocations: 7.219 kB / 0.5325 GB, free: 12.66 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.2438, allocations: 98.74 MB / 0.6289 GB, free: 9.082 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.123/1.367, allocations: 347.9 MB / 0.9686 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003038/1.367, allocations: 92.91 kB / 0.9687 GB, free: 4.234 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.046/1.413, allocations: 11.06 MB / 0.9795 GB, free: 11.28 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.214e-06/1.413, allocations: 0.7656 kB / 0.9795 GB, free: 11.28 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.156e-05/1.413, allocations: 4 kB / 0.9795 GB, free: 11.28 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001724/1.415, allocations: 0.6056 MB / 0.9801 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/1.415, allocations: 10.55 kB / 0.9801 GB, free: 10.63 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001191/1.416, allocations: 131.7 kB / 0.9802 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001452/1.418, allocations: 330.7 kB / 0.9806 GB, free: 10.15 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/1.418, allocations: 8 kB / 0.9806 GB, free: 10.14 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.103e-05/1.418, allocations: 8 kB / 0.9806 GB, free: 10.13 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004558/1.418, allocations: 134.3 kB / 0.9807 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003914/1.419, allocations: 147.2 kB / 0.9808 GB, free: 9.938 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/1.419, allocations: 0 / 0.9808 GB, free: 9.938 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.235e-05/1.419, allocations: 0 / 0.9808 GB, free: 9.938 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/1.419, allocations: 7.719 kB / 0.9809 GB, free: 9.934 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001937/1.421, allocations: 0.5653 MB / 0.9814 GB, free: 9.414 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002585/1.421, allocations: 98.86 kB / 0.9815 GB, free: 9.344 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002288/1.421, allocations: 81.47 kB / 0.9816 GB, free: 9.293 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009766/1.422, allocations: 0.5179 MB / 0.9821 GB, free: 8.668 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/1.422, allocations: 34.31 kB / 0.9821 GB, free: 8.629 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=13): time 2.895e-06/1.422, allocations: 0 / 0.9821 GB, free: 8.629 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13): time 0.1086/1.531, allocations: 3.786 MB / 0.9858 GB, free: 4.969 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.368e-05/1.531, allocations: 51.41 kB / 0.9859 GB, free: 4.906 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003243/1.531, allocations: 210.8 kB / 0.9861 GB, free: 4.73 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.942e-05/1.531, allocations: 25.7 kB / 0.9861 GB, free: 4.699 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/1.532, allocations: 163.8 kB / 0.9862 GB, free: 4.578 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.003e-05/1.532, allocations: 38.75 kB / 0.9863 GB, free: 4.543 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.853e-05/1.532, allocations: 0 / 0.9863 GB, free: 4.543 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001484/1.532, allocations: 347.3 kB / 0.9866 GB, free: 4.207 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002168/1.532, allocations: 76.17 kB / 0.9867 GB, free: 4.164 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002073/1.532, allocations: 72.8 kB / 0.9868 GB, free: 4.125 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3222/1.854, allocations: 10.77 MB / 0.9973 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/1.855, allocations: 0 / 0.9973 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.323/2.178, allocations: 10.91 MB / 1.008 GB, free: 15.01 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.024e-05/2.178, allocations: 6.344 kB / 1.008 GB, free: 15 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/2.178, allocations: 3.984 kB / 1.008 GB, free: 15 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/2.178, allocations: 0 / 1.008 GB, free: 15 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008312/2.178, allocations: 83.86 kB / 1.008 GB, free: 14.92 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/2.179, allocations: 0 / 1.008 GB, free: 14.92 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006195/2.179, allocations: 59.8 kB / 1.008 GB, free: 14.86 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-05/2.179, allocations: 11.98 kB / 1.008 GB, free: 14.85 MB / 0.7605 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 (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.0001239/2.179, allocations: 104.9 kB / 1.008 GB, free: 14.74 MB / 0.7605 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.1084/2.288, allocations: 3.798 MB / 1.012 GB, free: 11.07 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.905e-05/2.288, allocations: 27.62 kB / 1.012 GB, free: 11.04 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1085/2.396, allocations: 3.809 MB / 1.016 GB, free: 7.379 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-05/2.397, allocations: 4 kB / 1.016 GB, free: 7.375 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/2.397, allocations: 0 / 1.016 GB, free: 7.375 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/2.397, allocations: 0 / 1.016 GB, free: 7.375 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005235/2.397, allocations: 279.7 kB / 1.016 GB, free: 7.105 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/2.397, allocations: 0 / 1.016 GB, free: 7.105 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007765/2.398, allocations: 79.55 kB / 1.016 GB, free: 7.031 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.134e-06/2.398, allocations: 0 / 1.016 GB, free: 7.031 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.592e-05/2.398, allocations: 3.984 kB / 1.016 GB, free: 7.027 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/2.398, allocations: 3.938 kB / 1.016 GB, free: 7.023 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.501e-06/2.398, allocations: 4 kB / 1.016 GB, free: 7.02 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1084/2.506, allocations: 3.881 MB / 1.02 GB, free: 3.258 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001973/2.507, allocations: 123.5 kB / 1.02 GB, free: 3.129 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.268e-05/2.507, allocations: 0 / 1.02 GB, free: 3.129 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006396/2.507, allocations: 51.95 kB / 1.02 GB, free: 3.078 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/2.507, allocations: 15.47 kB / 1.02 GB, free: 3.066 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.556e-05/2.508, allocations: 7.984 kB / 1.02 GB, free: 3.059 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0002259/2.508, allocations: 166.4 kB / 1.02 GB, free: 2.922 MB / 0.7605 GB Notification: Performance of sort global known variables: time 4.31e-07/2.508, allocations: 4 kB / 1.02 GB, free: 2.918 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0005407/2.508, allocations: 71.36 kB / 1.02 GB, free: 2.852 MB / 0.7605 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 (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.1111/2.619, allocations: 4.518 MB / 1.025 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000566/2.62, allocations: 176 kB / 1.025 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/2.62, allocations: 0 / 1.025 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002533/2.62, allocations: 88.16 kB / 1.025 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004376/2.621, allocations: 33.92 kB / 1.025 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001256/2.622, allocations: 368.4 kB / 1.025 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003433/2.622, allocations: 0.7513 MB / 1.026 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0004551/2.623, allocations: 49.14 kB / 1.026 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002273/2.623, allocations: 73.53 kB / 1.026 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of SimCode: time 1.082e-06/2.623, allocations: 0 / 1.026 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04996/2.673, allocations: 5.135 MB / 1.031 GB, free: 7.953 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002827/2.673, allocations: 160.9 kB / 1.031 GB, free: 7.766 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.573/5.247, allocations: 0 / 1.031 GB, free: 7.766 MB / 0.7761 GB