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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.495/4.495, allocations: 432.6 MB / 445.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.737e-05/4.75e-05, allocations: 5.047 kB / 0.5383 GB, free: 10.23 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.2124, allocations: 98.74 MB / 0.6347 GB, free: 1.875 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2291/0.4416, allocations: 126 MB / 0.7578 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003071/0.4419, allocations: 83.95 kB / 0.7579 GB, free: 3.605 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0223/0.4642, allocations: 4.255 MB / 0.762 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.617e-06/0.4643, allocations: 11.98 kB / 0.762 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.208e-06/0.4643, allocations: 0 / 0.762 GB, free: 15.33 MB / 0.6511 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.000618/0.465, allocations: 362.4 kB / 0.7624 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.405e-05/0.465, allocations: 12.03 kB / 0.7624 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.857e-05/0.4651, allocations: 38.55 kB / 0.7624 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.236e-05/0.4651, allocations: 11.86 kB / 0.7624 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/0.4653, allocations: 167 kB / 0.7626 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.075e-05/0.4653, allocations: 4 kB / 0.7626 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.059e-05/0.4654, allocations: 11.94 kB / 0.7626 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001893/0.4656, allocations: 73.61 kB / 0.7627 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.4656, allocations: 0 / 0.7627 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.839e-05/0.4656, allocations: 7.984 kB / 0.7627 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.4656, allocations: 0 / 0.7627 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001115/0.4658, allocations: 28 kB / 0.7627 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007751/0.4666, allocations: 340.6 kB / 0.763 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001539/0.4667, allocations: 54.58 kB / 0.7631 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.782e-05/0.4668, allocations: 28.84 kB / 0.7631 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.511e-05/0.4668, allocations: 0 / 0.7631 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/0.4669, allocations: 38.52 kB / 0.7632 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 1.693e-06/0.4669, allocations: 0 / 0.7632 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11): time 0.001345/0.4682, allocations: 0.5676 MB / 0.7637 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.4683, allocations: 55.34 kB / 0.7638 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.513e-05/0.4684, allocations: 92.98 kB / 0.7639 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/0.4684, allocations: 29.7 kB / 0.7639 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.32e-05/0.4685, allocations: 92.05 kB / 0.764 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.944e-05/0.4686, allocations: 43.39 kB / 0.764 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.356e-06/0.4686, allocations: 0 / 0.764 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.4687, allocations: 318.8 kB / 0.7643 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.286e-05/0.4688, allocations: 19.98 kB / 0.7643 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.171e-05/0.4689, allocations: 24 kB / 0.7644 GB, free: 12.65 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.963e-05/0.469, allocations: 20 kB / 0.7644 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.469, allocations: 0 / 0.7644 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002457/0.4692, allocations: 105.9 kB / 0.7645 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.4693, allocations: 12 kB / 0.7645 GB, free: 12.51 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.4693, allocations: 0 / 0.7645 GB, free: 12.51 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.4693, allocations: 0 / 0.7645 GB, free: 12.51 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002831/0.4696, allocations: 32.02 kB / 0.7645 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.4696, allocations: 3.938 kB / 0.7645 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001236/0.4698, allocations: 7.984 kB / 0.7645 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.4698, allocations: 8 kB / 0.7645 GB, free: 12.46 MB / 0.6511 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 (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 8.595e-05/0.4699, allocations: 105 kB / 0.7646 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.134e-05/0.4699, allocations: 7.953 kB / 0.7646 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003202/0.4703, allocations: 117.5 kB / 0.7648 GB, free: 12.22 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/0.4703, allocations: 4 kB / 0.7648 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.4703, allocations: 4 kB / 0.7648 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.4703, allocations: 0 / 0.7648 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005566/0.4709, allocations: 366.6 kB / 0.7651 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.4709, allocations: 0 / 0.7651 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002985/0.4712, allocations: 39.91 kB / 0.7652 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.4712, allocations: 0 / 0.7652 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.719e-05/0.4712, allocations: 4 kB / 0.7652 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/0.4713, allocations: 4 kB / 0.7652 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.4713, allocations: 0 / 0.7652 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003741/0.4717, allocations: 215.8 kB / 0.7654 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.857e-05/0.4717, allocations: 85.05 kB / 0.7655 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.184e-05/0.4718, allocations: 0 / 0.7655 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002098/0.472, allocations: 20.08 kB / 0.7655 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.27e-05/0.472, allocations: 7.984 kB / 0.7655 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-05/0.472, allocations: 7.938 kB / 0.7655 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.339e-05/0.4721, allocations: 83.22 kB / 0.7656 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.7e-07/0.4721, allocations: 4 kB / 0.7656 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00038/0.4725, allocations: 35.94 kB / 0.7656 GB, free: 11.27 MB / 0.6511 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 () * 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.000816/0.4733, allocations: 0.7982 MB / 0.7664 GB, free: 10.44 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002341/0.4736, allocations: 71.86 kB / 0.7665 GB, free: 10.37 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.4736, allocations: 3.938 kB / 0.7665 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.244e-05/0.4737, allocations: 35.94 kB / 0.7665 GB, free: 10.33 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002365/0.474, allocations: 8 kB / 0.7665 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009414/0.4749, allocations: 295.4 kB / 0.7668 GB, free: 9.992 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002934/0.4752, allocations: 0.6926 MB / 0.7675 GB, free: 9.273 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001091/0.4754, allocations: 12.66 kB / 0.7675 GB, free: 9.262 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.72e-05/0.4754, allocations: 23.44 kB / 0.7675 GB, free: 9.238 MB / 0.6511 GB Notification: Performance of SimCode: time 3.126e-06/0.4755, allocations: 0 / 0.7675 GB, free: 9.238 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02097/0.4964, allocations: 2.019 MB / 0.7695 GB, free: 7.344 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003057/0.4968, allocations: 201.5 kB / 0.7697 GB, free: 7.121 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.382/2.879, allocations: 0 / 0.7697 GB, free: 7.121 MB / 0.6511 GB