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.0009803/0.0009803, allocations: 92.55 kB / 17.58 MB, free: 5.801 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.001112/0.001112, allocations: 181 kB / 18.48 MB, free: 5.254 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.665/1.665, allocations: 205.4 MB / 224.6 MB, free: 13.15 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.0004408/0.0004408, allocations: 11.44 kB / 281.4 MB, free: 3.73 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1088, allocations: 47.58 MB / 329 MB, free: 4.078 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.001492/0.1104, allocations: 1.078 MB / 330.1 MB, free: 2.988 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.4358/0.5462, allocations: 136.9 MB / 467 MB, free: 184 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.936e-05/0.5463, allocations: 4 kB / 467 MB, free: 180 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.227e-05/0.5463, allocations: 3.984 kB / 467 MB, free: 176 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001436/0.5478, allocations: 239.7 kB / 467.2 MB, free: 15.94 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002647/0.5504, allocations: 0.5866 MB / 467.8 MB, free: 15.36 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001778/0.5506, allocations: 79.62 kB / 467.9 MB, free: 15.28 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.277e-05/0.5507, allocations: 0 / 467.9 MB, free: 15.28 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.809e-05/0.5508, allocations: 39.84 kB / 467.9 MB, free: 15.24 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001477/0.551, allocations: 35.89 kB / 468 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.972e-05/0.551, allocations: 4 kB / 468 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003194/0.5542, allocations: 1.045 MB / 469 MB, free: 14.15 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.021e-05/0.5543, allocations: 19.91 kB / 469 MB, free: 14.13 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.146e-05/0.5544, allocations: 33.7 kB / 469.1 MB, free: 14.09 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001208/0.5556, allocations: 0.5239 MB / 469.6 MB, free: 13.57 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.269e-06/0.5556, allocations: 0 / 469.6 MB, free: 13.57 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.5556, allocations: 0 / 469.6 MB, free: 13.57 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.5556, allocations: 4 kB / 469.6 MB, free: 13.57 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.0008769/0.5565, allocations: 475.4 kB / 470 MB, free: 13.05 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.157e-05/0.5566, allocations: 12.02 kB / 470.1 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004472/0.5571, allocations: 27.97 kB / 470.1 MB, free: 13.02 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002589/0.5573, allocations: 206.8 kB / 470.3 MB, free: 12.77 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.5574, allocations: 1.031 kB / 470.3 MB, free: 12.77 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.577e-05/0.5574, allocations: 4 kB / 470.3 MB, free: 12.77 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002354/0.5576, allocations: 75.39 kB / 470.4 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.5577, allocations: 0 / 470.4 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.5577, allocations: 0 / 470.4 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.5577, allocations: 4 kB / 470.4 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001439/0.5579, allocations: 43.89 kB / 470.4 MB, free: 12.64 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003272/0.5582, allocations: 198.5 kB / 470.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004549/0.5587, allocations: 113.2 kB / 470.7 MB, free: 12.26 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001076/0.5588, allocations: 33.7 kB / 470.7 MB, free: 12.22 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000642/0.5594, allocations: 141 kB / 470.9 MB, free: 12.07 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.583e-05/0.5595, allocations: 34.5 kB / 470.9 MB, free: 12.02 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.5595, allocations: 0 / 470.9 MB, free: 12.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004973/0.56, allocations: 117.5 kB / 471 MB, free: 11.9 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.751e-05/0.5601, allocations: 85.09 kB / 471.1 MB, free: 11.8 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001821/0.5603, allocations: 141.8 kB / 471.3 MB, free: 11.65 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.5604, allocations: 25.7 kB / 471.3 MB, free: 11.62 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.092e-05/0.5604, allocations: 92.14 kB / 471.4 MB, free: 11.53 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.039e-05/0.5605, allocations: 23.66 kB / 471.4 MB, free: 11.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.56e-06/0.5605, allocations: 0 / 471.4 MB, free: 11.5 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001894/0.5607, allocations: 318.8 kB / 471.7 MB, free: 11.18 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.429e-05/0.5608, allocations: 23.98 kB / 471.7 MB, free: 11.16 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001216/0.5609, allocations: 55.34 kB / 471.8 MB, free: 11.09 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001037/0.5611, allocations: 27.98 kB / 471.8 MB, free: 11.07 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/0.5611, allocations: 3.953 kB / 471.8 MB, free: 11.06 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003381/0.5614, allocations: 105.6 kB / 471.9 MB, free: 10.95 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.5615, allocations: 8 kB / 471.9 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.5615, allocations: 0.875 kB / 471.9 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.5615, allocations: 0 / 471.9 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.907e-05/0.5616, allocations: 19.92 kB / 471.9 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/0.5616, allocations: 8.062 kB / 472 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.821e-05/0.5617, allocations: 3.906 kB / 472 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.5617, allocations: 4 kB / 472 MB, free: 10.91 MB / 366.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.0001176/0.5619, allocations: 113.8 kB / 472.1 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.487e-05/0.562, allocations: 11.86 kB / 472.1 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003358/0.5623, allocations: 116.3 kB / 472.2 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.5623, allocations: 0.9062 kB / 472.2 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.5623, allocations: 7.984 kB / 472.2 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.5624, allocations: 0 / 472.2 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002156/0.5626, allocations: 189.6 kB / 472.4 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.5626, allocations: 0 / 472.4 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001116/0.5627, allocations: 19.88 kB / 472.4 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.215e-05/0.5627, allocations: 4 kB / 472.4 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.5628, allocations: 0 / 472.4 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.5628, allocations: 0 / 472.4 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/0.5628, allocations: 3.938 kB / 472.4 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004522/0.5632, allocations: 165.8 kB / 472.6 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.579e-05/0.5634, allocations: 93.03 kB / 472.7 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.929e-05/0.5634, allocations: 3.953 kB / 472.7 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.282e-05/0.5635, allocations: 7.938 kB / 472.7 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.132e-05/0.5635, allocations: 7.984 kB / 472.7 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.909e-06/0.5636, allocations: 4 kB / 472.7 MB, free: 10.08 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001103/0.5637, allocations: 115.2 kB / 472.8 MB, free: 9.969 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5637, allocations: 12 kB / 472.8 MB, free: 9.957 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009077/0.5646, allocations: 191.8 kB / 473 MB, free: 9.77 MB / 366.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.001511/0.5661, allocations: 450.7 kB / 473.4 MB, free: 9.328 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002518/0.5664, allocations: 63.91 kB / 473.5 MB, free: 9.266 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.5664, allocations: 0 / 473.5 MB, free: 9.266 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.5665, allocations: 36.09 kB / 473.5 MB, free: 9.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003659/0.5669, allocations: 19.98 kB / 473.6 MB, free: 9.211 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008609/0.5678, allocations: 399.3 kB / 474 MB, free: 8.789 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003924/0.5682, allocations: 0.6887 MB / 474.6 MB, free: 8.074 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.665e-05/0.5683, allocations: 15.44 kB / 474.7 MB, free: 8.059 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.5683, allocations: 0 / 474.7 MB, free: 8.059 MB / 366.1 MB Notification: Performance of Templates: time 0.01151/0.5798, allocations: 4.759 MB / 479.4 MB, free: 3.297 MB / 366.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++ 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.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