Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 96.14 kB / 15.87 MB, free: 16 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.001171/0.001171, allocations: 198.4 kB / 16.79 MB, free: 6.828 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.358/1.358, allocations: 222.9 MB / 240.5 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7242/0.7242, allocations: 132.2 MB / 422.8 MB, free: 2.031 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00112/0.00112, allocations: 62.06 kB / 0.5017 GB, free: 9.238 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1878/0.1889, allocations: 80.21 MB / 0.58 GB, free: 9.262 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002444/0.1914, allocations: 1.333 MB / 0.5813 GB, free: 7.914 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4625/0.654, allocations: 144.7 MB / 0.7226 GB, free: 8.227 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.335e-05/0.654, allocations: 1 kB / 0.7226 GB, free: 8.227 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.472e-05/0.6541, allocations: 5.344 kB / 0.7226 GB, free: 8.223 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.749e-05/0.6542, allocations: 1.75 kB / 0.7226 GB, free: 8.223 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003717/0.6545, allocations: 87.72 kB / 0.7227 GB, free: 8.176 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.866e-05/0.6546, allocations: 31.75 kB / 0.7228 GB, free: 8.164 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.106e-05/0.6547, allocations: 6.859 kB / 0.7228 GB, free: 8.16 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.326e-05/0.6547, allocations: 14.02 kB / 0.7228 GB, free: 8.156 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.458e-05/0.6548, allocations: 16.08 kB / 0.7228 GB, free: 8.148 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.6548, allocations: 2.312 kB / 0.7228 GB, free: 8.148 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002563/0.6551, allocations: 67.34 kB / 0.7229 GB, free: 8.125 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.379e-05/0.6551, allocations: 16.73 kB / 0.7229 GB, free: 8.113 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.1e-05/0.6551, allocations: 11.33 kB / 0.7229 GB, free: 8.109 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001338/0.6553, allocations: 47.28 kB / 0.7229 GB, free: 8.098 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.6553, allocations: 0 / 0.7229 GB, free: 8.098 MB / 0.545 GB Notification: Performance of FrontEnd: time 8.81e-07/0.6553, allocations: 0 / 0.7229 GB, free: 8.098 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.105e-06/0.6553, allocations: 6.219 kB / 0.7229 GB, free: 8.094 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004153/0.6557, allocations: 356 kB / 0.7233 GB, free: 7.723 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.6558, allocations: 13.45 kB / 0.7233 GB, free: 7.719 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001805/0.656, allocations: 12.27 kB / 0.7233 GB, free: 7.719 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.924e-05/0.6561, allocations: 162.5 kB / 0.7235 GB, free: 7.523 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.6561, allocations: 10.61 kB / 0.7235 GB, free: 7.516 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.186e-05/0.6561, allocations: 4.031 kB / 0.7235 GB, free: 7.516 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.6563, allocations: 56.62 kB / 0.7235 GB, free: 7.473 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.6563, allocations: 0 / 0.7235 GB, free: 7.473 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.6563, allocations: 3.062 kB / 0.7235 GB, free: 7.473 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.6563, allocations: 0 / 0.7235 GB, free: 7.473 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.948e-05/0.6564, allocations: 17.78 kB / 0.7235 GB, free: 7.469 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001749/0.6565, allocations: 174.8 kB / 0.7237 GB, free: 7.262 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.182e-05/0.6566, allocations: 51.23 kB / 0.7238 GB, free: 7.227 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.093e-05/0.6567, allocations: 17.3 kB / 0.7238 GB, free: 7.215 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.291e-05/0.6567, allocations: 5.5 kB / 0.7238 GB, free: 7.211 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.6567, allocations: 36.73 kB / 0.7238 GB, free: 7.168 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.6567, allocations: 0 / 0.7238 GB, free: 7.168 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.000732/0.6575, allocations: 369.7 kB / 0.7242 GB, free: 6.867 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.38e-05/0.6575, allocations: 53 kB / 0.7242 GB, free: 6.805 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.469e-05/0.6576, allocations: 100.2 kB / 0.7243 GB, free: 6.699 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.6576, allocations: 26.83 kB / 0.7243 GB, free: 6.668 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.853e-05/0.6576, allocations: 80.38 kB / 0.7244 GB, free: 6.586 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.931e-05/0.6577, allocations: 48.31 kB / 0.7245 GB, free: 6.547 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.255e-05/0.6577, allocations: 27.98 kB / 0.7245 GB, free: 6.523 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.6579, allocations: 317.4 kB / 0.7248 GB, free: 6.207 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.972e-05/0.6579, allocations: 24.8 kB / 0.7248 GB, free: 6.195 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.157e-05/0.658, allocations: 37.33 kB / 0.7249 GB, free: 6.172 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.969e-05/0.6581, allocations: 60.75 kB / 0.7249 GB, free: 6.137 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.6581, allocations: 3.938 kB / 0.7249 GB, free: 6.133 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001339/0.6582, allocations: 91.77 kB / 0.725 GB, free: 6.082 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.6582, allocations: 6.953 kB / 0.725 GB, free: 6.082 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.6582, allocations: 0 / 0.725 GB, free: 6.082 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.6582, allocations: 1.125 kB / 0.725 GB, free: 6.082 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.6584, allocations: 25.03 kB / 0.725 GB, free: 6.078 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.6584, allocations: 2.438 kB / 0.725 GB, free: 6.078 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.676e-05/0.6584, allocations: 8 kB / 0.725 GB, free: 6.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/0.6584, allocations: 3.188 kB / 0.725 GB, free: 6.07 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.739e-05/0.6585, allocations: 119.3 kB / 0.7252 GB, free: 5.949 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.888e-05/0.6585, allocations: 7.5 kB / 0.7252 GB, free: 5.945 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.564e-05/0.6586, allocations: 16.56 kB / 0.7252 GB, free: 5.934 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.6586, allocations: 0.9062 kB / 0.7252 GB, free: 5.934 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.6586, allocations: 2.391 kB / 0.7252 GB, free: 5.934 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.6586, allocations: 0 / 0.7252 GB, free: 5.934 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001255/0.6587, allocations: 170.6 kB / 0.7253 GB, free: 5.734 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.6587, allocations: 5.094 kB / 0.7254 GB, free: 5.73 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001174/0.6589, allocations: 23.88 kB / 0.7254 GB, free: 5.727 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.6589, allocations: 1.188 kB / 0.7254 GB, free: 5.727 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.6589, allocations: 5.469 kB / 0.7254 GB, free: 5.727 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.6589, allocations: 1.625 kB / 0.7254 GB, free: 5.727 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.6589, allocations: 0 / 0.7254 GB, free: 5.727 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002068/0.6591, allocations: 130.2 kB / 0.7255 GB, free: 5.637 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.107e-05/0.6592, allocations: 90.97 kB / 0.7256 GB, free: 5.535 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.6592, allocations: 9.094 kB / 0.7256 GB, free: 5.527 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.066e-05/0.6593, allocations: 3.5 kB / 0.7256 GB, free: 5.527 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.245e-05/0.6593, allocations: 5.109 kB / 0.7256 GB, free: 5.527 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.6594, allocations: 8.094 kB / 0.7256 GB, free: 5.523 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.79e-05/0.6594, allocations: 76.25 kB / 0.7257 GB, free: 5.449 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6594, allocations: 3.938 kB / 0.7257 GB, free: 5.445 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001887/0.6596, allocations: 16.12 kB / 0.7257 GB, free: 5.441 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,hSteSym,hAirSym) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001044/0.6597, allocations: 100.8 kB / 0.7258 GB, free: 5.352 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001467/0.6599, allocations: 66.2 kB / 0.7259 GB, free: 5.328 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.6599, allocations: 0 / 0.7259 GB, free: 5.328 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.287e-05/0.6599, allocations: 26.77 kB / 0.7259 GB, free: 5.324 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002366/0.6602, allocations: 9.672 kB / 0.7259 GB, free: 5.32 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005869/0.6608, allocations: 372.6 kB / 0.7263 GB, free: 5.012 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000226/0.661, allocations: 0.6902 MB / 0.7269 GB, free: 4.312 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.193e-05/0.661, allocations: 12.66 kB / 0.7269 GB, free: 4.309 MB / 0.545 GB Notification: Performance of SimCode: time 2.1e-07/0.661, allocations: 4 kB / 0.727 GB, free: 4.305 MB / 0.545 GB Notification: Performance of Templates: time 0.002524/0.6636, allocations: 0.8063 MB / 0.7277 GB, free: 4.266 MB / 0.545 GB make -j1 -f IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile make -j1 -f IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheckCalcHelperMain.o OMCppIDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheckCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheckCalcHelperMain.o] Error 1