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.01573/0.01573, allocations: 107.8 kB / 15.05 MB, free: 5.93 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.001781/0.001781, allocations: 186.4 kB / 15.94 MB, free: 5.895 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.05/2.05, allocations: 194.6 MB / 211.2 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.236/2.236, allocations: 236.2 MB / 492.6 MB, free: 11.33 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004901/0.00049, allocations: 16 kB / 0.587 GB, free: 2.051 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7663/0.7669, allocations: 98.72 MB / 0.6834 GB, free: 16.79 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.277/1.044, allocations: 126.1 MB / 0.8066 GB, free: 164 kB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003161/1.044, allocations: 83.94 kB / 0.8067 GB, free: 80 kB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.0276/1.072, allocations: 5.434 MB / 0.812 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.763e-06/1.072, allocations: 8 kB / 0.812 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.014e-05/1.072, allocations: 0 / 0.812 GB, free: 10.63 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.0007058/1.073, allocations: 411 kB / 0.8124 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/1.073, allocations: 12.02 kB / 0.8124 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.349e-05/1.073, allocations: 42.5 kB / 0.8124 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006207/1.073, allocations: 67.94 kB / 0.8125 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/1.074, allocations: 171 kB / 0.8127 GB, free: 9.844 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.192e-05/1.074, allocations: 8 kB / 0.8127 GB, free: 9.836 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.476e-05/1.074, allocations: 11.91 kB / 0.8127 GB, free: 9.824 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000613/1.074, allocations: 113.6 kB / 0.8128 GB, free: 9.707 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/1.074, allocations: 0 / 0.8128 GB, free: 9.707 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.135e-05/1.074, allocations: 8 kB / 0.8128 GB, free: 9.699 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/1.074, allocations: 3.984 kB / 0.8128 GB, free: 9.695 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009465/1.075, allocations: 123.8 kB / 0.8129 GB, free: 9.574 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007882/1.076, allocations: 336.6 kB / 0.8132 GB, free: 9.195 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001207/1.077, allocations: 186.4 kB / 0.8134 GB, free: 9.004 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/1.077, allocations: 4 kB / 0.8134 GB, free: 9 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/1.077, allocations: 34.52 kB / 0.8135 GB, free: 8.957 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.723e-06/1.077, allocations: 7.938 kB / 0.8135 GB, free: 8.949 MB / 0.6355 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.03785/1.115, allocations: 3.174 MB / 0.8166 GB, free: 5.68 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.738e-05/1.115, allocations: 51.41 kB / 0.8166 GB, free: 5.617 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.661e-05/1.116, allocations: 93 kB / 0.8167 GB, free: 5.52 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.729e-05/1.116, allocations: 29.7 kB / 0.8167 GB, free: 5.484 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.924e-05/1.116, allocations: 95.97 kB / 0.8168 GB, free: 5.387 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/1.116, allocations: 31.47 kB / 0.8168 GB, free: 5.355 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.098e-05/1.116, allocations: 0 / 0.8168 GB, free: 5.355 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001247/1.116, allocations: 326.8 kB / 0.8172 GB, free: 5.027 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001293/1.117, allocations: 219.9 kB / 0.8174 GB, free: 4.812 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001283/1.119, allocations: 219.8 kB / 0.8176 GB, free: 4.598 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001445/1.12, allocations: 215.8 kB / 0.8178 GB, free: 4.387 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/1.12, allocations: 0 / 0.8178 GB, free: 4.387 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.003159/1.123, allocations: 0.5169 MB / 0.8183 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.055e-05/1.123, allocations: 8 kB / 0.8183 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/1.123, allocations: 3.938 kB / 0.8183 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/1.123, allocations: 0 / 0.8183 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001664/1.125, allocations: 123.8 kB / 0.8184 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/1.125, allocations: 3.938 kB / 0.8184 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00131/1.127, allocations: 59.94 kB / 0.8185 GB, free: 3.668 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.601e-05/1.127, allocations: 19.94 kB / 0.8185 GB, free: 3.648 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.0002433/1.127, allocations: 117.9 kB / 0.8186 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/1.127, allocations: 11.89 kB / 0.8186 GB, free: 3.512 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.789e-05/1.127, allocations: 15.95 kB / 0.8186 GB, free: 3.488 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/1.127, allocations: 0 / 0.8186 GB, free: 3.488 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/1.127, allocations: 4 kB / 0.8186 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/1.127, allocations: 0 / 0.8186 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005486/1.133, allocations: 1.101 MB / 0.8197 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.688e-06/1.133, allocations: 0 / 0.8197 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002308/1.135, allocations: 119.8 kB / 0.8198 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.565e-05/1.135, allocations: 4 kB / 0.8198 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001778/1.135, allocations: 23.94 kB / 0.8199 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/1.135, allocations: 0 / 0.8199 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/1.135, allocations: 0 / 0.8199 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006741/1.142, allocations: 0.8855 MB / 0.8207 GB, free: 1.23 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003696/1.143, allocations: 117 kB / 0.8208 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001475/1.143, allocations: 4 kB / 0.8208 GB, free: 1.094 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001919/1.145, allocations: 56 kB / 0.8209 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002482/1.145, allocations: 39.86 kB / 0.8209 GB, free: 1 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001484/1.145, allocations: 27.92 kB / 0.821 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.524e-05/1.145, allocations: 79.45 kB / 0.821 GB, free: 0.8945 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.61e-07/1.145, allocations: 4 kB / 0.821 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0009444/1.146, allocations: 59.94 kB / 0.8211 GB, free: 0.832 MB / 0.6355 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.007671/1.154, allocations: 1.419 MB / 0.8225 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003783/1.158, allocations: 480 kB / 0.8229 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 9.117e-06/1.158, allocations: 0 / 0.8229 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.002122/1.16, allocations: 247.7 kB / 0.8232 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004728/1.16, allocations: 14.09 kB / 0.8232 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01856/1.179, allocations: 1.855 MB / 0.825 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004643/1.18, allocations: 0.6926 MB / 0.8257 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001731/1.181, allocations: 96.61 kB / 0.8258 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000667/1.182, allocations: 71.22 kB / 0.8258 GB, free: 11.87 MB / 0.6511 GB Notification: Performance of SimCode: time 4.128e-06/1.182, allocations: 0 / 0.8258 GB, free: 11.87 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02836/1.21, allocations: 4.137 MB / 0.8299 GB, free: 7.844 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003581/1.211, allocations: 206.3 kB / 0.8301 GB, free: 7.602 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.749/3.96, allocations: 3.516 kB / 0.8301 GB, free: 7.602 MB / 0.6511 GB