Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.01038/0.01038, allocations: 89.69 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001287/0.001287, allocations: 175.6 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.115/2.115, allocations: 205.5 MB / 222.2 MB, free: 13.58 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.407/2.407, allocations: 252.8 MB / 0.511 GB, free: 8.297 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000481/0.0004811, allocations: 14.66 kB / 0.6243 GB, free: 21.18 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2291/0.2297, allocations: 106.2 MB / 0.7281 GB, free: 8.062 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.00127/0.231, allocations: 0.5116 MB / 0.7286 GB, free: 7.547 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.002711/0.2338, allocations: 1.449 MB / 0.73 GB, free: 6.082 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.039e-05/0.2339, allocations: 4 kB / 0.73 GB, free: 6.078 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.814e-05/0.2339, allocations: 7.922 kB / 0.73 GB, free: 6.07 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 5.081e-05/0.234, allocations: 0 / 0.73 GB, free: 6.07 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006543/0.2346, allocations: 103.7 kB / 0.7301 GB, free: 5.969 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 9.8e-05/0.2348, allocations: 31.95 kB / 0.7301 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 6.336e-05/0.2348, allocations: 11.98 kB / 0.7301 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 9.247e-05/0.2349, allocations: 23.92 kB / 0.7302 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 8.134e-05/0.235, allocations: 31.89 kB / 0.7302 GB, free: 5.871 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.291e-05/0.2351, allocations: 7.938 kB / 0.7302 GB, free: 5.863 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007399/0.2358, allocations: 311.5 kB / 0.7305 GB, free: 5.559 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 3.365e-05/0.2359, allocations: 7.938 kB / 0.7305 GB, free: 5.551 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 4.099e-05/0.2359, allocations: 41.62 kB / 0.7305 GB, free: 5.504 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0004081/0.2363, allocations: 151.8 kB / 0.7307 GB, free: 5.355 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.2364, allocations: 0 / 0.7307 GB, free: 5.355 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.094e-06/0.2364, allocations: 0 / 0.7307 GB, free: 5.355 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.2364, allocations: 4 kB / 0.7307 GB, free: 5.352 MB / 0.5573 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.0009573/0.2374, allocations: 391.5 kB / 0.7311 GB, free: 4.922 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.471e-05/0.2374, allocations: 8.031 kB / 0.7311 GB, free: 4.914 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.062e-05/0.2375, allocations: 38.56 kB / 0.7311 GB, free: 4.867 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007868/0.2383, allocations: 87.86 kB / 0.7312 GB, free: 4.781 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001758/0.2385, allocations: 167 kB / 0.7314 GB, free: 4.578 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.669e-05/0.2386, allocations: 8 kB / 0.7314 GB, free: 4.57 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.897e-05/0.2386, allocations: 11.91 kB / 0.7314 GB, free: 4.559 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006414/0.2393, allocations: 117.6 kB / 0.7315 GB, free: 4.438 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/0.2393, allocations: 4 kB / 0.7315 GB, free: 4.434 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.239e-05/0.2394, allocations: 0 / 0.7315 GB, free: 4.434 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.2394, allocations: 0 / 0.7315 GB, free: 4.434 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009242/0.2403, allocations: 131.8 kB / 0.7316 GB, free: 4.305 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009427/0.2413, allocations: 328.7 kB / 0.7319 GB, free: 3.934 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00124/0.2426, allocations: 202.3 kB / 0.7321 GB, free: 3.727 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.2426, allocations: 0 / 0.7321 GB, free: 3.727 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.228e-05/0.2427, allocations: 38.5 kB / 0.7322 GB, free: 3.68 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=7): time 1.693e-06/0.2427, allocations: 3.938 kB / 0.7322 GB, free: 3.676 MB / 0.5573 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.03747/0.2802, allocations: 3.176 MB / 0.7353 GB, free: 416 kB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.129e-05/0.2803, allocations: 51.41 kB / 0.7353 GB, free: 352 kB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.2805, allocations: 105.8 kB / 0.7354 GB, free: 236 kB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001003/0.2806, allocations: 25.7 kB / 0.7354 GB, free: 204 kB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 6.151e-05/0.2807, allocations: 95.98 kB / 0.7355 GB, free: 104 kB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001028/0.2808, allocations: 39.45 kB / 0.7356 GB, free: 64 kB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.168e-05/0.2809, allocations: 0 / 0.7356 GB, free: 64 kB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.281, allocations: 318.8 kB / 0.7359 GB, free: 15.74 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00132/0.2823, allocations: 215.8 kB / 0.7361 GB, free: 15.53 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001527/0.2839, allocations: 215.8 kB / 0.7363 GB, free: 15.32 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001333/0.2853, allocations: 224 kB / 0.7365 GB, free: 15.1 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/0.2854, allocations: 3.953 kB / 0.7365 GB, free: 15.1 MB / 0.573 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.003147/0.2885, allocations: 0.5208 MB / 0.737 GB, free: 14.57 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 3.863e-05/0.2886, allocations: 7.938 kB / 0.737 GB, free: 14.56 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.2886, allocations: 0 / 0.737 GB, free: 14.56 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.311e-05/0.2887, allocations: 4 kB / 0.737 GB, free: 14.56 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001756/0.2904, allocations: 127.8 kB / 0.7371 GB, free: 14.43 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.286e-05/0.2905, allocations: 1.016 kB / 0.7371 GB, free: 14.43 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00141/0.2919, allocations: 55.94 kB / 0.7372 GB, free: 14.38 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001213/0.2921, allocations: 23.94 kB / 0.7372 GB, free: 14.36 MB / 0.573 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.0002442/0.2923, allocations: 125.8 kB / 0.7373 GB, free: 14.22 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/0.2925, allocations: 7.953 kB / 0.7373 GB, free: 14.21 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.604e-05/0.2925, allocations: 11.95 kB / 0.7374 GB, free: 14.2 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.2926, allocations: 4 kB / 0.7374 GB, free: 14.2 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.2926, allocations: 0 / 0.7374 GB, free: 14.2 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.2926, allocations: 0 / 0.7374 GB, free: 14.2 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00415/0.2968, allocations: 1.098 MB / 0.7384 GB, free: 12.99 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.787e-06/0.2968, allocations: 4 kB / 0.7384 GB, free: 12.98 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001758/0.2986, allocations: 127.7 kB / 0.7386 GB, free: 12.86 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.496e-06/0.2987, allocations: 0 / 0.7386 GB, free: 12.86 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001044/0.2988, allocations: 19.94 kB / 0.7386 GB, free: 12.84 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.2988, allocations: 0 / 0.7386 GB, free: 12.84 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.2988, allocations: 4 kB / 0.7386 GB, free: 12.84 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004785/0.3036, allocations: 0.866 MB / 0.7394 GB, free: 11.95 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002668/0.3039, allocations: 124.9 kB / 0.7395 GB, free: 11.81 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/0.304, allocations: 0 / 0.7395 GB, free: 11.81 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001408/0.3055, allocations: 60 kB / 0.7396 GB, free: 11.75 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002228/0.3057, allocations: 31.86 kB / 0.7396 GB, free: 11.72 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000233/0.306, allocations: 27.92 kB / 0.7397 GB, free: 11.7 MB / 0.573 GB Notification: Performance of sorting global known variables: time 8.881e-05/0.3061, allocations: 79.28 kB / 0.7397 GB, free: 11.62 MB / 0.573 GB Notification: Performance of sort global known variables: time 6.01e-07/0.3061, allocations: 0 / 0.7397 GB, free: 11.62 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0009029/0.307, allocations: 56 kB / 0.7398 GB, free: 11.56 MB / 0.573 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.005132/0.3122, allocations: 1.423 MB / 0.7412 GB, free: 10.11 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.002792/0.315, allocations: 475.4 kB / 0.7416 GB, free: 9.648 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/0.3151, allocations: 8 kB / 0.7416 GB, free: 9.641 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001624/0.3167, allocations: 243.7 kB / 0.7419 GB, free: 9.402 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003638/0.3172, allocations: 8.656 kB / 0.7419 GB, free: 9.395 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01312/0.3303, allocations: 1.851 MB / 0.7437 GB, free: 7.496 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003247/0.3307, allocations: 0.7004 MB / 0.7444 GB, free: 6.77 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001234/0.3319, allocations: 88.67 kB / 0.7445 GB, free: 6.684 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006183/0.3326, allocations: 63.3 kB / 0.7445 GB, free: 6.621 MB / 0.573 GB Notification: Performance of SimCode: time 1.252e-06/0.3326, allocations: 3.938 kB / 0.7445 GB, free: 6.617 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0289/0.3615, allocations: 4.143 MB / 0.7486 GB, free: 2.562 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003673/0.3619, allocations: 212.7 kB / 0.7488 GB, free: 2.316 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.889/3.251, allocations: 4 kB / 0.7488 GB, free: 2.312 MB / 0.573 GB