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.000855/0.0008551, allocations: 102.7 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.00095/0.00095, allocations: 173.8 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.52/1.52, 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/IDEAS 3.0.0/package.mo): time 0.7995/0.7995, allocations: 132.3 MB / 424 MB, free: 2.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003221/0.0003222, allocations: 10.19 kB / 0.504 GB, free: 4.273 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5301/0.5304, allocations: 81.57 MB / 0.5837 GB, free: 4.242 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001631/0.5321, allocations: 0.9916 MB / 0.5846 GB, free: 3.504 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1881/0.7203, allocations: 133.5 MB / 0.715 GB, free: 9.934 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.116e-05/0.7204, allocations: 0 / 0.715 GB, free: 9.934 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.235e-05/0.7204, allocations: 0 / 0.715 GB, free: 9.934 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.084e-05/0.7205, allocations: 7.922 kB / 0.715 GB, free: 9.926 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003441/0.7208, allocations: 75.7 kB / 0.7151 GB, free: 9.852 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.908e-05/0.7209, allocations: 27.86 kB / 0.7151 GB, free: 9.824 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.604e-05/0.721, allocations: 4 kB / 0.7151 GB, free: 9.82 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.975e-05/0.721, allocations: 19.97 kB / 0.7151 GB, free: 9.801 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.336e-05/0.7211, allocations: 11.94 kB / 0.7151 GB, free: 9.789 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.248e-05/0.7211, allocations: 0 / 0.7151 GB, free: 9.789 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002558/0.7214, allocations: 75.81 kB / 0.7152 GB, free: 9.715 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.518e-05/0.7214, allocations: 7.984 kB / 0.7152 GB, free: 9.707 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.161e-05/0.7214, allocations: 37.58 kB / 0.7152 GB, free: 9.664 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001238/0.7216, allocations: 50 kB / 0.7153 GB, free: 9.617 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.7216, allocations: 0 / 0.7153 GB, free: 9.617 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.635e-06/0.7216, allocations: 4 kB / 0.7153 GB, free: 9.613 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.7216, allocations: 0 / 0.7153 GB, free: 9.613 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.0003974/0.722, allocations: 343.3 kB / 0.7156 GB, free: 9.23 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.722, allocations: 8.031 kB / 0.7156 GB, free: 9.223 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001892/0.7222, allocations: 15.94 kB / 0.7156 GB, free: 9.207 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/0.7224, allocations: 159.1 kB / 0.7158 GB, free: 9.012 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.7224, allocations: 8 kB / 0.7158 GB, free: 9.004 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.509e-05/0.7224, allocations: 4 kB / 0.7158 GB, free: 9 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.7225, allocations: 49.67 kB / 0.7158 GB, free: 8.945 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.7226, allocations: 3.938 kB / 0.7158 GB, free: 8.941 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.7226, allocations: 8 kB / 0.7159 GB, free: 8.934 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.7226, allocations: 3.953 kB / 0.7159 GB, free: 8.93 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.272e-05/0.7226, allocations: 15.97 kB / 0.7159 GB, free: 8.914 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001776/0.7228, allocations: 169.5 kB / 0.716 GB, free: 8.699 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.365e-05/0.7229, allocations: 46.56 kB / 0.7161 GB, free: 8.645 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.85e-05/0.723, allocations: 20.84 kB / 0.7161 GB, free: 8.621 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.071e-05/0.723, allocations: 0 / 0.7161 GB, free: 8.621 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/0.723, allocations: 42.5 kB / 0.7161 GB, free: 8.57 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 7.92e-07/0.723, allocations: 0 / 0.7161 GB, free: 8.57 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0007182/0.7237, allocations: 365.7 kB / 0.7165 GB, free: 8.164 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.378e-05/0.7238, allocations: 55.41 kB / 0.7165 GB, free: 8.098 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.912e-05/0.7239, allocations: 93.86 kB / 0.7166 GB, free: 7.996 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.7239, allocations: 25.83 kB / 0.7167 GB, free: 7.965 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.964e-05/0.7239, allocations: 88.12 kB / 0.7167 GB, free: 7.875 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.447e-05/0.724, allocations: 47.31 kB / 0.7168 GB, free: 7.828 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-06/0.724, allocations: 0 / 0.7168 GB, free: 7.828 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.7241, allocations: 318.8 kB / 0.7171 GB, free: 7.508 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.472e-05/0.7241, allocations: 23.98 kB / 0.7171 GB, free: 7.484 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.808e-05/0.7242, allocations: 36.58 kB / 0.7171 GB, free: 7.445 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.836e-05/0.7243, allocations: 24.53 kB / 0.7172 GB, free: 7.422 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.7243, allocations: 7.938 kB / 0.7172 GB, free: 7.414 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001236/0.7244, allocations: 89.67 kB / 0.7173 GB, free: 7.32 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.7244, allocations: 4 kB / 0.7173 GB, free: 7.316 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.7244, allocations: 4 kB / 0.7173 GB, free: 7.312 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.7244, allocations: 0 / 0.7173 GB, free: 7.312 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.7246, allocations: 31.88 kB / 0.7173 GB, free: 7.281 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.7246, allocations: 0 / 0.7173 GB, free: 7.281 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.236e-05/0.7246, allocations: 4 kB / 0.7173 GB, free: 7.277 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.7246, allocations: 4 kB / 0.7173 GB, free: 7.273 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 8.422e-05/0.7247, allocations: 123.3 kB / 0.7174 GB, free: 7.145 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.145e-05/0.7247, allocations: 3.906 kB / 0.7174 GB, free: 7.141 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.689e-05/0.7248, allocations: 11.97 kB / 0.7174 GB, free: 7.133 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.7248, allocations: 4 kB / 0.7174 GB, free: 7.129 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.7248, allocations: 3.953 kB / 0.7174 GB, free: 7.125 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.7248, allocations: 3.984 kB / 0.7175 GB, free: 7.121 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00013/0.7249, allocations: 173.6 kB / 0.7176 GB, free: 6.902 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.725, allocations: 3.938 kB / 0.7176 GB, free: 6.902 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001162/0.7251, allocations: 23.92 kB / 0.7176 GB, free: 6.879 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.7251, allocations: 0 / 0.7176 GB, free: 6.879 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.7251, allocations: 4 kB / 0.7176 GB, free: 6.875 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.7251, allocations: 4 kB / 0.7177 GB, free: 6.871 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.7251, allocations: 0 / 0.7177 GB, free: 6.871 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001949/0.7253, allocations: 129.1 kB / 0.7178 GB, free: 6.727 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.416e-05/0.7254, allocations: 85.11 kB / 0.7179 GB, free: 6.625 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.685e-05/0.7254, allocations: 4 kB / 0.7179 GB, free: 6.621 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.611e-05/0.7255, allocations: 11.97 kB / 0.7179 GB, free: 6.609 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.985e-05/0.7255, allocations: 4 kB / 0.7179 GB, free: 6.605 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.298e-06/0.7255, allocations: 15.94 kB / 0.7179 GB, free: 6.59 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.793e-05/0.7256, allocations: 75.28 kB / 0.718 GB, free: 6.516 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7256, allocations: 3.938 kB / 0.718 GB, free: 6.512 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001871/0.7258, allocations: 19.95 kB / 0.718 GB, free: 6.492 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 9.756e-05/0.7259, allocations: 99.23 kB / 0.7181 GB, free: 6.387 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001217/0.726, allocations: 55.92 kB / 0.7181 GB, free: 6.332 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.726, allocations: 0 / 0.7181 GB, free: 6.332 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.422e-05/0.7261, allocations: 28.08 kB / 0.7182 GB, free: 6.305 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002073/0.7263, allocations: 10.91 kB / 0.7182 GB, free: 6.297 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006001/0.7269, allocations: 412.3 kB / 0.7186 GB, free: 5.855 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002462/0.7271, allocations: 0.6887 MB / 0.7192 GB, free: 5.141 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.163e-05/0.7272, allocations: 11.44 kB / 0.7192 GB, free: 5.129 MB / 0.545 GB Notification: Performance of SimCode: time 2.51e-07/0.7272, allocations: 0 / 0.7192 GB, free: 5.129 MB / 0.545 GB Notification: Performance of Templates: time 0.002541/0.7297, allocations: 0.8268 MB / 0.7201 GB, free: 4.305 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++ 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_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