Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001013/0.001013, allocations: 90.89 kB / 16.95 MB, free: 5.953 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.00123/0.00123, allocations: 178.5 kB / 17.84 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.516/1.516, allocations: 223.2 MB / 241.8 MB, free: 304 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002989/0.0002989, allocations: 8.625 kB / 301.4 MB, free: 6.461 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1327, allocations: 50.43 MB / 351.9 MB, free: 4.02 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.0006933/0.1335, allocations: 226.1 kB / 352.1 MB, free: 3.801 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002046/0.1355, allocations: 1.34 MB / 353.4 MB, free: 2.445 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.069e-05/0.1355, allocations: 0 / 353.4 MB, free: 2.445 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.161e-05/0.1356, allocations: 0 / 353.4 MB, free: 2.445 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 4.086e-05/0.1356, allocations: 3.938 kB / 353.4 MB, free: 2.441 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005624/0.1362, allocations: 139 kB / 353.6 MB, free: 2.309 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 5.173e-05/0.1362, allocations: 15.92 kB / 353.6 MB, free: 2.293 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.748e-05/0.1363, allocations: 3.984 kB / 353.6 MB, free: 2.289 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.291e-05/0.1364, allocations: 4 kB / 353.6 MB, free: 2.285 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.138e-05/0.1364, allocations: 19.92 kB / 353.6 MB, free: 2.266 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.47e-05/0.1365, allocations: 0 / 353.6 MB, free: 2.266 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001868/0.1367, allocations: 103.9 kB / 353.7 MB, free: 2.164 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.222e-05/0.1367, allocations: 7.922 kB / 353.7 MB, free: 2.156 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.767e-05/0.1367, allocations: 29.7 kB / 353.8 MB, free: 2.121 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001448/0.1369, allocations: 71.91 kB / 353.8 MB, free: 2.051 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1369, allocations: 0 / 353.8 MB, free: 2.051 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1369, allocations: 0 / 353.8 MB, free: 2.051 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.1369, allocations: 0 / 353.8 MB, free: 2.051 MB / 286.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.0003524/0.1373, allocations: 339.3 kB / 354.2 MB, free: 1.672 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.1373, allocations: 12.03 kB / 354.2 MB, free: 1.66 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.874e-05/0.1374, allocations: 7.938 kB / 354.2 MB, free: 1.652 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001353/0.1375, allocations: 171.1 kB / 354.3 MB, free: 1.445 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.1375, allocations: 4 kB / 354.3 MB, free: 1.441 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.326e-06/0.1375, allocations: 0 / 354.3 MB, free: 1.441 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001154/0.1377, allocations: 33.64 kB / 354.4 MB, free: 1.402 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.1377, allocations: 0 / 354.4 MB, free: 1.402 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.1377, allocations: 0 / 354.4 MB, free: 1.402 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.1377, allocations: 0 / 354.4 MB, free: 1.402 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.61e-05/0.1377, allocations: 11.94 kB / 354.4 MB, free: 1.391 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005022/0.1382, allocations: 465.3 kB / 354.8 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001025/0.1384, allocations: 173.2 kB / 355 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.387e-05/0.1384, allocations: 84.08 kB / 355.1 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.555e-05/0.1385, allocations: 75.28 kB / 355.2 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.715e-05/0.1385, allocations: 113.8 kB / 355.3 MB, free: 416 kB / 286.1 MB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.1385, allocations: 0 / 355.3 MB, free: 416 kB / 286.1 MB Notification: Performance of matching and sorting (n=0): time 8.147e-05/0.1386, allocations: 37.56 kB / 355.3 MB, free: 372 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.135e-05/0.1387, allocations: 152.4 kB / 355.5 MB, free: 200 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.1388, allocations: 109.8 kB / 355.6 MB, free: 80 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.1389, allocations: 25.7 kB / 355.6 MB, free: 48 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.439e-05/0.1389, allocations: 88.08 kB / 355.7 MB, free: 15.96 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.034e-06/0.139, allocations: 3.938 kB / 355.7 MB, free: 15.95 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.886e-06/0.139, allocations: 7.938 kB / 355.7 MB, free: 15.95 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.1391, allocations: 314.8 kB / 356 MB, free: 15.63 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.419e-05/0.1391, allocations: 3.938 kB / 356 MB, free: 15.62 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.448e-05/0.1392, allocations: 4 kB / 356 MB, free: 15.62 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.506e-05/0.1392, allocations: 7.984 kB / 356 MB, free: 15.61 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1392, allocations: 0 / 356 MB, free: 15.61 MB / 302.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001083/0.1393, allocations: 33.7 kB / 356 MB, free: 15.57 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.1393, allocations: 4 kB / 356.1 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1393, allocations: 128 / 356.1 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.1394, allocations: 7.953 kB / 356.1 MB, free: 15.56 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.927e-05/0.1394, allocations: 4 kB / 356.1 MB, free: 15.56 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.1394, allocations: 0 / 356.1 MB, free: 15.56 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.191e-05/0.1395, allocations: 0 / 356.1 MB, free: 15.56 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/0.1395, allocations: 3.984 kB / 356.1 MB, free: 15.55 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001273/0.1396, allocations: 189.1 kB / 356.3 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.1398, allocations: 108.8 kB / 356.4 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.213e-05/0.1398, allocations: 112.5 kB / 356.5 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.2e-05/0.1399, allocations: 180.2 kB / 356.6 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.128e-05/0.14, allocations: 184.2 kB / 356.8 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.257e-05/0.1401, allocations: 188.2 kB / 357 MB, free: 14.56 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002973/0.1404, allocations: 401.2 kB / 357.4 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-05/0.1405, allocations: 105 kB / 357.5 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.64e-05/0.1405, allocations: 112.9 kB / 357.6 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.451e-05/0.1406, allocations: 176.3 kB / 357.8 MB, free: 13.71 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.076e-05/0.1407, allocations: 180.5 kB / 358 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.994e-05/0.1408, allocations: 192.2 kB / 358.1 MB, free: 13.33 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.077e-05/0.1409, allocations: 176.3 kB / 358.3 MB, free: 13.15 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001845/0.1411, allocations: 311.7 kB / 358.6 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.068e-05/0.1412, allocations: 182.1 kB / 358.8 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/0.1413, allocations: 184.2 kB / 359 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.1414, allocations: 101 kB / 359.1 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.915e-05/0.1415, allocations: 188.2 kB / 359.3 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.805e-05/0.1416, allocations: 101 kB / 359.4 MB, free: 12.03 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.886e-05/0.1416, allocations: 95.22 kB / 359.5 MB, free: 11.93 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.134e-06/0.1416, allocations: 0 / 359.5 MB, free: 11.93 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000297/0.1419, allocations: 39.94 kB / 359.5 MB, free: 11.89 MB / 302.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 (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.0005054/0.1425, allocations: 244.2 kB / 359.7 MB, free: 11.66 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 8.615e-05/0.1426, allocations: 11.94 kB / 359.7 MB, free: 11.65 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1426, allocations: 0 / 359.7 MB, free: 11.65 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.633e-06/0.1426, allocations: 0 / 359.7 MB, free: 11.65 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005225/0.1431, allocations: 0.5186 MB / 360.3 MB, free: 11.13 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002879/0.1434, allocations: 191.8 kB / 360.5 MB, free: 10.91 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003971/0.1438, allocations: 0.677 MB / 361.1 MB, free: 10.2 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.096e-05/0.1438, allocations: 7.438 kB / 361.1 MB, free: 10.2 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1438, allocations: 0 / 361.1 MB, free: 10.2 MB / 302.1 MB Notification: Performance of Templates: time 0.003555/0.1474, allocations: 0.9603 MB / 362.1 MB, free: 9.234 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.makefile make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sineCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sineCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sineCalcHelperMain.o] Error 1