Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001295/0.001294, allocations: 109.4 kB / 17.81 MB, free: 5.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 197.9 kB / 18.73 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.918/1.918, allocations: 205.1 MB / 224.6 MB, free: 12.48 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002256/0.002257, allocations: 52.41 kB / 280.6 MB, free: 3.59 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.171, allocations: 46.62 MB / 327.2 MB, free: 4.906 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.003295/0.1744, allocations: 1.409 MB / 328.6 MB, free: 3.48 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01612/0.1905, allocations: 12.37 MB / 341 MB, free: 7.055 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.701e-05/0.1906, allocations: 4 kB / 341 MB, free: 7.051 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.091e-05/0.1908, allocations: 3.984 kB / 341 MB, free: 7.047 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003705/0.1945, allocations: 0.852 MB / 341.9 MB, free: 6.191 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001965/0.1964, allocations: 0.5288 MB / 342.4 MB, free: 5.66 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000121/0.1966, allocations: 67.66 kB / 342.5 MB, free: 5.594 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.754e-05/0.1966, allocations: 0 / 342.5 MB, free: 5.594 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.562e-05/0.1967, allocations: 27.97 kB / 342.5 MB, free: 5.566 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.504e-05/0.1968, allocations: 35.83 kB / 342.5 MB, free: 5.531 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.1968, allocations: 4 kB / 342.5 MB, free: 5.527 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003406/0.2002, allocations: 1.561 MB / 344.1 MB, free: 3.965 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.917e-05/0.2003, allocations: 15.91 kB / 344.1 MB, free: 3.949 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.052e-05/0.2003, allocations: 27.86 kB / 344.1 MB, free: 3.922 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00133/0.2017, allocations: 0.7329 MB / 344.9 MB, free: 3.188 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.807e-06/0.2017, allocations: 0 / 344.9 MB, free: 3.188 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.2017, allocations: 0 / 344.9 MB, free: 3.188 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.513e-06/0.2017, allocations: 0 / 344.9 MB, free: 3.188 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.001167/0.2029, allocations: 0.5497 MB / 345.4 MB, free: 2.59 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.468e-05/0.203, allocations: 8.031 kB / 345.4 MB, free: 2.582 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000233/0.2032, allocations: 4.938 kB / 345.4 MB, free: 2.578 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002925/0.2035, allocations: 184.2 kB / 345.6 MB, free: 2.359 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/0.2035, allocations: 384 / 345.6 MB, free: 2.359 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.2036, allocations: 4.375 kB / 345.6 MB, free: 2.355 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002298/0.2038, allocations: 75.39 kB / 345.7 MB, free: 2.27 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.2038, allocations: 0 / 345.7 MB, free: 2.27 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.2038, allocations: 4 kB / 345.7 MB, free: 2.266 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.2039, allocations: 0 / 345.7 MB, free: 2.266 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001221/0.204, allocations: 27.97 kB / 345.7 MB, free: 2.238 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002847/0.2043, allocations: 170.6 kB / 345.9 MB, free: 2.02 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003759/0.2047, allocations: 85.12 kB / 346 MB, free: 1.918 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.361e-05/0.2048, allocations: 21.78 kB / 346 MB, free: 1.891 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007384/0.2121, allocations: 3.305 MB / 349.3 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.909e-05/0.2122, allocations: 38.5 kB / 349.3 MB, free: 14.09 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 2.224e-06/0.2122, allocations: 0 / 349.3 MB, free: 14.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003808/0.2126, allocations: 85.5 kB / 349.4 MB, free: 14 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.592e-05/0.2127, allocations: 81.11 kB / 349.5 MB, free: 13.91 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.2128, allocations: 117.8 kB / 349.6 MB, free: 13.78 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.309e-05/0.2129, allocations: 33.7 kB / 349.7 MB, free: 13.74 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.05e-05/0.2129, allocations: 84.14 kB / 349.7 MB, free: 13.66 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.528e-05/0.213, allocations: 27.67 kB / 349.8 MB, free: 13.63 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-05/0.213, allocations: 13.72 kB / 349.8 MB, free: 13.61 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.2132, allocations: 318.8 kB / 350.1 MB, free: 13.29 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.806e-05/0.2133, allocations: 8 kB / 350.1 MB, free: 13.28 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.822e-05/0.2134, allocations: 25.7 kB / 350.1 MB, free: 13.25 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001128/0.2135, allocations: 41.7 kB / 350.2 MB, free: 13.2 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2135, allocations: 0 / 350.2 MB, free: 13.2 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001715/0.2137, allocations: 77.45 kB / 350.2 MB, free: 13.12 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/0.2137, allocations: 8 kB / 350.2 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.2137, allocations: 0 / 350.2 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.2137, allocations: 128 / 350.2 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.411e-05/0.2138, allocations: 12 kB / 350.3 MB, free: 13.1 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/0.2138, allocations: 7.984 kB / 350.3 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.593e-05/0.2139, allocations: 4 kB / 350.3 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.68e-05/0.2139, allocations: 4 kB / 350.3 MB, free: 13.09 MB / 302.1 MB 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 (6): * Single equations (assignments): 6 * 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 0.0001101/0.214, allocations: 113.8 kB / 350.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.446e-05/0.214, allocations: 11.84 kB / 350.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002747/0.2143, allocations: 105.9 kB / 350.5 MB, free: 12.85 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.2143, allocations: 96 / 350.5 MB, free: 12.85 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.2144, allocations: 0 / 350.5 MB, free: 12.85 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.2144, allocations: 3.984 kB / 350.5 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001801/0.2145, allocations: 165.7 kB / 350.7 MB, free: 12.63 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2146, allocations: 0 / 350.7 MB, free: 12.63 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.59e-05/0.2146, allocations: 15.92 kB / 350.7 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.2146, allocations: 0 / 350.7 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.2147, allocations: 4 kB / 350.7 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.2147, allocations: 7.875 kB / 350.7 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2147, allocations: 4 kB / 350.7 MB, free: 12.6 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002227/0.2149, allocations: 101.9 kB / 350.8 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.076e-05/0.215, allocations: 89.03 kB / 350.9 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/0.215, allocations: 4 kB / 350.9 MB, free: 12.37 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.923e-05/0.2151, allocations: 0 / 350.9 MB, free: 12.37 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.6e-05/0.2151, allocations: 7.984 kB / 350.9 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-06/0.2152, allocations: 8 kB / 350.9 MB, free: 12.36 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.157e-05/0.2153, allocations: 95.27 kB / 351 MB, free: 12.26 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.944e-06/0.2153, allocations: 0 / 351 MB, free: 12.26 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001019/0.2163, allocations: 323.6 kB / 351.3 MB, free: 11.95 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (6): * Single equations (assignments): 6 * 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.001228/0.2175, allocations: 0.5811 MB / 351.9 MB, free: 11.35 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001934/0.2177, allocations: 39.97 kB / 351.9 MB, free: 11.31 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2177, allocations: 0 / 351.9 MB, free: 11.31 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.849e-05/0.2178, allocations: 23.92 kB / 352 MB, free: 11.29 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002171/0.218, allocations: 11.94 kB / 352 MB, free: 11.28 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005033/0.2186, allocations: 207.4 kB / 352.2 MB, free: 11.04 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003046/0.2189, allocations: 0.6847 MB / 352.9 MB, free: 10.33 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.589e-05/0.2189, allocations: 27.3 kB / 352.9 MB, free: 10.3 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2189, allocations: 4 kB / 352.9 MB, free: 10.3 MB / 302.1 MB Notification: Performance of Templates: time 0.009893/0.2288, allocations: 5.941 MB / 358.8 MB, free: 4.352 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.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 OMCppModelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TCalcHelperMain.o] Error 1