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.01531/0.01532, allocations: 107.9 kB / 15.06 MB, free: 5.555 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.001765/0.001765, allocations: 181.4 kB / 15.95 MB, free: 5.52 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.119/2.119, allocations: 194.6 MB / 211.3 MB, free: 11.03 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.558/2.558, allocations: 236.2 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004928/0.0004931, allocations: 12 kB / 0.587 GB, free: 2.062 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6631/0.6637, allocations: 98.71 MB / 0.6834 GB, free: 16.77 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001119/0.6648, allocations: 0.4979 MB / 0.6839 GB, free: 16.43 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.002264/0.6671, allocations: 1.428 MB / 0.6853 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.773e-05/0.6672, allocations: 0 / 0.6853 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.847e-05/0.6673, allocations: 3.938 kB / 0.6853 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 5.07e-05/0.6673, allocations: 1.062 kB / 0.6853 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006337/0.668, allocations: 112.8 kB / 0.6854 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 9.28e-05/0.6681, allocations: 31.17 kB / 0.6855 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 5.57e-05/0.6681, allocations: 4.344 kB / 0.6855 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 9.056e-05/0.6682, allocations: 36.39 kB / 0.6855 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 7.883e-05/0.6683, allocations: 25.55 kB / 0.6855 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.127e-05/0.6684, allocations: 3.719 kB / 0.6855 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000719/0.6691, allocations: 316.8 kB / 0.6858 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 2.904e-05/0.6691, allocations: 10.05 kB / 0.6858 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 3.834e-05/0.6692, allocations: 36.64 kB / 0.6859 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0003975/0.6696, allocations: 147.8 kB / 0.686 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.6696, allocations: 0 / 0.686 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.883e-06/0.6696, allocations: 0 / 0.686 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.6696, allocations: 0 / 0.686 GB, free: 15.14 MB / 0.5261 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.0008463/0.6705, allocations: 403.7 kB / 0.6864 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.6706, allocations: 8.438 kB / 0.6864 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.12e-05/0.6706, allocations: 34.19 kB / 0.6864 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007657/0.6714, allocations: 87.89 kB / 0.6865 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.6715, allocations: 174.8 kB / 0.6867 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.36e-05/0.6716, allocations: 2.406 kB / 0.6867 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.677e-05/0.6716, allocations: 15.44 kB / 0.6867 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005898/0.6722, allocations: 113.5 kB / 0.6868 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.6722, allocations: 5.156 kB / 0.6868 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.126e-05/0.6723, allocations: 5.812 kB / 0.6868 GB, free: 14.42 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.6723, allocations: 1.469 kB / 0.6868 GB, free: 14.42 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008993/0.6732, allocations: 125 kB / 0.6869 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007702/0.674, allocations: 340.1 kB / 0.6873 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001184/0.6752, allocations: 184 kB / 0.6874 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.6752, allocations: 1.5 kB / 0.6874 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.6752, allocations: 35.22 kB / 0.6875 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 3.015e-06/0.6753, allocations: 1.5 kB / 0.6875 GB, free: 14.01 MB / 0.5261 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.03675/0.712, allocations: 3.188 MB / 0.6906 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.7121, allocations: 52.44 kB / 0.6906 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.998e-05/0.7122, allocations: 101.6 kB / 0.6907 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.157e-05/0.7123, allocations: 27.2 kB / 0.6908 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.035e-05/0.7123, allocations: 95.19 kB / 0.6909 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.451e-05/0.7124, allocations: 39.89 kB / 0.6909 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.345e-05/0.7125, allocations: 4 kB / 0.6909 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.515e-05/0.7126, allocations: 318.3 kB / 0.6912 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001259/0.7138, allocations: 218.6 kB / 0.6914 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001274/0.7151, allocations: 212.2 kB / 0.6916 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001303/0.7165, allocations: 217.8 kB / 0.6918 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.7165, allocations: 7.953 kB / 0.6918 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.002989/0.7195, allocations: 0.5225 MB / 0.6923 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/0.7195, allocations: 9.406 kB / 0.6923 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.7195, allocations: 1.094 kB / 0.6923 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.7196, allocations: 0.8438 kB / 0.6924 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001626/0.7212, allocations: 118.4 kB / 0.6925 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.7212, allocations: 1.125 kB / 0.6925 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001264/0.7225, allocations: 57.53 kB / 0.6925 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/0.7226, allocations: 28.28 kB / 0.6925 GB, free: 12.18 MB / 0.5261 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.0002026/0.7228, allocations: 113 kB / 0.6927 GB, free: 12.06 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.99e-05/0.723, allocations: 11.97 kB / 0.6927 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.979e-05/0.723, allocations: 10.25 kB / 0.6927 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.7231, allocations: 5.125 kB / 0.6927 GB, free: 12.03 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.7231, allocations: 1.156 kB / 0.6927 GB, free: 12.03 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.7231, allocations: 4.641 kB / 0.6927 GB, free: 12.03 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00383/0.7269, allocations: 1.109 MB / 0.6938 GB, free: 11.33 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.179e-06/0.727, allocations: 96 / 0.6938 GB, free: 11.33 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001651/0.7286, allocations: 134.3 kB / 0.6939 GB, free: 11.31 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.785e-06/0.7286, allocations: 0 / 0.6939 GB, free: 11.31 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001036/0.7288, allocations: 23.95 kB / 0.6939 GB, free: 11.31 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.7288, allocations: 0.7969 kB / 0.6939 GB, free: 11.31 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.7288, allocations: 0 / 0.6939 GB, free: 11.31 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004274/0.7331, allocations: 0.8685 MB / 0.6948 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002148/0.7333, allocations: 117 kB / 0.6949 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.915e-05/0.7334, allocations: 0 / 0.6949 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00137/0.7348, allocations: 66.52 kB / 0.6949 GB, free: 10.69 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001904/0.735, allocations: 26.11 kB / 0.695 GB, free: 10.67 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.777e-05/0.7351, allocations: 26.22 kB / 0.695 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.427e-05/0.7352, allocations: 78.44 kB / 0.6951 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.9e-07/0.7352, allocations: 1.062 kB / 0.6951 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0006147/0.7358, allocations: 54.33 kB / 0.6951 GB, free: 10.57 MB / 0.5261 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.004552/0.7404, allocations: 1.423 MB / 0.6965 GB, free: 9.535 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002668/0.7431, allocations: 474.7 kB / 0.697 GB, free: 9.32 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.74e-06/0.7431, allocations: 0 / 0.697 GB, free: 9.32 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001337/0.7445, allocations: 243.6 kB / 0.6972 GB, free: 9.211 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003253/0.7448, allocations: 18.89 kB / 0.6972 GB, free: 9.199 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01283/0.7577, allocations: 1.862 MB / 0.699 GB, free: 8.062 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001561/0.7579, allocations: 0.697 MB / 0.6997 GB, free: 7.355 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001193/0.7591, allocations: 92.62 kB / 0.6998 GB, free: 7.297 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004679/0.7596, allocations: 67.34 kB / 0.6999 GB, free: 7.242 MB / 0.5261 GB Notification: Performance of SimCode: time 1.142e-06/0.7596, allocations: 0 / 0.6999 GB, free: 7.242 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03043/0.79, allocations: 4.14 MB / 0.7039 GB, free: 5.113 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000232/0.7903, allocations: 202.5 kB / 0.7041 GB, free: 4.879 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.408/3.198, allocations: 0 / 0.7041 GB, free: 4.879 MB / 0.5261 GB