Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp|der_y|der_y_comp|der_err|err",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp|der_y|der_y_comp|der_err|err",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009516/0.0009516, allocations: 100.5 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.001268/0.001268, allocations: 177.2 kB / 16.58 MB, free: 6.879 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.388/1.388, allocations: 223.2 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.714/2.714, allocations: 436.7 MB / 0.7113 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000379/0.0003791, allocations: 12.22 kB / 0.8717 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9286/0.9289, allocations: 153.7 MB / 1.022 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001432/0.9305, allocations: 0.4983 MB / 1.022 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002251/0.9327, allocations: 1.401 MB / 1.024 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.39e-05/0.9328, allocations: 0 / 1.024 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.721e-05/0.9329, allocations: 3.938 kB / 1.024 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.913e-05/0.9329, allocations: 0 / 1.024 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005196/0.9334, allocations: 119.6 kB / 1.024 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.089e-05/0.9335, allocations: 39.91 kB / 1.024 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.566e-05/0.9336, allocations: 7.984 kB / 1.024 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.696e-05/0.9337, allocations: 27.91 kB / 1.024 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.272e-05/0.9338, allocations: 31.89 kB / 1.024 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/0.9338, allocations: 8 kB / 1.024 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004527/0.9343, allocations: 311.4 kB / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.084e-05/0.9343, allocations: 11.92 kB / 1.024 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.322e-05/0.9344, allocations: 33.7 kB / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000239/0.9346, allocations: 139.8 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.9346, allocations: 0 / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.314e-06/0.9346, allocations: 0 / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.9346, allocations: 0 / 1.024 GB, free: 14.48 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006509/0.9353, allocations: 401.2 kB / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.9353, allocations: 11.98 kB / 1.025 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004378/0.9358, allocations: 83.81 kB / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.9359, allocations: 171 kB / 1.025 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.802e-05/0.936, allocations: 4 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.963e-05/0.936, allocations: 8 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003648/0.9364, allocations: 125.5 kB / 1.025 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.9364, allocations: 3.938 kB / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.053e-05/0.9364, allocations: 12 kB / 1.025 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.9364, allocations: 0 / 1.025 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004347/0.9369, allocations: 118.8 kB / 1.025 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006374/0.9375, allocations: 348.5 kB / 1.026 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005894/0.9381, allocations: 182.5 kB / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002117/0.9384, allocations: 68.8 kB / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.9384, allocations: 7.938 kB / 1.026 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.9384, allocations: 34.56 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.9384, allocations: 0 / 1.026 GB, free: 12.77 MB / 0.7794 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.01594/0.9544, allocations: 3.184 MB / 1.029 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.796e-05/0.9545, allocations: 63.34 kB / 1.029 GB, free: 9.418 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.461e-05/0.9546, allocations: 101.8 kB / 1.029 GB, free: 9.309 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.486e-05/0.9546, allocations: 25.7 kB / 1.029 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.861e-05/0.9547, allocations: 96.03 kB / 1.029 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.819e-05/0.9547, allocations: 39.39 kB / 1.029 GB, free: 9.141 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.556e-05/0.9548, allocations: 0 / 1.029 GB, free: 9.141 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.9549, allocations: 322.9 kB / 1.03 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000609/0.9555, allocations: 215.7 kB / 1.03 GB, free: 8.605 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005834/0.9561, allocations: 219.8 kB / 1.03 GB, free: 8.391 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006246/0.9568, allocations: 219.8 kB / 1.03 GB, free: 8.176 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.9568, allocations: 3.938 kB / 1.03 GB, free: 8.172 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001399/0.9582, allocations: 0.513 MB / 1.031 GB, free: 7.652 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/0.9582, allocations: 8 kB / 1.031 GB, free: 7.645 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.9582, allocations: 0 / 1.031 GB, free: 7.645 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.9583, allocations: 4 kB / 1.031 GB, free: 7.641 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007317/0.959, allocations: 119.8 kB / 1.031 GB, free: 7.523 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.959, allocations: 0 / 1.031 GB, free: 7.523 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005124/0.9595, allocations: 63.89 kB / 1.031 GB, free: 7.461 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.202e-05/0.9596, allocations: 19.94 kB / 1.031 GB, free: 7.441 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 (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.000172/0.9598, allocations: 121.8 kB / 1.031 GB, free: 7.312 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.269e-05/0.9598, allocations: 7.906 kB / 1.031 GB, free: 7.305 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.781e-05/0.9599, allocations: 11.95 kB / 1.031 GB, free: 7.293 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.9599, allocations: 0 / 1.031 GB, free: 7.293 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.9599, allocations: 4 kB / 1.031 GB, free: 7.289 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.9599, allocations: 0 / 1.031 GB, free: 7.289 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002227/0.9622, allocations: 1.097 MB / 1.032 GB, free: 6.078 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.9622, allocations: 4 kB / 1.032 GB, free: 6.074 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007082/0.9629, allocations: 127.7 kB / 1.032 GB, free: 5.949 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.798e-06/0.9629, allocations: 0 / 1.032 GB, free: 5.949 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.393e-05/0.963, allocations: 27.89 kB / 1.032 GB, free: 5.922 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.963, allocations: 0 / 1.032 GB, free: 5.922 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.963, allocations: 0 / 1.032 GB, free: 5.922 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002173/0.9652, allocations: 0.8698 MB / 1.033 GB, free: 5.035 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001414/0.9653, allocations: 117 kB / 1.033 GB, free: 4.902 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.124e-05/0.9654, allocations: 0 / 1.033 GB, free: 4.902 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005804/0.966, allocations: 59.95 kB / 1.033 GB, free: 4.844 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.803e-05/0.9661, allocations: 35.86 kB / 1.033 GB, free: 4.809 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.488e-05/0.9661, allocations: 27.92 kB / 1.033 GB, free: 4.781 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.464e-05/0.9662, allocations: 75.28 kB / 1.033 GB, free: 4.707 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9662, allocations: 8 kB / 1.033 GB, free: 4.699 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003937/0.9666, allocations: 52 kB / 1.033 GB, free: 4.648 MB / 0.7794 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.0002612/0.9669, allocations: 115.2 kB / 1.034 GB, free: 4.527 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001367/0.9682, allocations: 474.1 kB / 1.034 GB, free: 4.066 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.9682, allocations: 0 / 1.034 GB, free: 4.066 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0006593/0.9689, allocations: 251.7 kB / 1.034 GB, free: 3.82 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003678/0.9693, allocations: 8 kB / 1.034 GB, free: 3.812 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003773/0.9731, allocations: 0.8908 MB / 1.035 GB, free: 2.887 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.9734, allocations: 0.6926 MB / 1.036 GB, free: 2.168 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003659/0.9738, allocations: 83.17 kB / 1.036 GB, free: 2.086 MB / 0.7794 GB Notification: Performance of SimCode: time 1.553e-06/0.9738, allocations: 0 / 1.036 GB, free: 2.086 MB / 0.7794 GB Notification: Performance of Templates: time 0.006362/0.9801, allocations: 3.781 MB / 1.04 GB, free: 14.3 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.InverseXDerivative_2_CheckCalcHelperMain.o OMCppBuildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_CheckCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_CheckCalcHelperMain.o] Error 1