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.001282/0.001282, allocations: 105.4 kB / 17.8 MB, free: 5.688 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.001446/0.001446, allocations: 197.9 kB / 18.73 MB, free: 4.77 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.853/1.853, allocations: 205.1 MB / 224.6 MB, free: 12.47 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.001188/0.001188, allocations: 51.92 kB / 280.6 MB, free: 3.586 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1304, allocations: 46.63 MB / 327.2 MB, free: 4.898 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.003054/0.1336, allocations: 1.424 MB / 328.7 MB, free: 3.457 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.5025/0.6361, allocations: 148.5 MB / 477.2 MB, free: 1.676 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.937e-05/0.6364, allocations: 0 / 477.2 MB, free: 1.676 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 7.641e-05/0.6365, allocations: 7.922 kB / 477.2 MB, free: 1.668 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00179/0.6383, allocations: 311.8 kB / 477.5 MB, free: 1.367 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002706/0.641, allocations: 0.7074 MB / 478.2 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001938/0.6412, allocations: 83.69 kB / 478.3 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.509e-05/0.6413, allocations: 11.94 kB / 478.3 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.574e-05/0.6413, allocations: 31.84 kB / 478.3 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001349/0.6415, allocations: 43.78 kB / 478.4 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.142e-05/0.6415, allocations: 3.984 kB / 478.4 MB, free: 500 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003076/0.6446, allocations: 1.52 MB / 479.9 MB, free: 14.96 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.487e-05/0.6447, allocations: 19.91 kB / 479.9 MB, free: 14.95 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.585e-05/0.6448, allocations: 23.88 kB / 480 MB, free: 14.92 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001043/0.6458, allocations: 0.6121 MB / 480.6 MB, free: 14.31 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.6458, allocations: 0 / 480.6 MB, free: 14.31 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.6458, allocations: 4 kB / 480.6 MB, free: 14.3 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.694e-06/0.6459, allocations: 3.281 kB / 480.6 MB, free: 14.3 MB / 382.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.0008491/0.6467, allocations: 479.7 kB / 481 MB, free: 13.79 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.465e-05/0.6468, allocations: 12.03 kB / 481.1 MB, free: 13.78 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003971/0.6472, allocations: 36.8 kB / 481.1 MB, free: 13.74 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002611/0.6474, allocations: 196.2 kB / 481.3 MB, free: 13.51 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.052e-05/0.6475, allocations: 0.5625 kB / 481.3 MB, free: 13.51 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.575e-05/0.6475, allocations: 11.88 kB / 481.3 MB, free: 13.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002128/0.6477, allocations: 71.38 kB / 481.4 MB, free: 13.42 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.6478, allocations: 0.875 kB / 481.4 MB, free: 13.42 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.673e-05/0.6478, allocations: 4 kB / 481.4 MB, free: 13.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.6478, allocations: 4 kB / 481.4 MB, free: 13.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001308/0.6479, allocations: 39.97 kB / 481.4 MB, free: 13.37 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002984/0.6483, allocations: 198.5 kB / 481.6 MB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003884/0.6486, allocations: 105.2 kB / 481.7 MB, free: 13 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.093e-05/0.6488, allocations: 45.7 kB / 481.8 MB, free: 12.95 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007027/0.6495, allocations: 137 kB / 481.9 MB, free: 12.8 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.195e-05/0.6495, allocations: 38.5 kB / 481.9 MB, free: 12.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.365e-06/0.6495, allocations: 0 / 481.9 MB, free: 12.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004714/0.65, allocations: 121.8 kB / 482 MB, free: 12.63 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.439e-05/0.6501, allocations: 77.11 kB / 482.1 MB, free: 12.54 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002238/0.6503, allocations: 141.8 kB / 482.3 MB, free: 12.39 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.393e-05/0.6504, allocations: 25.7 kB / 482.3 MB, free: 12.36 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.383e-05/0.6504, allocations: 88.14 kB / 482.4 MB, free: 12.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.41e-05/0.6505, allocations: 31.58 kB / 482.4 MB, free: 12.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.792e-05/0.6506, allocations: 21.72 kB / 482.4 MB, free: 12.21 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001861/0.6508, allocations: 318.8 kB / 482.7 MB, free: 11.89 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.908e-05/0.6508, allocations: 23.98 kB / 482.8 MB, free: 11.86 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.959e-05/0.651, allocations: 50.11 kB / 482.8 MB, free: 11.8 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001906/0.6512, allocations: 87.33 kB / 482.9 MB, free: 11.71 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.6512, allocations: 4 kB / 482.9 MB, free: 11.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002668/0.6514, allocations: 105.5 kB / 483 MB, free: 11.59 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.564e-05/0.6515, allocations: 7.984 kB / 483 MB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.6515, allocations: 4.062 kB / 483 MB, free: 11.58 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.291e-05/0.6515, allocations: 8.5 kB / 483 MB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.367e-05/0.6516, allocations: 12 kB / 483 MB, free: 11.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.6516, allocations: 0 / 483 MB, free: 11.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.223e-05/0.6517, allocations: 11.89 kB / 483 MB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.6517, allocations: 0 / 483 MB, free: 11.55 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.000136/0.6518, allocations: 113.8 kB / 483.2 MB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.507e-05/0.6519, allocations: 15.78 kB / 483.2 MB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002951/0.6522, allocations: 115.9 kB / 483.3 MB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.6522, allocations: 0 / 483.3 MB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.959e-06/0.6522, allocations: 4 kB / 483.3 MB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.6522, allocations: 3.984 kB / 483.3 MB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002233/0.6525, allocations: 189.5 kB / 483.5 MB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.6525, allocations: 0 / 483.5 MB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001017/0.6526, allocations: 19.92 kB / 483.5 MB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.6526, allocations: 0 / 483.5 MB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.6526, allocations: 0 / 483.5 MB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.6526, allocations: 0 / 483.5 MB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.6527, allocations: 7.938 kB / 483.5 MB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003855/0.6531, allocations: 161.8 kB / 483.7 MB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/0.6532, allocations: 89.12 kB / 483.7 MB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.18e-05/0.6532, allocations: 0 / 483.7 MB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.556e-05/0.6533, allocations: 4 kB / 483.8 MB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.259e-05/0.6533, allocations: 7.984 kB / 483.8 MB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.744e-06/0.6533, allocations: 4.062 kB / 483.8 MB, free: 10.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001078/0.6535, allocations: 127.1 kB / 483.9 MB, free: 10.61 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6535, allocations: 0 / 483.9 MB, free: 10.61 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007664/0.6542, allocations: 207.8 kB / 484.1 MB, free: 10.41 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.001452/0.6557, allocations: 0.5038 MB / 484.6 MB, free: 9.898 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002298/0.6559, allocations: 63.89 kB / 484.7 MB, free: 9.836 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.6559, allocations: 0 / 484.7 MB, free: 9.836 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.087e-05/0.656, allocations: 36.11 kB / 484.7 MB, free: 9.801 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000288/0.6563, allocations: 23.92 kB / 484.7 MB, free: 9.777 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007683/0.6571, allocations: 353.4 kB / 485.1 MB, free: 9.402 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005139/0.6576, allocations: 0.6926 MB / 485.8 MB, free: 8.684 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.42e-05/0.6577, allocations: 15.44 kB / 485.8 MB, free: 8.668 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.6577, allocations: 0 / 485.8 MB, free: 8.668 MB / 382.1 MB Notification: Performance of Templates: time 0.008856/0.6666, allocations: 4.814 MB / 490.6 MB, free: 3.855 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