Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.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_sine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x_zero",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x_zero",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0012/0.0012, allocations: 101.5 kB / 17.8 MB, free: 5.676 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.001228/0.001229, allocations: 194 kB / 18.72 MB, free: 4.762 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.936/1.936, allocations: 205.1 MB / 224.6 MB, free: 12.46 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.00201/0.00201, allocations: 47.92 kB / 280.6 MB, free: 3.598 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1425, allocations: 46.64 MB / 327.2 MB, free: 4.898 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.006111/0.1486, allocations: 2.311 MB / 329.6 MB, free: 2.562 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001868/0.1505, allocations: 0.8083 MB / 330.4 MB, free: 1.746 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.752e-05/0.1507, allocations: 0 / 330.4 MB, free: 1.746 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001127/0.1508, allocations: 4 kB / 330.4 MB, free: 1.742 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001565/0.1509, allocations: 4 kB / 330.4 MB, free: 1.738 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007374/0.1517, allocations: 171.7 kB / 330.5 MB, free: 1.57 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 9.867e-05/0.1518, allocations: 19.92 kB / 330.6 MB, free: 1.551 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.304e-05/0.1519, allocations: 4 kB / 330.6 MB, free: 1.547 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.48e-05/0.1519, allocations: 11.88 kB / 330.6 MB, free: 1.535 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.916e-05/0.152, allocations: 19.91 kB / 330.6 MB, free: 1.516 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.152, allocations: 4 kB / 330.6 MB, free: 1.512 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003231/0.1524, allocations: 143.8 kB / 330.7 MB, free: 1.371 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.577e-05/0.1524, allocations: 0 / 330.7 MB, free: 1.371 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 3.463e-05/0.1524, allocations: 7.938 kB / 330.7 MB, free: 1.363 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000203/0.1526, allocations: 83.86 kB / 330.8 MB, free: 1.281 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1527, allocations: 4 kB / 330.8 MB, free: 1.277 MB / 270.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.1527, allocations: 0 / 330.8 MB, free: 1.277 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.1527, allocations: 0 / 330.8 MB, free: 1.277 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004796/0.1532, allocations: 347.8 kB / 331.2 MB, free: 0.8906 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.1532, allocations: 8.031 kB / 331.2 MB, free: 0.8828 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.736e-05/0.1533, allocations: 8.938 kB / 331.2 MB, free: 0.875 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000177/0.1534, allocations: 172.2 kB / 331.4 MB, free: 0.668 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.766e-06/0.1535, allocations: 4.375 kB / 331.4 MB, free: 0.6641 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.184e-05/0.1535, allocations: 384 / 331.4 MB, free: 0.6641 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001054/0.1536, allocations: 42 kB / 331.4 MB, free: 0.6172 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.1536, allocations: 0 / 331.4 MB, free: 0.6172 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.1536, allocations: 3.984 kB / 331.4 MB, free: 0.6133 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.1536, allocations: 0 / 331.4 MB, free: 0.6133 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.659e-05/0.1537, allocations: 8 kB / 331.4 MB, free: 0.6055 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004283/0.1541, allocations: 396 kB / 331.8 MB, free: 172 kB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.1542, allocations: 173.1 kB / 332 MB, free: 15.99 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.345e-05/0.1543, allocations: 88.08 kB / 332.1 MB, free: 15.9 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.033e-05/0.1543, allocations: 75.28 kB / 332.1 MB, free: 15.82 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.13e-05/0.1544, allocations: 113.8 kB / 332.2 MB, free: 15.7 MB / 286.1 MB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.1544, allocations: 0 / 332.2 MB, free: 15.7 MB / 286.1 MB Notification: Performance of matching and sorting (n=0): time 7.3e-05/0.1545, allocations: 29.64 kB / 332.3 MB, free: 15.67 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.252e-05/0.1546, allocations: 160.4 kB / 332.4 MB, free: 15.49 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.1548, allocations: 121.8 kB / 332.5 MB, free: 15.36 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.1548, allocations: 25.7 kB / 332.6 MB, free: 15.33 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.692e-05/0.1549, allocations: 84.14 kB / 332.7 MB, free: 15.25 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.457e-06/0.1549, allocations: 0 / 332.7 MB, free: 15.25 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.302e-05/0.1549, allocations: 17.7 kB / 332.7 MB, free: 15.22 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001868/0.1551, allocations: 314.8 kB / 333 MB, free: 14.91 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.734e-05/0.1552, allocations: 4 kB / 333 MB, free: 14.9 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.938e-05/0.1552, allocations: 8 kB / 333 MB, free: 14.89 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.133e-05/0.1552, allocations: 12.8 kB / 333 MB, free: 14.88 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1552, allocations: 0 / 333 MB, free: 14.88 MB / 286.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001234/0.1554, allocations: 45.62 kB / 333 MB, free: 14.83 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.1554, allocations: 4 kB / 333.1 MB, free: 14.82 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1554, allocations: 0 / 333.1 MB, free: 14.82 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.1554, allocations: 3.938 kB / 333.1 MB, free: 14.82 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.16e-05/0.1555, allocations: 4 kB / 333.1 MB, free: 14.82 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.1555, allocations: 4.125 kB / 333.1 MB, free: 14.81 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.493e-05/0.1555, allocations: 0 / 333.1 MB, free: 14.81 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.07e-05/0.1556, allocations: 3.984 kB / 333.1 MB, free: 14.81 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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.0001684/0.1558, allocations: 189.1 kB / 333.3 MB, free: 14.61 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002132/0.156, allocations: 108.9 kB / 333.4 MB, free: 14.5 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.78e-05/0.156, allocations: 120.3 kB / 333.5 MB, free: 14.38 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001889/0.1562, allocations: 176.3 kB / 333.6 MB, free: 14.2 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000192/0.1564, allocations: 188.2 kB / 333.8 MB, free: 14.01 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.878e-05/0.1565, allocations: 180.3 kB / 334 MB, free: 13.82 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003162/0.1569, allocations: 409.2 kB / 334.4 MB, free: 13.37 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001212/0.157, allocations: 104.9 kB / 334.5 MB, free: 13.26 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.534e-05/0.157, allocations: 101 kB / 334.6 MB, free: 13.15 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001273/0.1572, allocations: 188.2 kB / 334.8 MB, free: 12.96 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000104/0.1573, allocations: 184.3 kB / 335 MB, free: 12.77 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.897e-05/0.1574, allocations: 176.3 kB / 335.1 MB, free: 12.59 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.09e-05/0.1575, allocations: 184.1 kB / 335.3 MB, free: 12.41 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002004/0.1577, allocations: 315.7 kB / 335.6 MB, free: 12.07 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.1578, allocations: 182.1 kB / 335.8 MB, free: 11.87 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.952e-05/0.1579, allocations: 176.3 kB / 336 MB, free: 11.69 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.158, allocations: 104.9 kB / 336.1 MB, free: 11.58 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.1581, allocations: 188.2 kB / 336.3 MB, free: 11.39 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.812e-05/0.1582, allocations: 104.9 kB / 336.4 MB, free: 11.28 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.137e-05/0.1582, allocations: 95.28 kB / 336.5 MB, free: 11.19 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1583, allocations: 0 / 336.5 MB, free: 11.19 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003468/0.1586, allocations: 43.98 kB / 336.5 MB, free: 11.14 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * 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.0006393/0.1593, allocations: 273.9 kB / 336.8 MB, free: 10.88 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 8.725e-05/0.1594, allocations: 3.984 kB / 336.8 MB, free: 10.87 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.1594, allocations: 4 kB / 336.8 MB, free: 10.87 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.372e-06/0.1594, allocations: 0 / 336.8 MB, free: 10.87 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004406/0.1598, allocations: 0.5262 MB / 337.3 MB, free: 10.34 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000273/0.1601, allocations: 195.7 kB / 337.5 MB, free: 10.11 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003588/0.1605, allocations: 0.6809 MB / 338.2 MB, free: 9.406 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.602e-05/0.1605, allocations: 7.438 kB / 338.2 MB, free: 9.398 MB / 286.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1605, allocations: 0 / 338.2 MB, free: 9.398 MB / 286.1 MB Notification: Performance of Templates: time 0.003537/0.164, allocations: 1.124 MB / 339.3 MB, free: 8.273 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.makefile make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.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_sineCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sineCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sineCalcHelperMain.o] Error 1