Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001188/0.001189, allocations: 94.31 kB / 17.63 MB, free: 5.859 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00166/0.00166, allocations: 198 kB / 18.54 MB, free: 5.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.536/1.536, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002704/0.0002705, allocations: 4 kB / 307.3 MB, free: 1.625 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1318, allocations: 51.49 MB / 358.8 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.001504/0.1334, allocations: 1.075 MB / 359.9 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.4667/0.6001, allocations: 135.1 MB / 495 MB, free: 4.879 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.225e-05/0.6002, allocations: 0 / 495 MB, free: 4.879 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.246e-05/0.6002, allocations: 7.984 kB / 495 MB, free: 4.871 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008531/0.6011, allocations: 188.8 kB / 495.2 MB, free: 4.691 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009356/0.602, allocations: 281.5 kB / 495.5 MB, free: 4.422 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 9.707e-05/0.6021, allocations: 59.66 kB / 495.5 MB, free: 4.363 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.021e-05/0.6022, allocations: 0 / 495.5 MB, free: 4.363 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.353e-05/0.6022, allocations: 19.92 kB / 495.5 MB, free: 4.344 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.067e-05/0.6023, allocations: 27.91 kB / 495.6 MB, free: 4.316 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.919e-05/0.6024, allocations: 8 kB / 495.6 MB, free: 4.309 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001326/0.6037, allocations: 478.7 kB / 496 MB, free: 3.844 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.313e-05/0.6037, allocations: 15.92 kB / 496 MB, free: 3.828 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.127e-05/0.6038, allocations: 29.7 kB / 496.1 MB, free: 3.793 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005459/0.6043, allocations: 300.8 kB / 496.4 MB, free: 3.5 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.6043, allocations: 0 / 496.4 MB, free: 3.5 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.6044, allocations: 0 / 496.4 MB, free: 3.5 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.6044, allocations: 0 / 496.4 MB, free: 3.5 MB / 398.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.0006139/0.605, allocations: 419.7 kB / 496.8 MB, free: 3.043 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.605, allocations: 12.03 kB / 496.8 MB, free: 3.031 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001229/0.6063, allocations: 103.8 kB / 496.9 MB, free: 2.93 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003055/0.6066, allocations: 222.9 kB / 497.1 MB, free: 2.672 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.836e-05/0.6067, allocations: 8 kB / 497.1 MB, free: 2.664 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.6e-05/0.6067, allocations: 0 / 497.1 MB, free: 2.664 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002236/0.6069, allocations: 95.27 kB / 497.2 MB, free: 2.559 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.607, allocations: 0 / 497.2 MB, free: 2.559 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.607, allocations: 0 / 497.2 MB, free: 2.559 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.607, allocations: 3.938 kB / 497.2 MB, free: 2.555 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000155/0.6072, allocations: 43.95 kB / 497.3 MB, free: 2.512 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002858/0.6074, allocations: 214.9 kB / 497.5 MB, free: 2.25 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005152/0.608, allocations: 121.1 kB / 497.6 MB, free: 2.113 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.6081, allocations: 37.75 kB / 497.6 MB, free: 2.07 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000867/0.609, allocations: 0.9901 MB / 498.6 MB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.609, allocations: 34.5 kB / 498.6 MB, free: 0.8164 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.609, allocations: 0 / 498.6 MB, free: 0.8164 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004454/0.6095, allocations: 129.5 kB / 498.8 MB, free: 0.6836 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.106e-05/0.6095, allocations: 85.05 kB / 498.9 MB, free: 0.582 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002124/0.6097, allocations: 157.8 kB / 499 MB, free: 428 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.6098, allocations: 33.7 kB / 499 MB, free: 388 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.943e-05/0.6098, allocations: 80.14 kB / 499.1 MB, free: 304 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.136e-05/0.6099, allocations: 23.66 kB / 499.1 MB, free: 280 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.737e-06/0.6099, allocations: 0 / 499.1 MB, free: 280 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.6101, allocations: 318.8 kB / 499.5 MB, free: 15.95 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9e-05/0.6101, allocations: 23.98 kB / 499.5 MB, free: 15.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/0.6103, allocations: 55.41 kB / 499.5 MB, free: 15.86 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001005/0.6104, allocations: 31.92 kB / 499.6 MB, free: 15.83 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.6104, allocations: 4 kB / 499.6 MB, free: 15.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002936/0.6107, allocations: 125.8 kB / 499.7 MB, free: 15.7 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.6107, allocations: 7.938 kB / 499.7 MB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.6107, allocations: 0 / 499.7 MB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.6108, allocations: 8.062 kB / 499.7 MB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.6109, allocations: 23.97 kB / 499.7 MB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.6109, allocations: 4 kB / 499.7 MB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000149/0.6111, allocations: 7.984 kB / 499.7 MB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.569e-05/0.6111, allocations: 7.984 kB / 499.7 MB, free: 15.64 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (8): * Single equations (assignments): 8 * 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.0001061/0.6112, allocations: 121.7 kB / 499.9 MB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.492e-05/0.6112, allocations: 3.906 kB / 499.9 MB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005574/0.6118, allocations: 240.7 kB / 0.4884 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.6118, allocations: 4 kB / 0.4884 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.6118, allocations: 0 / 0.4884 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.6118, allocations: 3.984 kB / 0.4884 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002057/0.612, allocations: 211 kB / 0.4886 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.6121, allocations: 0 / 0.4886 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001622/0.6122, allocations: 25.53 kB / 0.4886 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.6122, allocations: 0 / 0.4886 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.766e-05/0.6123, allocations: 7.984 kB / 0.4886 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.6123, allocations: 0 / 0.4886 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.6123, allocations: 3.938 kB / 0.4886 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004016/0.6127, allocations: 181.8 kB / 0.4888 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.925e-05/0.6128, allocations: 101 kB / 0.4889 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.308e-05/0.6128, allocations: 0 / 0.4889 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000148/0.613, allocations: 11.98 kB / 0.4889 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.742e-05/0.613, allocations: 11.92 kB / 0.4889 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.613, allocations: 4 kB / 0.4889 GB, free: 14.63 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001553/0.6132, allocations: 127.2 kB / 0.489 GB, free: 14.51 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6132, allocations: 0 / 0.489 GB, free: 14.51 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005762/0.6138, allocations: 131.9 kB / 0.4892 GB, free: 14.38 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (s1,h1) * 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0007347/0.6145, allocations: 308.4 kB / 0.4895 GB, free: 14.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002697/0.6148, allocations: 79.92 kB / 0.4895 GB, free: 14 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.6148, allocations: 0 / 0.4895 GB, free: 14 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001311/0.615, allocations: 48.03 kB / 0.4896 GB, free: 13.95 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002224/0.6152, allocations: 10.75 kB / 0.4896 GB, free: 13.94 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006395/0.6159, allocations: 388.1 kB / 0.49 GB, free: 13.53 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/0.6162, allocations: 0.6887 MB / 0.4906 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001451/0.6163, allocations: 39.39 kB / 0.4907 GB, free: 12.78 MB / 414.1 MB Notification: Performance of SimCode: time 2.51e-07/0.6163, allocations: 0 / 0.4907 GB, free: 12.78 MB / 414.1 MB Notification: Performance of Templates: time 0.007119/0.6235, allocations: 4.165 MB / 0.4947 GB, free: 8.617 MB / 414.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile make -j1 -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.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_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TCalcHelperMain.o OMCppModelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TCalcHelperMain.o] Error 1