Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0009729/0.0009727, allocations: 102.6 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.001858/0.001858, allocations: 174.6 kB / 16.58 MB, free: 6.027 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.502/1.502, allocations: 223.3 MB / 240.6 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.058/1.058, allocations: 135.3 MB / 427 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003774/0.0003774, allocations: 9.062 kB / 0.5076 GB, free: 5.27 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2174/0.2178, allocations: 82.31 MB / 0.588 GB, free: 3.125 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001529/0.2194, allocations: 0.9861 MB / 0.589 GB, free: 2.125 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.6866/0.9059, allocations: 133.5 MB / 0.7193 GB, free: 12 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.548e-05/0.9061, allocations: 0 / 0.7193 GB, free: 12 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.795e-05/0.9061, allocations: 1.406 kB / 0.7193 GB, free: 12 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.46e-05/0.9062, allocations: 6.031 kB / 0.7193 GB, free: 11.99 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004149/0.9066, allocations: 74.86 kB / 0.7194 GB, free: 11.96 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.825e-05/0.9067, allocations: 30.44 kB / 0.7194 GB, free: 11.95 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.464e-05/0.9068, allocations: 6.094 kB / 0.7194 GB, free: 11.94 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.496e-05/0.9069, allocations: 16.73 kB / 0.7194 GB, free: 11.94 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.905e-05/0.9069, allocations: 16.33 kB / 0.7194 GB, free: 11.93 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.907, allocations: 1.062 kB / 0.7194 GB, free: 11.93 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003119/0.9073, allocations: 74.61 kB / 0.7195 GB, free: 11.9 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.768e-05/0.9073, allocations: 7.344 kB / 0.7195 GB, free: 11.9 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.324e-05/0.9074, allocations: 34.64 kB / 0.7195 GB, free: 11.86 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001411/0.9075, allocations: 46.3 kB / 0.7196 GB, free: 11.85 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.9075, allocations: 4 kB / 0.7196 GB, free: 11.85 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.125e-06/0.9075, allocations: 0 / 0.7196 GB, free: 11.85 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.9075, allocations: 1.281 kB / 0.7196 GB, free: 11.85 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.0004916/0.908, allocations: 342.9 kB / 0.7199 GB, free: 11.48 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/0.9081, allocations: 8.938 kB / 0.7199 GB, free: 11.48 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002249/0.9083, allocations: 13.73 kB / 0.7199 GB, free: 11.48 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.9085, allocations: 165.9 kB / 0.7201 GB, free: 11.29 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.9085, allocations: 1.25 kB / 0.7201 GB, free: 11.29 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.155e-05/0.9085, allocations: 14.14 kB / 0.7201 GB, free: 11.28 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001605/0.9087, allocations: 46.8 kB / 0.7202 GB, free: 11.24 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.9087, allocations: 1.094 kB / 0.7202 GB, free: 11.24 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.9087, allocations: 0 / 0.7202 GB, free: 11.24 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.9087, allocations: 1 kB / 0.7202 GB, free: 11.24 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.567e-05/0.9088, allocations: 29.89 kB / 0.7202 GB, free: 11.23 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002136/0.909, allocations: 170.3 kB / 0.7203 GB, free: 11.02 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.9091, allocations: 48 kB / 0.7204 GB, free: 10.99 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.054e-05/0.9092, allocations: 17.27 kB / 0.7204 GB, free: 10.98 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.238e-05/0.9092, allocations: 1.062 kB / 0.7204 GB, free: 10.98 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.9092, allocations: 36.75 kB / 0.7204 GB, free: 10.94 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.812e-05/0.9093, allocations: 0 / 0.7204 GB, free: 10.94 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0008506/0.9101, allocations: 373.4 kB / 0.7208 GB, free: 10.63 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/0.9102, allocations: 60.58 kB / 0.7209 GB, free: 10.56 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.058e-05/0.9103, allocations: 92.52 kB / 0.7209 GB, free: 10.46 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.9103, allocations: 30.86 kB / 0.721 GB, free: 10.43 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.283e-05/0.9103, allocations: 80.14 kB / 0.7211 GB, free: 10.35 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.439e-05/0.9104, allocations: 40.61 kB / 0.7211 GB, free: 10.32 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.583e-06/0.9104, allocations: 4 kB / 0.7211 GB, free: 10.31 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.9105, allocations: 314.3 kB / 0.7214 GB, free: 10 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.298e-05/0.9106, allocations: 21.08 kB / 0.7214 GB, free: 9.992 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.799e-05/0.9107, allocations: 35.58 kB / 0.7214 GB, free: 9.969 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.974e-05/0.9107, allocations: 20.62 kB / 0.7215 GB, free: 9.961 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.9107, allocations: 1.25 kB / 0.7215 GB, free: 9.961 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001609/0.9109, allocations: 100.3 kB / 0.7216 GB, free: 9.902 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.9109, allocations: 4.812 kB / 0.7216 GB, free: 9.902 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.9109, allocations: 0.6562 kB / 0.7216 GB, free: 9.902 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.911, allocations: 2.281 kB / 0.7216 GB, free: 9.902 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.9111, allocations: 24.12 kB / 0.7216 GB, free: 9.898 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.908e-06/0.9111, allocations: 5.812 kB / 0.7216 GB, free: 9.895 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.031e-05/0.9111, allocations: 6.281 kB / 0.7216 GB, free: 9.891 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.9112, allocations: 7.438 kB / 0.7216 GB, free: 9.887 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.806e-05/0.9113, allocations: 112.7 kB / 0.7217 GB, free: 9.77 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.595e-05/0.9113, allocations: 7.656 kB / 0.7217 GB, free: 9.766 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.393e-05/0.9113, allocations: 9.891 kB / 0.7217 GB, free: 9.762 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.9113, allocations: 1.562 kB / 0.7217 GB, free: 9.762 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.9114, allocations: 3.5 kB / 0.7217 GB, free: 9.762 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.929e-06/0.9114, allocations: 5.219 kB / 0.7217 GB, free: 9.758 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001527/0.9115, allocations: 171 kB / 0.7219 GB, free: 9.559 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.9115, allocations: 7.938 kB / 0.7219 GB, free: 9.551 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001278/0.9117, allocations: 29.09 kB / 0.7219 GB, free: 9.543 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.9117, allocations: 0.5625 kB / 0.7219 GB, free: 9.543 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.799e-06/0.9117, allocations: 1.281 kB / 0.7219 GB, free: 9.543 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.573e-06/0.9117, allocations: 1.969 kB / 0.722 GB, free: 9.543 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.9117, allocations: 3.938 kB / 0.722 GB, free: 9.539 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002287/0.912, allocations: 129.3 kB / 0.7221 GB, free: 9.449 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.194e-05/0.9121, allocations: 86.22 kB / 0.7222 GB, free: 9.352 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/0.9121, allocations: 6.031 kB / 0.7222 GB, free: 9.348 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.816e-05/0.9122, allocations: 6.953 kB / 0.7222 GB, free: 9.344 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.769e-05/0.9122, allocations: 5.859 kB / 0.7222 GB, free: 9.344 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.659e-06/0.9122, allocations: 3.703 kB / 0.7222 GB, free: 9.344 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.517e-05/0.9123, allocations: 76.75 kB / 0.7223 GB, free: 9.27 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9123, allocations: 0 / 0.7223 GB, free: 9.27 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001966/0.9125, allocations: 16.09 kB / 0.7223 GB, free: 9.266 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 (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.00012/0.9126, allocations: 109.4 kB / 0.7224 GB, free: 9.168 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001559/0.9127, allocations: 52.3 kB / 0.7224 GB, free: 9.156 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.9128, allocations: 5.562 kB / 0.7224 GB, free: 9.152 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.913e-05/0.9128, allocations: 28.42 kB / 0.7225 GB, free: 9.145 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002257/0.913, allocations: 10.88 kB / 0.7225 GB, free: 9.141 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007277/0.9138, allocations: 411.9 kB / 0.7229 GB, free: 8.816 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002963/0.9141, allocations: 0.6897 MB / 0.7235 GB, free: 8.117 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.082e-05/0.9141, allocations: 20.5 kB / 0.7236 GB, free: 8.102 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.9141, allocations: 0 / 0.7236 GB, free: 8.102 MB / 0.545 GB Notification: Performance of Templates: time 0.003174/0.9173, allocations: 0.8142 MB / 0.7243 GB, free: 8.055 MB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile make -j1 -f IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.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 OMCppIDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheckCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheckCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheckCalcHelperMain.o] Error 1