Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.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.SolveOneNonlinearEquation.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 98.39 kB / 17.96 MB, free: 5.77 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.001598/0.001598, allocations: 177.3 kB / 18.86 MB, free: 4.906 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.998/1.998, allocations: 205.4 MB / 225 MB, free: 13.08 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.0004889/0.0004889, allocations: 8 kB / 282 MB, free: 3.426 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1351, allocations: 47.58 MB / 329.6 MB, free: 3.773 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002011/0.1372, allocations: 1.093 MB / 330.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.5454/0.6827, allocations: 146.9 MB / 477.6 MB, free: 5.762 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.775e-05/0.6828, allocations: 0 / 477.6 MB, free: 5.762 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 5.028e-05/0.6828, allocations: 3.984 kB / 477.6 MB, free: 5.758 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001299/0.6841, allocations: 324.4 kB / 478 MB, free: 5.445 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001885/0.686, allocations: 0.6957 MB / 478.7 MB, free: 4.75 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001253/0.6862, allocations: 91.67 kB / 478.7 MB, free: 4.66 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.875e-05/0.6862, allocations: 7.938 kB / 478.7 MB, free: 4.652 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.249e-05/0.6863, allocations: 39.84 kB / 478.8 MB, free: 4.613 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.844e-05/0.6864, allocations: 31.91 kB / 478.8 MB, free: 4.582 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.6864, allocations: 3.938 kB / 478.8 MB, free: 4.578 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0027/0.6891, allocations: 1.52 MB / 480.3 MB, free: 3.055 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.141e-05/0.6892, allocations: 11.98 kB / 480.4 MB, free: 3.043 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.721e-05/0.6893, allocations: 61.55 kB / 480.4 MB, free: 2.977 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00105/0.6903, allocations: 0.6137 MB / 481 MB, free: 2.363 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.6903, allocations: 0 / 481 MB, free: 2.363 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.6903, allocations: 0 / 481 MB, free: 2.363 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.6904, allocations: 4 kB / 481 MB, free: 2.359 MB / 366.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.0007185/0.6911, allocations: 467.7 kB / 481.5 MB, free: 1.855 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.6911, allocations: 8.031 kB / 481.5 MB, free: 1.848 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00035/0.6915, allocations: 36.89 kB / 481.5 MB, free: 1.812 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002266/0.6917, allocations: 192.2 kB / 481.7 MB, free: 1.586 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.6918, allocations: 4.562 kB / 481.7 MB, free: 1.582 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.898e-05/0.6918, allocations: 11.94 kB / 481.7 MB, free: 1.57 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001829/0.692, allocations: 75.31 kB / 481.8 MB, free: 1.484 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.692, allocations: 0 / 481.8 MB, free: 1.484 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.6921, allocations: 0 / 481.8 MB, free: 1.484 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.6921, allocations: 4 kB / 481.8 MB, free: 1.48 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001066/0.6922, allocations: 39.97 kB / 481.9 MB, free: 1.441 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002621/0.6925, allocations: 194.5 kB / 482 MB, free: 1.199 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003481/0.6928, allocations: 117.1 kB / 482.2 MB, free: 1.066 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000111/0.6929, allocations: 37.7 kB / 482.2 MB, free: 1.023 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006913/0.6936, allocations: 133 kB / 482.3 MB, free: 0.875 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.875e-05/0.6937, allocations: 39.39 kB / 482.4 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.6937, allocations: 4 kB / 482.4 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003821/0.6941, allocations: 113.9 kB / 482.5 MB, free: 0.707 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001925/0.6943, allocations: 81.11 kB / 482.6 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001615/0.6945, allocations: 142.8 kB / 482.7 MB, free: 472 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.6945, allocations: 25.7 kB / 482.7 MB, free: 440 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.098e-05/0.6946, allocations: 88.12 kB / 482.8 MB, free: 348 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.072e-05/0.6946, allocations: 27.58 kB / 482.8 MB, free: 320 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.025e-05/0.6946, allocations: 17.72 kB / 482.9 MB, free: 296 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.6948, allocations: 322.8 kB / 483.2 MB, free: 15.96 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.653e-05/0.6949, allocations: 19.98 kB / 483.2 MB, free: 15.95 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.985e-05/0.695, allocations: 51.42 kB / 483.2 MB, free: 15.88 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001646/0.6952, allocations: 87.31 kB / 483.3 MB, free: 15.79 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.6952, allocations: 0 / 483.3 MB, free: 15.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002575/0.6955, allocations: 121.4 kB / 483.4 MB, free: 15.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.6955, allocations: 8 kB / 483.4 MB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.6955, allocations: 0 / 483.4 MB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.6955, allocations: 0 / 483.4 MB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.721e-05/0.6956, allocations: 16 kB / 483.5 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.667e-06/0.6956, allocations: 3.938 kB / 483.5 MB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.831e-05/0.6957, allocations: 7.984 kB / 483.5 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.6957, allocations: 0 / 483.5 MB, free: 15.62 MB / 382.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001088/0.6958, allocations: 117.9 kB / 483.6 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.054e-05/0.6959, allocations: 11.84 kB / 483.6 MB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002667/0.6961, allocations: 114.8 kB / 483.7 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.6961, allocations: 0 / 483.7 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.6961, allocations: 0 / 483.7 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.6962, allocations: 7.984 kB / 483.7 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000173/0.6963, allocations: 186.3 kB / 483.9 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.6963, allocations: 0 / 483.9 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.878e-05/0.6964, allocations: 15.98 kB / 483.9 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.6964, allocations: 4 kB / 483.9 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.6965, allocations: 0 / 483.9 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.6965, allocations: 3.5 kB / 483.9 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.6965, allocations: 4 kB / 483.9 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003464/0.6968, allocations: 165.7 kB / 484.1 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.809e-05/0.6969, allocations: 97.02 kB / 484.2 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.6969, allocations: 4.062 kB / 484.2 MB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.949e-05/0.697, allocations: 4 kB / 484.2 MB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.088e-05/0.697, allocations: 8 kB / 484.2 MB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.697, allocations: 3.984 kB / 484.2 MB, free: 14.8 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.621e-05/0.6971, allocations: 111.3 kB / 484.3 MB, free: 14.69 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6971, allocations: 0 / 484.3 MB, free: 14.69 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007289/0.6979, allocations: 203.8 kB / 484.5 MB, free: 14.49 MB / 382.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 (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.001361/0.6992, allocations: 0.5155 MB / 485 MB, free: 13.96 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002126/0.6995, allocations: 67.95 kB / 485.1 MB, free: 13.9 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.6995, allocations: 0 / 485.1 MB, free: 13.9 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.764e-05/0.6996, allocations: 31.92 kB / 485.1 MB, free: 13.87 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002873/0.6999, allocations: 27.2 kB / 485.2 MB, free: 13.84 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000623/0.7005, allocations: 390.8 kB / 485.5 MB, free: 13.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003177/0.7008, allocations: 0.6926 MB / 486.2 MB, free: 12.71 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.179e-05/0.7009, allocations: 19.42 kB / 486.2 MB, free: 12.69 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.7009, allocations: 4 kB / 486.3 MB, free: 12.69 MB / 382.1 MB Notification: Performance of Templates: time 0.008652/0.7095, allocations: 4.795 MB / 491 MB, free: 7.891 MB / 382.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.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.SolveOneNonlinearEquation.Inverse_sh_TXCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TXCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TXCalcHelperMain.o] Error 1