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.InverseXDerivative_2_Check.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.InverseXDerivative_2_Check,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",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.01231/0.01231, allocations: 225.2 kB / 15.18 MB, free: 5.922 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.001195/0.001194, allocations: 176 kB / 16.06 MB, free: 5.828 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 3.843/3.843, allocations: 389.1 MB / 405.9 MB, free: 11.83 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.953/3.953, allocations: 472.3 MB / 0.9018 GB, free: 9.188 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004881/0.0004885, allocations: 12.22 kB / 1.008 GB, free: 138.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.17/0.1705, allocations: 98.73 MB / 1.104 GB, free: 41.98 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001075/0.1716, allocations: 0.4887 MB / 1.105 GB, free: 41.48 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00196/0.1736, allocations: 1.437 MB / 1.106 GB, free: 40.03 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.247e-05/0.1737, allocations: 3.219 kB / 1.106 GB, free: 40.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.757e-05/0.1737, allocations: 3.984 kB / 1.106 GB, free: 40.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.116e-05/0.1738, allocations: 3.984 kB / 1.106 GB, free: 40.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005298/0.1743, allocations: 108.7 kB / 1.106 GB, free: 39.92 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.561e-05/0.1744, allocations: 39.91 kB / 1.106 GB, free: 39.88 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.047e-05/0.1744, allocations: 7.984 kB / 1.106 GB, free: 39.88 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.779e-05/0.1745, allocations: 27.91 kB / 1.106 GB, free: 39.85 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.861e-05/0.1746, allocations: 27.91 kB / 1.106 GB, free: 39.82 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.366e-05/0.1746, allocations: 4 kB / 1.106 GB, free: 39.82 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000569/0.1752, allocations: 309.7 kB / 1.107 GB, free: 39.52 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.033e-05/0.1753, allocations: 15.92 kB / 1.107 GB, free: 39.5 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.419e-05/0.1753, allocations: 33.7 kB / 1.107 GB, free: 39.46 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002903/0.1756, allocations: 139.8 kB / 1.107 GB, free: 39.32 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1756, allocations: 0 / 1.107 GB, free: 39.32 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1756, allocations: 0 / 1.107 GB, free: 39.32 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.1756, allocations: 0 / 1.107 GB, free: 39.32 MB / 0.6042 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.0007248/0.1764, allocations: 402.1 kB / 1.107 GB, free: 38.89 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.1764, allocations: 8.031 kB / 1.107 GB, free: 38.88 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.049e-05/0.1765, allocations: 45.67 kB / 1.107 GB, free: 38.83 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007252/0.1772, allocations: 82.83 kB / 1.107 GB, free: 38.75 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.888e-05/0.1773, allocations: 167 kB / 1.107 GB, free: 38.55 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.755e-05/0.1774, allocations: 8.531 kB / 1.107 GB, free: 38.54 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.36e-05/0.1774, allocations: 9.844 kB / 1.107 GB, free: 38.53 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005562/0.178, allocations: 113.1 kB / 1.108 GB, free: 38.42 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.178, allocations: 7.953 kB / 1.108 GB, free: 38.41 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.919e-05/0.178, allocations: 4 kB / 1.108 GB, free: 38.41 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.178, allocations: 0 / 1.108 GB, free: 38.41 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008452/0.1789, allocations: 126.4 kB / 1.108 GB, free: 38.29 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007131/0.1796, allocations: 335.7 kB / 1.108 GB, free: 37.91 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001103/0.1807, allocations: 189.4 kB / 1.108 GB, free: 37.73 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004461/0.1812, allocations: 68.28 kB / 1.108 GB, free: 37.66 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.67e-05/0.1812, allocations: 0 / 1.108 GB, free: 37.66 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.1813, allocations: 34.56 kB / 1.108 GB, free: 37.62 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.583e-06/0.1813, allocations: 3.281 kB / 1.108 GB, free: 37.62 MB / 0.6042 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=11): time 0.03464/0.2159, allocations: 3.192 MB / 1.111 GB, free: 34.46 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.34e-05/0.216, allocations: 51.41 kB / 1.111 GB, free: 34.4 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.8e-05/0.2161, allocations: 104 kB / 1.112 GB, free: 34.29 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.058e-05/0.2162, allocations: 29.7 kB / 1.112 GB, free: 34.25 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.973e-05/0.2162, allocations: 94.33 kB / 1.112 GB, free: 34.16 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.325e-05/0.2163, allocations: 35.45 kB / 1.112 GB, free: 34.12 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.659e-05/0.2164, allocations: 0 / 1.112 GB, free: 34.12 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.337e-05/0.2165, allocations: 326.7 kB / 1.112 GB, free: 33.8 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00119/0.2177, allocations: 213.7 kB / 1.112 GB, free: 33.6 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001174/0.2189, allocations: 222.9 kB / 1.112 GB, free: 33.39 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001203/0.2201, allocations: 223.2 kB / 1.113 GB, free: 33.18 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.2201, allocations: 0 / 1.113 GB, free: 33.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.002724/0.2229, allocations: 0.5177 MB / 1.113 GB, free: 32.67 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.2229, allocations: 4 kB / 1.113 GB, free: 32.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.2229, allocations: 3.156 kB / 1.113 GB, free: 32.66 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.2229, allocations: 0 / 1.113 GB, free: 32.66 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001527/0.2245, allocations: 118.3 kB / 1.113 GB, free: 32.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.2245, allocations: 4 kB / 1.113 GB, free: 32.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00121/0.2257, allocations: 57.72 kB / 1.113 GB, free: 32.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.64e-05/0.2258, allocations: 23.92 kB / 1.113 GB, free: 32.47 MB / 0.6042 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.0002003/0.226, allocations: 121.8 kB / 1.113 GB, free: 32.34 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/0.2261, allocations: 7.906 kB / 1.113 GB, free: 32.34 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.619e-05/0.2262, allocations: 10.88 kB / 1.113 GB, free: 32.33 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.2262, allocations: 4 kB / 1.113 GB, free: 32.32 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.2263, allocations: 0 / 1.113 GB, free: 32.32 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.77e-06/0.2263, allocations: 4.5 kB / 1.113 GB, free: 32.32 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003442/0.2297, allocations: 1.102 MB / 1.115 GB, free: 31.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.87e-06/0.2298, allocations: 0 / 1.115 GB, free: 31.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001539/0.2313, allocations: 122.6 kB / 1.115 GB, free: 31 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.473e-06/0.2313, allocations: 0.5312 kB / 1.115 GB, free: 31 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.969e-05/0.2314, allocations: 23.92 kB / 1.115 GB, free: 30.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.2314, allocations: 2.5 kB / 1.115 GB, free: 30.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.2314, allocations: 3.953 kB / 1.115 GB, free: 30.98 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004005/0.2355, allocations: 0.8685 MB / 1.116 GB, free: 30.11 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002166/0.2357, allocations: 122.7 kB / 1.116 GB, free: 29.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001285/0.2358, allocations: 2.938 kB / 1.116 GB, free: 29.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001309/0.2372, allocations: 57.88 kB / 1.116 GB, free: 29.92 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001346/0.2373, allocations: 32.53 kB / 1.116 GB, free: 29.89 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.535e-05/0.2374, allocations: 27.88 kB / 1.116 GB, free: 29.86 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.361e-05/0.2375, allocations: 86.27 kB / 1.116 GB, free: 29.78 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.31e-07/0.2375, allocations: 0 / 1.116 GB, free: 29.78 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005327/0.238, allocations: 52 kB / 1.116 GB, free: 29.73 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_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 (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.004302/0.2423, allocations: 1.415 MB / 1.117 GB, free: 28.31 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002513/0.2449, allocations: 476.4 kB / 1.118 GB, free: 27.86 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.2449, allocations: 0 / 1.118 GB, free: 27.86 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001279/0.2462, allocations: 253.3 kB / 1.118 GB, free: 27.62 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00047/0.2467, allocations: 8 kB / 1.118 GB, free: 27.62 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01192/0.2586, allocations: 1.86 MB / 1.12 GB, free: 25.78 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001492/0.2588, allocations: 0.6954 MB / 1.12 GB, free: 25.06 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.00116/0.26, allocations: 96.64 kB / 1.121 GB, free: 25.03 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004418/0.2604, allocations: 71.3 kB / 1.121 GB, free: 24.96 MB / 0.6042 GB Notification: Performance of SimCode: time 1.072e-06/0.2604, allocations: 0 / 1.121 GB, free: 24.96 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02372/0.2842, allocations: 4.156 MB / 1.125 GB, free: 21.07 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002328/0.2845, allocations: 221.4 kB / 1.125 GB, free: 20.83 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.454/2.739, allocations: 0 / 1.125 GB, free: 20.83 MB / 0.6042 GB