Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",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.01673/0.01674, 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.002061/0.002061, allocations: 182.5 kB / 15.94 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.217/2.217, allocations: 194.6 MB / 211.3 MB, free: 11.05 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.239/2.239, allocations: 236.1 MB / 492.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006536/0.0006536, allocations: 12 kB / 0.587 GB, free: 2.074 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6798/0.6805, allocations: 98.71 MB / 0.6834 GB, free: 16.57 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2665/0.9471, allocations: 125.3 MB / 0.8058 GB, free: 0.8281 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004561/0.9476, allocations: 79.95 kB / 0.8059 GB, free: 0.75 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.02722/0.9748, allocations: 4.046 MB / 0.8099 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.194e-06/0.9749, allocations: 0 / 0.8099 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.594e-06/0.9749, allocations: 0 / 0.8099 GB, free: 12.7 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006818/0.9756, allocations: 375.2 kB / 0.8102 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.952e-05/0.9757, allocations: 8.031 kB / 0.8102 GB, free: 12.28 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.541e-05/0.9758, allocations: 38.5 kB / 0.8103 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007939/0.9766, allocations: 63.92 kB / 0.8103 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001546/0.9767, allocations: 171 kB / 0.8105 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.913e-05/0.9768, allocations: 4 kB / 0.8105 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.741e-05/0.9768, allocations: 4 kB / 0.8105 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005152/0.9774, allocations: 81.62 kB / 0.8106 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.9774, allocations: 0 / 0.8106 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.065e-05/0.9774, allocations: 0 / 0.8106 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.78e-06/0.9774, allocations: 0 / 0.8106 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006947/0.9782, allocations: 79.94 kB / 0.8107 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003055/0.9785, allocations: 177.5 kB / 0.8108 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001291/0.9798, allocations: 142.6 kB / 0.811 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 6.272e-05/0.9799, allocations: 4 kB / 0.811 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/0.9799, allocations: 30.56 kB / 0.811 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 2.635e-06/0.9799, allocations: 0 / 0.811 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5): time 0.001995/0.9819, allocations: 438.3 kB / 0.8114 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.048e-05/0.982, allocations: 51.41 kB / 0.8115 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.37e-05/0.9821, allocations: 96.98 kB / 0.8116 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.777e-05/0.9821, allocations: 29.7 kB / 0.8116 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.576e-05/0.9822, allocations: 80.14 kB / 0.8117 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.015e-05/0.9822, allocations: 11.72 kB / 0.8117 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.436e-05/0.9823, allocations: 7.938 kB / 0.8117 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.9824, allocations: 318.8 kB / 0.812 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002871/0.9827, allocations: 48.02 kB / 0.812 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002817/0.983, allocations: 43.97 kB / 0.8121 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002899/0.9833, allocations: 39.97 kB / 0.8121 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.9833, allocations: 0 / 0.8121 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006703/0.984, allocations: 129.6 kB / 0.8122 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.984, allocations: 4 kB / 0.8122 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.984, allocations: 0 / 0.8122 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.9841, allocations: 0 / 0.8122 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002687/0.9843, allocations: 27.92 kB / 0.8123 GB, free: 9.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.9844, allocations: 0 / 0.8123 GB, free: 9.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001894/0.9846, allocations: 19.98 kB / 0.8123 GB, free: 9.961 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.961e-05/0.9846, allocations: 7.984 kB / 0.8123 GB, free: 9.953 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 (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 0.0001129/0.9847, allocations: 121.7 kB / 0.8124 GB, free: 9.824 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.952e-05/0.9848, allocations: 0 / 0.8124 GB, free: 9.824 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007985/0.9856, allocations: 145.2 kB / 0.8125 GB, free: 9.672 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.9856, allocations: 4 kB / 0.8125 GB, free: 9.668 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.9856, allocations: 320 / 0.8125 GB, free: 9.668 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.9856, allocations: 0 / 0.8125 GB, free: 9.668 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001955/0.9858, allocations: 177.5 kB / 0.8127 GB, free: 9.445 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.9858, allocations: 4 kB / 0.8127 GB, free: 9.441 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000279/0.9861, allocations: 27.98 kB / 0.8127 GB, free: 9.414 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.874e-06/0.9861, allocations: 0 / 0.8127 GB, free: 9.414 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.9862, allocations: 7.938 kB / 0.8128 GB, free: 9.406 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.642e-06/0.9862, allocations: 3.984 kB / 0.8128 GB, free: 9.402 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.9862, allocations: 0 / 0.8128 GB, free: 9.402 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.9872, allocations: 201 kB / 0.8129 GB, free: 9.188 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.597e-05/0.9873, allocations: 89.12 kB / 0.813 GB, free: 9.082 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.479e-05/0.9874, allocations: 0 / 0.813 GB, free: 9.082 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002092/0.9876, allocations: 20.05 kB / 0.8131 GB, free: 9.062 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.355e-05/0.9876, allocations: 3.984 kB / 0.8131 GB, free: 9.059 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.708e-05/0.9877, allocations: 4 kB / 0.8131 GB, free: 9.055 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.71e-05/0.9877, allocations: 79.28 kB / 0.8131 GB, free: 8.977 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.366e-06/0.9877, allocations: 0 / 0.8131 GB, free: 8.977 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003622/0.9881, allocations: 47.86 kB / 0.8132 GB, free: 8.93 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_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 (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.001512/0.9896, allocations: 0.788 MB / 0.8139 GB, free: 8.113 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006504/0.9903, allocations: 91.98 kB / 0.814 GB, free: 8.023 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.9903, allocations: 0 / 0.814 GB, free: 8.023 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003129/0.9906, allocations: 63.89 kB / 0.8141 GB, free: 7.961 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001395/0.9908, allocations: 2.438 kB / 0.8141 GB, free: 7.961 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002223/0.993, allocations: 0.5689 MB / 0.8147 GB, free: 7.34 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/0.9934, allocations: 0.6848 MB / 0.8153 GB, free: 6.629 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001883/0.9936, allocations: 20.06 kB / 0.8153 GB, free: 6.609 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.01e-05/0.9937, allocations: 11.44 kB / 0.8154 GB, free: 6.602 MB / 0.6355 GB Notification: Performance of SimCode: time 9.92e-07/0.9937, allocations: 0 / 0.8154 GB, free: 6.602 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02032/1.014, allocations: 1.806 MB / 0.8171 GB, free: 4.918 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003556/1.014, allocations: 203.9 kB / 0.8173 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.664/3.678, allocations: 3.938 kB / 0.8173 GB, free: 4.672 MB / 0.6355 GB