Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.965/3.965, allocations: 433.2 MB / 440.7 MB, free: 4.594 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.645e-05/3.642e-05, allocations: 6.375 kB / 0.5325 GB, free: 12.73 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2731/0.2731, allocations: 98.73 MB / 0.6289 GB, free: 9.148 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2374/0.5106, allocations: 125.7 MB / 0.7516 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002848/0.511, allocations: 83.95 kB / 0.7517 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02582/0.5368, allocations: 5.168 MB / 0.7567 GB, free: 6.055 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5368, allocations: 0 / 0.7567 GB, free: 6.055 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.108e-05/0.5369, allocations: 0 / 0.7567 GB, free: 6.055 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006193/0.5375, allocations: 410.1 kB / 0.7571 GB, free: 5.609 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.497e-05/0.5376, allocations: 16.02 kB / 0.7572 GB, free: 5.594 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001315/0.5377, allocations: 11.86 kB / 0.7572 GB, free: 5.582 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002859/0.538, allocations: 180.7 kB / 0.7573 GB, free: 5.367 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.538, allocations: 0 / 0.7573 GB, free: 5.367 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.192e-05/0.5381, allocations: 4 kB / 0.7573 GB, free: 5.363 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000134/0.5382, allocations: 23.98 kB / 0.7574 GB, free: 5.34 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/0.5383, allocations: 57.61 kB / 0.7574 GB, free: 5.277 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.5384, allocations: 4 kB / 0.7574 GB, free: 5.273 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.5384, allocations: 0 / 0.7574 GB, free: 5.273 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.5384, allocations: 3.953 kB / 0.7574 GB, free: 5.27 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006364/0.5391, allocations: 285.3 kB / 0.7577 GB, free: 4.953 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001181/0.5392, allocations: 42.56 kB / 0.7577 GB, free: 4.902 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.564e-05/0.5393, allocations: 20.98 kB / 0.7578 GB, free: 4.879 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.5393, allocations: 0 / 0.7578 GB, free: 4.879 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.5393, allocations: 34.56 kB / 0.7578 GB, free: 4.836 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 1.562e-06/0.5394, allocations: 0 / 0.7578 GB, free: 4.836 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5): time 0.0003499/0.5397, allocations: 69.48 kB / 0.7579 GB, free: 4.762 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.51e-05/0.5398, allocations: 51.41 kB / 0.7579 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/0.5399, allocations: 118 kB / 0.758 GB, free: 4.574 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.062e-05/0.54, allocations: 29.7 kB / 0.758 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.388e-05/0.5401, allocations: 96.12 kB / 0.7581 GB, free: 4.441 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.521e-05/0.5402, allocations: 15.75 kB / 0.7582 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.446e-06/0.5402, allocations: 0 / 0.7582 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.5404, allocations: 318.8 kB / 0.7585 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.309e-05/0.5404, allocations: 12 kB / 0.7585 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.657e-05/0.5405, allocations: 15.94 kB / 0.7585 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.148e-05/0.5406, allocations: 16 kB / 0.7585 GB, free: 4.062 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.5406, allocations: 7.938 kB / 0.7585 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002254/0.5408, allocations: 77.7 kB / 0.7586 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.5409, allocations: 4 kB / 0.7586 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.5409, allocations: 0 / 0.7586 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.5409, allocations: 3.984 kB / 0.7586 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002107/0.5411, allocations: 19.98 kB / 0.7586 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.5411, allocations: 3.953 kB / 0.7586 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001074/0.5413, allocations: 7.906 kB / 0.7586 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.5413, allocations: 0 / 0.7586 GB, free: 3.934 MB / 0.6355 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 (6): * Single equations (assignments): 6 * 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 8.882e-05/0.5414, allocations: 113.7 kB / 0.7587 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001985/0.5416, allocations: 57.69 kB / 0.7588 GB, free: 3.754 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.179e-05/0.5417, allocations: 7.906 kB / 0.7588 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002473/0.5419, allocations: 86 kB / 0.7589 GB, free: 3.656 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.5419, allocations: 3.953 kB / 0.7589 GB, free: 3.652 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.728e-06/0.5419, allocations: 0 / 0.7589 GB, free: 3.652 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.542, allocations: 0 / 0.7589 GB, free: 3.652 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002347/0.5422, allocations: 158.1 kB / 0.759 GB, free: 3.461 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.5422, allocations: 4 kB / 0.759 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001519/0.5424, allocations: 15.98 kB / 0.759 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.5424, allocations: 0 / 0.759 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.5424, allocations: 4 kB / 0.759 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.5424, allocations: 0 / 0.759 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.5424, allocations: 0 / 0.759 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002501/0.5427, allocations: 167.3 kB / 0.7592 GB, free: 3.258 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.207e-05/0.5428, allocations: 85.09 kB / 0.7593 GB, free: 3.156 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.311e-05/0.5428, allocations: 4.25 kB / 0.7593 GB, free: 3.152 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.543, allocations: 8 kB / 0.7593 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.43e-05/0.543, allocations: 11.98 kB / 0.7593 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.365e-06/0.543, allocations: 0 / 0.7593 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.247e-05/0.5431, allocations: 100.7 kB / 0.7594 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.11e-07/0.5431, allocations: 0 / 0.7594 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003717/0.5435, allocations: 31.92 kB / 0.7594 GB, free: 3.004 MB / 0.6355 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 (6): * Single equations (assignments): 6 * 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.0006936/0.5442, allocations: 0.7125 MB / 0.7601 GB, free: 2.262 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001638/0.5444, allocations: 43.92 kB / 0.7602 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.5444, allocations: 3.938 kB / 0.7602 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.866e-05/0.5445, allocations: 16 kB / 0.7602 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002912/0.5448, allocations: 18.17 kB / 0.7602 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005626/0.5454, allocations: 137.3 kB / 0.7603 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000307/0.5457, allocations: 0.7001 MB / 0.761 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 8.212e-05/0.5458, allocations: 4.188 kB / 0.761 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.754e-05/0.5459, allocations: 19.42 kB / 0.761 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of SimCode: time 8.62e-07/0.5459, allocations: 4 kB / 0.7611 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03948/0.5854, allocations: 1.638 MB / 0.7627 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003076/0.5858, allocations: 164.4 kB / 0.7628 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.411/2.996, allocations: 4 kB / 0.7628 GB, free: 15.44 MB / 0.6511 GB