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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.33/4.33, allocations: 433.2 MB / 440.7 MB, free: 4.566 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.15e-05/3.155e-05, allocations: 7.031 kB / 0.5325 GB, free: 12.73 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.253/0.2531, allocations: 98.73 MB / 0.6289 GB, free: 9.09 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2982/0.5513, allocations: 124.6 MB / 0.7506 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003763/0.5518, allocations: 79.95 kB / 0.7506 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03032/0.5821, allocations: 4.023 MB / 0.7546 GB, free: 8.23 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.134e-06/0.5822, allocations: 4 kB / 0.7546 GB, free: 8.227 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.628e-06/0.5822, allocations: 0 / 0.7546 GB, free: 8.227 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.0007099/0.5829, allocations: 370.4 kB / 0.7549 GB, free: 7.82 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.284e-05/0.583, allocations: 8.031 kB / 0.7549 GB, free: 7.812 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009226/0.584, allocations: 71.88 kB / 0.755 GB, free: 7.742 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001568/0.5841, allocations: 159.1 kB / 0.7552 GB, free: 7.547 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.689e-05/0.5842, allocations: 0 / 0.7552 GB, free: 7.547 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.327e-05/0.5842, allocations: 4 kB / 0.7552 GB, free: 7.543 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001645/0.5844, allocations: 19.98 kB / 0.7552 GB, free: 7.523 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.5846, allocations: 49.67 kB / 0.7552 GB, free: 7.469 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.5847, allocations: 0 / 0.7552 GB, free: 7.469 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.31e-05/0.5847, allocations: 0 / 0.7552 GB, free: 7.469 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.849e-06/0.5847, allocations: 4 kB / 0.7552 GB, free: 7.465 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002922/0.585, allocations: 146.2 kB / 0.7554 GB, free: 7.285 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004714/0.5855, allocations: 54.5 kB / 0.7554 GB, free: 7.223 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.612e-05/0.5856, allocations: 20.92 kB / 0.7554 GB, free: 7.199 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 6.414e-05/0.5857, allocations: 11.98 kB / 0.7555 GB, free: 7.188 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.101e-05/0.5858, allocations: 36.12 kB / 0.7555 GB, free: 7.145 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 2.695e-06/0.5858, allocations: 0 / 0.7555 GB, free: 7.145 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5): time 0.002883/0.5887, allocations: 426.2 kB / 0.7559 GB, free: 6.676 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.07e-05/0.5888, allocations: 55.41 kB / 0.756 GB, free: 6.609 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.5889, allocations: 89 kB / 0.756 GB, free: 6.516 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.598e-05/0.589, allocations: 25.7 kB / 0.7561 GB, free: 6.484 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.621e-05/0.589, allocations: 80.14 kB / 0.7561 GB, free: 6.402 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.627e-05/0.5891, allocations: 19.7 kB / 0.7562 GB, free: 6.383 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.54e-05/0.5891, allocations: 0 / 0.7562 GB, free: 6.383 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000162/0.5893, allocations: 326.9 kB / 0.7565 GB, free: 6.055 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.32e-05/0.5894, allocations: 12 kB / 0.7565 GB, free: 6.043 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.946e-05/0.5895, allocations: 15.94 kB / 0.7565 GB, free: 6.027 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007118/0.5902, allocations: 64.11 kB / 0.7566 GB, free: 5.965 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.5903, allocations: 4 kB / 0.7566 GB, free: 5.961 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0008941/0.5912, allocations: 117.5 kB / 0.7567 GB, free: 5.84 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.785e-05/0.5912, allocations: 4 kB / 0.7567 GB, free: 5.836 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.5912, allocations: 0 / 0.7567 GB, free: 5.836 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/0.5913, allocations: 0 / 0.7567 GB, free: 5.836 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004033/0.5917, allocations: 31.97 kB / 0.7567 GB, free: 5.805 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.5917, allocations: 0 / 0.7567 GB, free: 5.805 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002967/0.592, allocations: 15.98 kB / 0.7567 GB, free: 5.789 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.612e-05/0.5921, allocations: 4 kB / 0.7567 GB, free: 5.785 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 () * 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.0001298/0.5922, allocations: 108.9 kB / 0.7568 GB, free: 5.672 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008487/0.5931, allocations: 113.5 kB / 0.7569 GB, free: 5.555 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.689e-05/0.5931, allocations: 0 / 0.7569 GB, free: 5.555 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007159/0.5938, allocations: 141.7 kB / 0.7571 GB, free: 5.41 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.5939, allocations: 4 kB / 0.7571 GB, free: 5.406 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.5939, allocations: 0 / 0.7571 GB, free: 5.406 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.5939, allocations: 0 / 0.7571 GB, free: 5.406 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001775/0.5941, allocations: 146.2 kB / 0.7572 GB, free: 5.227 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.5941, allocations: 0 / 0.7572 GB, free: 5.227 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002952/0.5944, allocations: 23.98 kB / 0.7572 GB, free: 5.203 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.5944, allocations: 0 / 0.7572 GB, free: 5.203 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.943e-05/0.5945, allocations: 7.984 kB / 0.7572 GB, free: 5.195 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.5945, allocations: 0 / 0.7572 GB, free: 5.195 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.5945, allocations: 4 kB / 0.7572 GB, free: 5.191 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007307/0.5952, allocations: 169.3 kB / 0.7574 GB, free: 5.008 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.796e-05/0.5953, allocations: 97.05 kB / 0.7575 GB, free: 4.895 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.607e-05/0.5954, allocations: 0 / 0.7575 GB, free: 4.895 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000207/0.5956, allocations: 15.98 kB / 0.7575 GB, free: 4.879 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.348e-05/0.5957, allocations: 3.984 kB / 0.7575 GB, free: 4.875 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/0.5957, allocations: 4 kB / 0.7575 GB, free: 4.871 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.82e-05/0.5957, allocations: 79.34 kB / 0.7576 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.61e-07/0.5957, allocations: 4 kB / 0.7576 GB, free: 4.789 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003715/0.5961, allocations: 31.94 kB / 0.7576 GB, free: 4.758 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 () * 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.001211/0.5973, allocations: 0.7503 MB / 0.7584 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001919/0.5976, allocations: 43.86 kB / 0.7584 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.5976, allocations: 0 / 0.7584 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.43e-05/0.5977, allocations: 23.94 kB / 0.7584 GB, free: 3.91 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001418/0.5978, allocations: 0 / 0.7584 GB, free: 3.91 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009144/0.5988, allocations: 175.5 kB / 0.7586 GB, free: 3.703 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002524/0.599, allocations: 0.6807 MB / 0.7593 GB, free: 2.996 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000203/0.5993, allocations: 23.98 kB / 0.7593 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.751e-05/0.5993, allocations: 15.44 kB / 0.7593 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of SimCode: time 1.112e-06/0.5994, allocations: 0 / 0.7593 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04211/0.6415, allocations: 1.465 MB / 0.7607 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003082/0.6419, allocations: 164.3 kB / 0.7609 GB, free: 1.309 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.475/3.117, allocations: 0 / 0.7609 GB, free: 1.309 MB / 0.6355 GB