Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.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_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008203/0.0008204, allocations: 84.38 kB / 17.58 MB, free: 5.758 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.0009026/0.0009026, allocations: 183.7 kB / 18.48 MB, free: 5.207 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.661/1.661, allocations: 205.4 MB / 224.6 MB, free: 13.16 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.0005231/0.0005232, allocations: 8 kB / 281.4 MB, free: 3.754 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1175, allocations: 47.59 MB / 329 MB, free: 4.09 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.001799/0.1194, allocations: 1.07 MB / 330 MB, free: 3.008 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.02954/0.149, allocations: 22.18 MB / 352.2 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.906e-05/0.1491, allocations: 0 / 352.2 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001492/0.1493, allocations: 0 / 352.2 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01459/0.1639, allocations: 4.214 MB / 356.4 MB, free: 8.543 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007058/0.1646, allocations: 219.1 kB / 356.7 MB, free: 8.328 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001342/0.1647, allocations: 83.67 kB / 356.7 MB, free: 8.246 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.051e-05/0.1648, allocations: 4 kB / 356.7 MB, free: 8.242 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.655e-05/0.1649, allocations: 39.84 kB / 356.8 MB, free: 8.203 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.165, allocations: 31.89 kB / 356.8 MB, free: 8.172 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.165, allocations: 4 kB / 356.8 MB, free: 8.168 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0165/0.1815, allocations: 7.65 MB / 364.5 MB, free: 0.5078 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.331e-05/0.1817, allocations: 23.89 kB / 364.5 MB, free: 496 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.93e-05/0.1817, allocations: 33.7 kB / 364.5 MB, free: 456 kB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007303/0.189, allocations: 2.78 MB / 367.3 MB, free: 13.66 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.585e-06/0.1891, allocations: 0 / 367.3 MB, free: 13.66 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1891, allocations: 0 / 367.3 MB, free: 13.66 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.1891, allocations: 0 / 367.3 MB, free: 13.66 MB / 318.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.003234/0.1924, allocations: 0.8889 MB / 368.2 MB, free: 12.72 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.625e-05/0.1924, allocations: 8.031 kB / 368.2 MB, free: 12.71 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.901e-05/0.1925, allocations: 7.906 kB / 368.2 MB, free: 12.71 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002472/0.1928, allocations: 191 kB / 368.4 MB, free: 12.48 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.1928, allocations: 4 kB / 368.4 MB, free: 12.48 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.451e-05/0.1928, allocations: 4 kB / 368.4 MB, free: 12.47 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001828/0.193, allocations: 71.39 kB / 368.5 MB, free: 12.39 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.193, allocations: 0 / 368.5 MB, free: 12.39 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.193, allocations: 0 / 368.5 MB, free: 12.39 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.1931, allocations: 3.938 kB / 368.5 MB, free: 12.39 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001163/0.1932, allocations: 39.91 kB / 368.5 MB, free: 12.35 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002354/0.1934, allocations: 194.5 kB / 368.7 MB, free: 12.11 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003124/0.1937, allocations: 101.1 kB / 368.8 MB, free: 11.99 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.034e-05/0.1938, allocations: 29.77 kB / 368.8 MB, free: 11.95 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.433e-05/0.1939, allocations: 8 kB / 368.8 MB, free: 11.95 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.1939, allocations: 38.56 kB / 368.9 MB, free: 11.9 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.1939, allocations: 0 / 368.9 MB, free: 11.9 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003374/0.1943, allocations: 101.5 kB / 369 MB, free: 11.79 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.522e-05/0.1943, allocations: 81.11 kB / 369.1 MB, free: 11.7 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/0.1945, allocations: 142 kB / 369.2 MB, free: 11.55 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.1945, allocations: 25.7 kB / 369.2 MB, free: 11.52 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.762e-05/0.1946, allocations: 88.08 kB / 369.3 MB, free: 11.43 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.374e-05/0.1946, allocations: 23.72 kB / 369.3 MB, free: 11.4 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.988e-06/0.1946, allocations: 0 / 369.3 MB, free: 11.4 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.1948, allocations: 322.8 kB / 369.6 MB, free: 11.08 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.598e-05/0.1949, allocations: 19.94 kB / 369.7 MB, free: 11.06 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.847e-05/0.1949, allocations: 25.7 kB / 369.7 MB, free: 11.03 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.84e-05/0.195, allocations: 19.98 kB / 369.7 MB, free: 11.01 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.195, allocations: 0 / 369.7 MB, free: 11.01 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001611/0.1952, allocations: 85.73 kB / 369.8 MB, free: 10.92 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.1952, allocations: 10.17 kB / 369.8 MB, free: 10.91 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.1952, allocations: 4 kB / 369.8 MB, free: 10.91 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.1952, allocations: 0 / 369.8 MB, free: 10.91 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.063e-05/0.1953, allocations: 12 kB / 369.8 MB, free: 10.89 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.1953, allocations: 0 / 369.8 MB, free: 10.89 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.775e-05/0.1954, allocations: 3.938 kB / 369.8 MB, free: 10.89 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.1954, allocations: 4 kB / 369.8 MB, free: 10.89 MB / 318.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001103/0.1955, allocations: 125.8 kB / 369.9 MB, free: 10.75 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.706e-05/0.1955, allocations: 7.906 kB / 370 MB, free: 10.75 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002355/0.1957, allocations: 93.5 kB / 370 MB, free: 10.65 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1958, allocations: 0 / 370 MB, free: 10.65 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.1958, allocations: 384 / 370 MB, free: 10.65 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.1958, allocations: 7.984 kB / 370 MB, free: 10.64 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001628/0.196, allocations: 181.5 kB / 370.2 MB, free: 10.41 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.196, allocations: 4 kB / 370.2 MB, free: 10.41 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.042e-05/0.196, allocations: 15.92 kB / 370.2 MB, free: 10.39 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.1961, allocations: 4 kB / 370.3 MB, free: 10.39 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.1961, allocations: 0 / 370.3 MB, free: 10.39 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/0.1961, allocations: 7.938 kB / 370.3 MB, free: 10.38 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1961, allocations: 0 / 370.3 MB, free: 10.38 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001937/0.1963, allocations: 106.5 kB / 370.4 MB, free: 10.26 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.877e-05/0.1964, allocations: 96.94 kB / 370.5 MB, free: 10.14 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.1964, allocations: 4 kB / 370.5 MB, free: 10.14 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.795e-05/0.1965, allocations: 8 kB / 370.5 MB, free: 10.13 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.216e-05/0.1966, allocations: 7.984 kB / 370.5 MB, free: 10.12 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-06/0.1966, allocations: 0 / 370.5 MB, free: 10.12 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.443e-05/0.1967, allocations: 107.3 kB / 370.6 MB, free: 10.02 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1967, allocations: 3.938 kB / 370.6 MB, free: 10.02 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.003399/0.2001, allocations: 0.9213 MB / 371.5 MB, free: 9.094 MB / 318.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 (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.003846/0.2039, allocations: 1.24 MB / 372.7 MB, free: 7.848 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002101/0.2042, allocations: 43.97 kB / 372.8 MB, free: 7.805 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.2042, allocations: 0 / 372.8 MB, free: 7.805 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.871e-05/0.2043, allocations: 31.92 kB / 372.8 MB, free: 7.773 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002953/0.2046, allocations: 19.94 kB / 372.8 MB, free: 7.754 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004905/0.2051, allocations: 240.9 kB / 373.1 MB, free: 7.484 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003009/0.2054, allocations: 0.6848 MB / 373.8 MB, free: 6.773 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.76e-05/0.2054, allocations: 19.42 kB / 373.8 MB, free: 6.754 MB / 318.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2054, allocations: 0 / 373.8 MB, free: 6.754 MB / 318.1 MB Notification: Performance of Templates: time 0.2362/0.4416, allocations: 19.27 MB / 393.1 MB, free: 45.16 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.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 OMCppModelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TXCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TXCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TXCalcHelperMain.o] Error 1