Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.0008063/0.0008064, allocations: 102.9 kB / 15.71 MB, free: 460 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.001226/0.001226, allocations: 170.7 kB / 16.58 MB, free: 6.402 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.577/1.577, allocations: 223.3 MB / 240.6 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.103/1.103, allocations: 143.4 MB / 435.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00035/0.0003501, allocations: 16 kB / 0.5166 GB, free: 11.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.193/0.1934, allocations: 83.42 MB / 0.5981 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.0009977/0.1944, allocations: 496 kB / 0.5986 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001801/0.1962, allocations: 1.412 MB / 0.5999 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.726e-05/0.1963, allocations: 0 / 0.5999 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.79e-05/0.1963, allocations: 3.938 kB / 0.5999 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.756e-05/0.1963, allocations: 0 / 0.5999 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004448/0.1968, allocations: 119.7 kB / 0.6 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.736e-05/0.1969, allocations: 35.91 kB / 0.6001 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.483e-05/0.1969, allocations: 4 kB / 0.6001 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.761e-05/0.197, allocations: 31.91 kB / 0.6001 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.713e-05/0.1971, allocations: 23.91 kB / 0.6001 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.1971, allocations: 4 kB / 0.6001 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004221/0.1975, allocations: 311.4 kB / 0.6004 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.815e-05/0.1976, allocations: 11.92 kB / 0.6005 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.455e-05/0.1976, allocations: 33.7 kB / 0.6005 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002265/0.1978, allocations: 151.8 kB / 0.6006 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1978, allocations: 3.938 kB / 0.6006 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.764e-06/0.1979, allocations: 0 / 0.6006 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.618e-06/0.1979, allocations: 0 / 0.6006 GB, free: 5.145 MB / 0.4981 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.0006001/0.1985, allocations: 395.4 kB / 0.601 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.1985, allocations: 12.03 kB / 0.601 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004183/0.1989, allocations: 83.81 kB / 0.6011 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.1991, allocations: 174.9 kB / 0.6013 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.762e-05/0.1991, allocations: 8 kB / 0.6013 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.689e-05/0.1992, allocations: 4 kB / 0.6013 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003611/0.1995, allocations: 117.6 kB / 0.6014 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.1996, allocations: 0 / 0.6014 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.018e-05/0.1996, allocations: 7.984 kB / 0.6014 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.1996, allocations: 0 / 0.6014 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004378/0.2, allocations: 123.9 kB / 0.6015 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005624/0.2006, allocations: 344.6 kB / 0.6018 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005724/0.2012, allocations: 178.5 kB / 0.602 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002086/0.2014, allocations: 68.8 kB / 0.6021 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.629e-05/0.2014, allocations: 0 / 0.6021 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.2015, allocations: 34.56 kB / 0.6021 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 2.305e-06/0.2015, allocations: 0 / 0.6021 GB, free: 3.461 MB / 0.4981 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.01593/0.2174, allocations: 3.193 MB / 0.6052 GB, free: 176 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.392e-05/0.2175, allocations: 51.41 kB / 0.6053 GB, free: 112 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4273/0.6448, allocations: 105.3 kB / 0.6054 GB, free: 41.39 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001116/0.645, allocations: 28.36 kB / 0.6054 GB, free: 41.36 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.214e-05/0.6451, allocations: 89.45 kB / 0.6055 GB, free: 41.28 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.07e-05/0.6452, allocations: 39.61 kB / 0.6055 GB, free: 41.27 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.553e-05/0.6452, allocations: 0 / 0.6055 GB, free: 41.27 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.385e-05/0.6453, allocations: 316.9 kB / 0.6058 GB, free: 40.96 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006957/0.646, allocations: 219.2 kB / 0.606 GB, free: 40.96 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005903/0.6466, allocations: 219 kB / 0.6063 GB, free: 40.96 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005788/0.6472, allocations: 214.6 kB / 0.6065 GB, free: 40.96 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.6472, allocations: 0 / 0.6065 GB, free: 40.96 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001309/0.6485, allocations: 0.5215 MB / 0.607 GB, free: 40.93 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/0.6486, allocations: 5.969 kB / 0.607 GB, free: 40.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.6486, allocations: 3.938 kB / 0.607 GB, free: 40.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.6486, allocations: 3.375 kB / 0.607 GB, free: 40.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007167/0.6493, allocations: 119.1 kB / 0.6071 GB, free: 40.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.6493, allocations: 0.9375 kB / 0.6071 GB, free: 40.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004985/0.6498, allocations: 56 kB / 0.6071 GB, free: 40.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.291e-05/0.6499, allocations: 29.08 kB / 0.6072 GB, free: 40.93 MB / 0.4981 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.0001333/0.65, allocations: 117.5 kB / 0.6073 GB, free: 40.82 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.503e-05/0.6501, allocations: 7.906 kB / 0.6073 GB, free: 40.81 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.007e-05/0.6502, allocations: 13.72 kB / 0.6073 GB, free: 40.81 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.6502, allocations: 3 kB / 0.6073 GB, free: 40.81 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.6502, allocations: 2.266 kB / 0.6073 GB, free: 40.81 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.6502, allocations: 0 / 0.6073 GB, free: 40.81 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001859/0.6521, allocations: 1.098 MB / 0.6084 GB, free: 40.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.6521, allocations: 0.5625 kB / 0.6084 GB, free: 40.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006829/0.6528, allocations: 122.7 kB / 0.6085 GB, free: 40.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.6528, allocations: 0 / 0.6085 GB, free: 40.27 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.117e-05/0.6529, allocations: 26.78 kB / 0.6085 GB, free: 40.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.6529, allocations: 2.781 kB / 0.6085 GB, free: 40.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.6529, allocations: 4.625 kB / 0.6085 GB, free: 40.26 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001968/0.6548, allocations: 0.8645 MB / 0.6094 GB, free: 40.11 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001246/0.655, allocations: 118.2 kB / 0.6095 GB, free: 40.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.556e-05/0.6551, allocations: 6.781 kB / 0.6095 GB, free: 40.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005635/0.6556, allocations: 58.33 kB / 0.6096 GB, free: 40 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.786e-05/0.6557, allocations: 33.17 kB / 0.6096 GB, free: 40 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.448e-05/0.6558, allocations: 29.47 kB / 0.6096 GB, free: 40 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.063e-05/0.6558, allocations: 78.22 kB / 0.6097 GB, free: 39.93 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.6558, allocations: 0 / 0.6097 GB, free: 39.93 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003716/0.6562, allocations: 55.69 kB / 0.6097 GB, free: 39.93 MB / 0.4981 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.0002172/0.6564, allocations: 119.2 kB / 0.6099 GB, free: 39.84 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001246/0.6577, allocations: 467.9 kB / 0.6103 GB, free: 39.83 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.6577, allocations: 6.469 kB / 0.6103 GB, free: 39.82 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006075/0.6583, allocations: 246 kB / 0.6105 GB, free: 39.82 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003494/0.6587, allocations: 13.98 kB / 0.6106 GB, free: 39.81 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003542/0.6622, allocations: 0.8951 MB / 0.6114 GB, free: 39.57 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001418/0.6624, allocations: 0.6946 MB / 0.6121 GB, free: 38.87 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003392/0.6627, allocations: 80.19 kB / 0.6122 GB, free: 38.86 MB / 0.4981 GB Notification: Performance of SimCode: time 8.82e-07/0.6627, allocations: 0 / 0.6122 GB, free: 38.86 MB / 0.4981 GB Notification: Performance of Templates: time 0.005523/0.6682, allocations: 3.796 MB / 0.6159 GB, free: 38.7 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.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 OMCppBuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_CheckCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_CheckCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_CheckCalcHelperMain.o] Error 1