Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.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.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",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.0159/0.0159, allocations: 106.2 kB / 15.05 MB, free: 5.934 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.001799/0.001799, allocations: 186.3 kB / 15.95 MB, free: 5.898 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 2.266/2.266, allocations: 194.6 MB / 211.3 MB, free: 11.07 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.234/2.234, allocations: 236.2 MB / 492.6 MB, free: 11.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004819/0.000482, allocations: 12 kB / 0.587 GB, free: 2.07 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6997/0.7003, allocations: 98.71 MB / 0.6834 GB, free: 16.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2321/0.9325, allocations: 126.1 MB / 0.8066 GB, free: 64 kB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003206/0.9328, allocations: 83.94 kB / 0.8067 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02141/0.9543, allocations: 4.249 MB / 0.8108 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.345e-06/0.9543, allocations: 0 / 0.8108 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.023e-05/0.9544, allocations: 4 kB / 0.8108 GB, free: 11.72 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006845/0.955, allocations: 383.1 kB / 0.8112 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.9551, allocations: 12.03 kB / 0.8112 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.171e-05/0.9552, allocations: 34.56 kB / 0.8112 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.907e-05/0.9552, allocations: 7.953 kB / 0.8113 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.9554, allocations: 167 kB / 0.8114 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.01e-05/0.9554, allocations: 8 kB / 0.8114 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.123e-05/0.9555, allocations: 15.84 kB / 0.8114 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000365/0.9558, allocations: 81.66 kB / 0.8115 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.9559, allocations: 0 / 0.8115 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.092e-05/0.9559, allocations: 4 kB / 0.8115 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.9559, allocations: 3.938 kB / 0.8115 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004367/0.9564, allocations: 55.95 kB / 0.8116 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007714/0.9571, allocations: 340.6 kB / 0.8119 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004911/0.9577, allocations: 86.53 kB / 0.812 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.063e-05/0.9577, allocations: 4 kB / 0.812 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/0.9577, allocations: 34.52 kB / 0.812 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.224e-06/0.9578, allocations: 0 / 0.812 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.002661/0.9604, allocations: 0.6774 MB / 0.8127 GB, free: 9.57 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.165e-05/0.9605, allocations: 59.34 kB / 0.8127 GB, free: 9.5 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.684e-05/0.9606, allocations: 92.98 kB / 0.8128 GB, free: 9.402 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.482e-05/0.9606, allocations: 29.7 kB / 0.8129 GB, free: 9.367 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.345e-05/0.9607, allocations: 80.14 kB / 0.8129 GB, free: 9.285 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.307e-05/0.9608, allocations: 51.36 kB / 0.813 GB, free: 9.234 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.468e-06/0.9608, allocations: 0 / 0.813 GB, free: 9.234 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.9609, allocations: 318.8 kB / 0.8133 GB, free: 8.914 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002384/0.9612, allocations: 31.98 kB / 0.8133 GB, free: 8.883 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002344/0.9614, allocations: 35.97 kB / 0.8133 GB, free: 8.848 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002461/0.9617, allocations: 36.25 kB / 0.8134 GB, free: 8.812 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.9617, allocations: 0 / 0.8134 GB, free: 8.812 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006422/0.9624, allocations: 129.6 kB / 0.8135 GB, free: 8.68 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.9624, allocations: 4 kB / 0.8135 GB, free: 8.676 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.353e-06/0.9624, allocations: 0 / 0.8135 GB, free: 8.676 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.9625, allocations: 8 kB / 0.8135 GB, free: 8.668 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003282/0.9628, allocations: 31.92 kB / 0.8135 GB, free: 8.637 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.9628, allocations: 0 / 0.8135 GB, free: 8.637 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001526/0.963, allocations: 8 kB / 0.8136 GB, free: 8.629 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.803e-05/0.963, allocations: 7.984 kB / 0.8136 GB, free: 8.621 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0001272/0.9632, allocations: 113.8 kB / 0.8137 GB, free: 8.5 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.637e-05/0.9632, allocations: 11.86 kB / 0.8137 GB, free: 8.488 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000701/0.9639, allocations: 149.5 kB / 0.8138 GB, free: 8.328 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.9639, allocations: 0 / 0.8138 GB, free: 8.328 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.964, allocations: 0 / 0.8138 GB, free: 8.328 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.964, allocations: 7.984 kB / 0.8138 GB, free: 8.32 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009856/0.965, allocations: 390.5 kB / 0.8142 GB, free: 7.883 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.184e-06/0.965, allocations: 0 / 0.8142 GB, free: 7.883 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003019/0.9653, allocations: 35.86 kB / 0.8142 GB, free: 7.848 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.805e-06/0.9653, allocations: 0 / 0.8142 GB, free: 7.848 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.832e-05/0.9654, allocations: 3.984 kB / 0.8142 GB, free: 7.844 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.9654, allocations: 0 / 0.8142 GB, free: 7.844 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.9654, allocations: 0 / 0.8142 GB, free: 7.844 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009396/0.9663, allocations: 263.5 kB / 0.8145 GB, free: 7.57 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.286e-05/0.9664, allocations: 89 kB / 0.8146 GB, free: 7.465 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.517e-05/0.9665, allocations: 4.062 kB / 0.8146 GB, free: 7.461 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002125/0.9667, allocations: 15.98 kB / 0.8146 GB, free: 7.445 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.549e-05/0.9667, allocations: 0 / 0.8146 GB, free: 7.445 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.249e-05/0.9668, allocations: 4 kB / 0.8146 GB, free: 7.441 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.73e-05/0.9669, allocations: 91.2 kB / 0.8147 GB, free: 7.352 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.71e-07/0.9669, allocations: 3.938 kB / 0.8147 GB, free: 7.348 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004284/0.9673, allocations: 36 kB / 0.8147 GB, free: 7.312 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_comp) * 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.001539/0.9689, allocations: 0.8367 MB / 0.8155 GB, free: 6.453 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006052/0.9696, allocations: 96.36 kB / 0.8156 GB, free: 6.359 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.9696, allocations: 0 / 0.8156 GB, free: 6.359 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002652/0.9699, allocations: 51.91 kB / 0.8157 GB, free: 6.309 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002894/0.9702, allocations: 11.94 kB / 0.8157 GB, free: 6.297 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002457/0.9726, allocations: 0.7586 MB / 0.8164 GB, free: 5.484 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003516/0.973, allocations: 0.7004 MB / 0.8171 GB, free: 4.758 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001164/0.9732, allocations: 8.672 kB / 0.8171 GB, free: 4.75 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.372e-05/0.9733, allocations: 25.53 kB / 0.8172 GB, free: 4.727 MB / 0.6355 GB Notification: Performance of SimCode: time 1.433e-06/0.9733, allocations: 0 / 0.8172 GB, free: 4.727 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08906/1.062, allocations: 2.008 MB / 0.8191 GB, free: 2.895 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003885/1.063, allocations: 232.5 kB / 0.8193 GB, free: 2.652 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.537/3.6, allocations: 0 / 0.8193 GB, free: 2.652 MB / 0.6355 GB