Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.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_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009096/0.0009096, allocations: 96.17 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001191/0.001191, allocations: 198.7 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.583/1.583, allocations: 227.3 MB / 246.6 MB, free: 10.29 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002761/0.0002761, allocations: 4 kB / 307.3 MB, free: 1.426 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1381, allocations: 51.48 MB / 358.8 MB, free: 13.94 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.001484/0.1396, allocations: 1.083 MB / 359.9 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.4344/0.574, allocations: 135.5 MB / 495.3 MB, free: 4.438 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.212e-05/0.5741, allocations: 0 / 495.3 MB, free: 4.438 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.459e-05/0.5742, allocations: 4 kB / 495.3 MB, free: 4.434 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001086/0.5753, allocations: 253.8 kB / 495.6 MB, free: 4.191 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001031/0.5763, allocations: 356.8 kB / 495.9 MB, free: 3.848 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001138/0.5764, allocations: 87.62 kB / 496 MB, free: 3.762 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.896e-05/0.5765, allocations: 7.984 kB / 496 MB, free: 3.754 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.798e-05/0.5766, allocations: 31.86 kB / 496 MB, free: 3.723 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.569e-05/0.5767, allocations: 31.91 kB / 496.1 MB, free: 3.691 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.5767, allocations: 4 kB / 496.1 MB, free: 3.688 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001668/0.5784, allocations: 0.7825 MB / 496.9 MB, free: 2.906 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.196e-05/0.5784, allocations: 11.98 kB / 496.9 MB, free: 2.895 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.252e-05/0.5784, allocations: 37.64 kB / 496.9 MB, free: 2.852 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006093/0.5791, allocations: 448.4 kB / 497.3 MB, free: 2.414 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.5791, allocations: 0 / 497.3 MB, free: 2.414 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.5791, allocations: 0 / 497.3 MB, free: 2.414 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.5791, allocations: 0 / 497.3 MB, free: 2.414 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.0006038/0.5797, allocations: 447.5 kB / 497.8 MB, free: 1.93 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/0.5797, allocations: 12.03 kB / 497.8 MB, free: 1.918 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004513/0.5802, allocations: 75.89 kB / 497.9 MB, free: 1.844 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002028/0.5804, allocations: 189.6 kB / 498 MB, free: 1.621 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.5805, allocations: 7.875 kB / 498.1 MB, free: 1.613 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.284e-05/0.5805, allocations: 7.953 kB / 498.1 MB, free: 1.605 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001601/0.5806, allocations: 75.38 kB / 498.1 MB, free: 1.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.5807, allocations: 0 / 498.1 MB, free: 1.52 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.5807, allocations: 0 / 498.1 MB, free: 1.52 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.5807, allocations: 0 / 498.1 MB, free: 1.52 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001007/0.5808, allocations: 47.91 kB / 498.2 MB, free: 1.473 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002459/0.5811, allocations: 194.6 kB / 498.4 MB, free: 1.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003341/0.5814, allocations: 109.2 kB / 498.5 MB, free: 1.105 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.909e-05/0.5815, allocations: 33.77 kB / 498.5 MB, free: 1.066 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004724/0.582, allocations: 148.9 kB / 498.7 MB, free: 0.9023 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/0.582, allocations: 34.56 kB / 498.7 MB, free: 0.8594 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.582, allocations: 0 / 498.7 MB, free: 0.8594 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.000389/0.5824, allocations: 121.5 kB / 498.8 MB, free: 0.7344 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.246e-05/0.5825, allocations: 77.11 kB / 498.9 MB, free: 0.6406 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.5826, allocations: 141.8 kB / 499 MB, free: 0.4922 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.5827, allocations: 25.7 kB / 499.1 MB, free: 472 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.003e-05/0.5827, allocations: 88.12 kB / 499.1 MB, free: 380 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.339e-05/0.5828, allocations: 23.66 kB / 499.2 MB, free: 356 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-06/0.5828, allocations: 0 / 499.2 MB, free: 356 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001901/0.583, allocations: 322.8 kB / 499.5 MB, free: 24 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.227e-05/0.5831, allocations: 23.98 kB / 499.5 MB, free: 0 / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.5832, allocations: 51.41 kB / 499.5 MB, free: 15.94 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.129e-05/0.5833, allocations: 27.98 kB / 499.6 MB, free: 15.91 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.5833, allocations: 0 / 499.6 MB, free: 15.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002313/0.5835, allocations: 113.4 kB / 499.7 MB, free: 15.79 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.5835, allocations: 11.94 kB / 499.7 MB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.5835, allocations: 0 / 499.7 MB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.5836, allocations: 4.875 kB / 499.7 MB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.326e-05/0.5836, allocations: 12 kB / 499.7 MB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.5836, allocations: 0 / 499.7 MB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.737e-05/0.5837, allocations: 15.92 kB / 499.7 MB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.5837, allocations: 4 kB / 499.7 MB, free: 15.75 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 8.989e-05/0.5838, allocations: 109.8 kB / 499.8 MB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.377e-05/0.5839, allocations: 11.97 kB / 499.9 MB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002623/0.5841, allocations: 117.8 kB / 500 MB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.5841, allocations: 0.5625 kB / 500 MB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.5842, allocations: 6.562 kB / 500 MB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.5842, allocations: 3.984 kB / 500 MB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001627/0.5843, allocations: 177.7 kB / 0.4884 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.5843, allocations: 0 / 0.4884 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.312e-05/0.5844, allocations: 15.98 kB / 0.4884 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-06/0.5844, allocations: 3.938 kB / 0.4885 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.5845, allocations: 11.92 kB / 0.4885 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.982e-06/0.5845, allocations: 7.953 kB / 0.4885 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.5845, allocations: 0 / 0.4885 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003223/0.5848, allocations: 157.8 kB / 0.4886 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.124e-05/0.5849, allocations: 97.02 kB / 0.4887 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/0.5849, allocations: 4 kB / 0.4887 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.929e-05/0.585, allocations: 8.062 kB / 0.4887 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.795e-05/0.585, allocations: 7.953 kB / 0.4887 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.585, allocations: 3.984 kB / 0.4887 GB, free: 14.91 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001193/0.5852, allocations: 111.3 kB / 0.4888 GB, free: 14.8 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5852, allocations: 0 / 0.4888 GB, free: 14.8 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005077/0.5857, allocations: 155.8 kB / 0.489 GB, free: 14.65 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 (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.001/0.5867, allocations: 368.8 kB / 0.4893 GB, free: 14.29 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001979/0.5869, allocations: 59.91 kB / 0.4894 GB, free: 14.23 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5869, allocations: 0 / 0.4894 GB, free: 14.23 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.005e-05/0.587, allocations: 35.91 kB / 0.4894 GB, free: 14.2 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002722/0.5873, allocations: 20.11 kB / 0.4895 GB, free: 14.18 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006319/0.5879, allocations: 390.9 kB / 0.4898 GB, free: 13.76 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003472/0.5883, allocations: 0.6965 MB / 0.4905 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.98e-05/0.5883, allocations: 23.38 kB / 0.4905 GB, free: 13.02 MB / 414.1 MB Notification: Performance of SimCode: time 2.4e-07/0.5883, allocations: 0 / 0.4905 GB, free: 13.02 MB / 414.1 MB Notification: Performance of Templates: time 0.006889/0.5952, allocations: 3.966 MB / 0.4944 GB, free: 9.059 MB / 414.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile make -j1 -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.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_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TXCalcHelperMain.o OMCppModelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TXCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TXCalcHelperMain.o] Error 1