Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y_comp|y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y_comp|y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 99.67 kB / 15.71 MB, free: 452 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 175.1 kB / 16.58 MB, free: 6.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.53/1.53, allocations: 223.2 MB / 240.6 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.688/2.688, allocations: 436.7 MB / 0.7113 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004028/0.0004028, allocations: 15.94 kB / 0.8717 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8674/0.8678, allocations: 153.6 MB / 1.022 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.0009537/0.8688, allocations: 337.3 kB / 1.022 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002226/0.8711, allocations: 1.381 MB / 1.023 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.389e-05/0.8712, allocations: 0 / 1.023 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.503e-05/0.8712, allocations: 0 / 1.023 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.53e-05/0.8712, allocations: 0 / 1.023 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000681/0.8719, allocations: 119.6 kB / 1.024 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.135e-05/0.872, allocations: 23.91 kB / 1.024 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.477e-05/0.8721, allocations: 4 kB / 1.024 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.469e-05/0.8721, allocations: 15.98 kB / 1.024 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.8722, allocations: 19.97 kB / 1.024 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.8723, allocations: 7.938 kB / 1.024 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00054/0.8728, allocations: 307.4 kB / 1.024 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.695e-05/0.8728, allocations: 3.984 kB / 1.024 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.988e-05/0.8729, allocations: 29.7 kB / 1.024 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002284/0.8731, allocations: 135.8 kB / 1.024 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/0.8731, allocations: 4 kB / 1.024 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.727e-06/0.8731, allocations: 3.984 kB / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.8732, allocations: 0 / 1.024 GB, free: 14.7 MB / 0.7794 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.0005556/0.8737, allocations: 355 kB / 1.024 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.8738, allocations: 15.98 kB / 1.024 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004354/0.8742, allocations: 79.91 kB / 1.024 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/0.8744, allocations: 163.1 kB / 1.025 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.698e-05/0.8744, allocations: 4 kB / 1.025 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.721e-05/0.8744, allocations: 0 / 1.025 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002673/0.8747, allocations: 93.52 kB / 1.025 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.8747, allocations: 0 / 1.025 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.8747, allocations: 0 / 1.025 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.8748, allocations: 0 / 1.025 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002728/0.875, allocations: 75.94 kB / 1.025 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002095/0.8753, allocations: 169.6 kB / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005526/0.8758, allocations: 142.5 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001516/0.876, allocations: 52.98 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004761/0.8765, allocations: 177 kB / 1.025 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.438e-05/0.8765, allocations: 34.52 kB / 1.025 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.8765, allocations: 0 / 1.025 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.001311/0.8778, allocations: 434.2 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.647e-05/0.8779, allocations: 59.41 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.628e-05/0.878, allocations: 93.86 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.8781, allocations: 25.7 kB / 1.026 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.579e-05/0.8781, allocations: 80.14 kB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.117e-05/0.8782, allocations: 27.64 kB / 1.026 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.354e-06/0.8782, allocations: 0 / 1.026 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.8784, allocations: 310.8 kB / 1.026 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/0.8785, allocations: 48.03 kB / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001439/0.8787, allocations: 48.02 kB / 1.026 GB, free: 12 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001541/0.8788, allocations: 43.98 kB / 1.026 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.8788, allocations: 0 / 1.026 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003296/0.8792, allocations: 125.6 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.8792, allocations: 13.52 kB / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.8792, allocations: 0 / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.8792, allocations: 0 / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.8794, allocations: 27.97 kB / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.303e-06/0.8794, allocations: 0 / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.581e-05/0.8795, allocations: 23.98 kB / 1.027 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.8795, allocations: 0 / 1.027 GB, free: 11.76 MB / 0.7794 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 (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 9.8e-05/0.8796, allocations: 109.8 kB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.087e-05/0.8796, allocations: 0 / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004526/0.8801, allocations: 153 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.8801, allocations: 4 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.8801, allocations: 0 / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.8801, allocations: 336 / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001588/0.8803, allocations: 169.6 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.8803, allocations: 0 / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001385/0.8804, allocations: 31.97 kB / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.8805, allocations: 3.984 kB / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.8805, allocations: 7.953 kB / 1.027 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.8805, allocations: 0 / 1.027 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.8805, allocations: 0 / 1.027 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005493/0.881, allocations: 213.1 kB / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.878e-05/0.8811, allocations: 85.12 kB / 1.027 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.987e-05/0.8812, allocations: 4.062 kB / 1.027 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.8813, allocations: 28 kB / 1.027 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.303e-05/0.8813, allocations: 0 / 1.027 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.8813, allocations: 7.984 kB / 1.027 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.67e-05/0.8814, allocations: 75.28 kB / 1.027 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8814, allocations: 0 / 1.027 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002409/0.8816, allocations: 31.94 kB / 1.028 GB, free: 10.75 MB / 0.7794 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 () * Number of clocked 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.0002227/0.8818, allocations: 135.3 kB / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003454/0.8822, allocations: 99.8 kB / 1.028 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.8822, allocations: 0 / 1.028 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001462/0.8824, allocations: 51.97 kB / 1.028 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001627/0.8825, allocations: 8.547 kB / 1.028 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006058/0.8831, allocations: 225.4 kB / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002612/0.8834, allocations: 0.6808 MB / 1.029 GB, free: 9.496 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.127e-05/0.8835, allocations: 15.44 kB / 1.029 GB, free: 9.484 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.8835, allocations: 4 kB / 1.029 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of Templates: time 0.003034/0.8865, allocations: 1.121 MB / 1.03 GB, free: 8.359 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheckCalcHelperMain.o OMCppBuildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheckCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheckCalcHelperMain.o] Error 1