Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x_zero",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008696/0.0008696, allocations: 93.53 kB / 17.63 MB, free: 6.156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009558/0.0009558, allocations: 198.2 kB / 18.54 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.538/1.538, allocations: 227.3 MB / 246.6 MB, free: 12.01 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002941/0.0002941, allocations: 8 kB / 307.3 MB, free: 1.637 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1364, allocations: 51.48 MB / 358.8 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.000723/0.1372, allocations: 225.2 kB / 359 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0019/0.1391, allocations: 1.397 MB / 360.4 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.967e-05/0.1391, allocations: 0 / 360.4 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.641e-05/0.1391, allocations: 3.938 kB / 360.4 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.087e-05/0.1392, allocations: 0 / 360.4 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006114/0.1398, allocations: 150.8 kB / 360.6 MB, free: 12.37 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.309e-05/0.1399, allocations: 11.98 kB / 360.6 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.614e-05/0.1399, allocations: 0 / 360.6 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.467e-05/0.14, allocations: 11.94 kB / 360.6 MB, free: 12.35 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.224e-05/0.1401, allocations: 7.984 kB / 360.6 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.361e-05/0.1401, allocations: 3.938 kB / 360.6 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002068/0.1403, allocations: 111.8 kB / 360.7 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.284e-05/0.1403, allocations: 11.98 kB / 360.7 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.769e-05/0.1404, allocations: 25.7 kB / 360.7 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001734/0.1405, allocations: 75.89 kB / 360.8 MB, free: 12.11 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.1406, allocations: 0 / 360.8 MB, free: 12.11 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.1406, allocations: 4 kB / 360.8 MB, free: 12.11 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.1406, allocations: 0 / 360.8 MB, free: 12.11 MB / 302.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.0004145/0.141, allocations: 339.3 kB / 361.1 MB, free: 11.73 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.36e-05/0.1411, allocations: 12.03 kB / 361.2 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001952/0.1413, allocations: 4 kB / 361.2 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001608/0.1414, allocations: 163.3 kB / 361.3 MB, free: 11.51 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.1414, allocations: 0 / 361.3 MB, free: 11.51 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.34e-05/0.1415, allocations: 3.953 kB / 361.3 MB, free: 11.51 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.1416, allocations: 37.69 kB / 361.4 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.1416, allocations: 0 / 361.4 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.1416, allocations: 0 / 361.4 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.1417, allocations: 0 / 361.4 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.562e-05/0.1417, allocations: 4 kB / 361.4 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006222/0.1423, allocations: 481 kB / 361.8 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001051/0.1424, allocations: 173.1 kB / 362 MB, free: 10.74 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.531e-05/0.1425, allocations: 80.14 kB / 362.1 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.052e-05/0.1425, allocations: 75.28 kB / 362.2 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.735e-05/0.1426, allocations: 109.8 kB / 362.3 MB, free: 10.47 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 8.31e-07/0.1426, allocations: 0 / 362.3 MB, free: 10.47 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 8.709e-05/0.1427, allocations: 33.55 kB / 362.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/0.1428, allocations: 160.3 kB / 362.5 MB, free: 10.25 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.1429, allocations: 117.8 kB / 362.6 MB, free: 10.13 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.1429, allocations: 25.7 kB / 362.6 MB, free: 10.1 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.419e-05/0.143, allocations: 80.14 kB / 362.7 MB, free: 10.02 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.316e-06/0.143, allocations: 0 / 362.7 MB, free: 10.02 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-06/0.143, allocations: 0 / 362.7 MB, free: 10.02 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.1432, allocations: 322.8 kB / 363 MB, free: 9.691 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.056e-05/0.1432, allocations: 0 / 363 MB, free: 9.691 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.718e-05/0.1432, allocations: 4 kB / 363 MB, free: 9.688 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.187e-05/0.1432, allocations: 4.094 kB / 363 MB, free: 9.684 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.1432, allocations: 3.953 kB / 363 MB, free: 9.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001155/0.1434, allocations: 33.7 kB / 363 MB, free: 9.641 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.1434, allocations: 7.984 kB / 363 MB, free: 9.633 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.1434, allocations: 4 kB / 363 MB, free: 9.629 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.1434, allocations: 3.938 kB / 363 MB, free: 9.625 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.32e-05/0.1435, allocations: 0 / 363 MB, free: 9.625 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.1435, allocations: 0 / 363 MB, free: 9.625 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.555e-05/0.1435, allocations: 8 kB / 363.1 MB, free: 9.617 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.1436, allocations: 4.031 kB / 363.1 MB, free: 9.613 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.0001301/0.1437, allocations: 181.1 kB / 363.2 MB, free: 9.426 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.358e-05/0.1438, allocations: 112.8 kB / 363.3 MB, free: 9.309 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.249e-05/0.1439, allocations: 112.4 kB / 363.5 MB, free: 9.188 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.258e-05/0.1439, allocations: 180.3 kB / 363.6 MB, free: 9.004 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.023e-05/0.144, allocations: 180.5 kB / 363.8 MB, free: 8.82 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.042e-05/0.1441, allocations: 184.2 kB / 364 MB, free: 8.633 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002599/0.1444, allocations: 409.2 kB / 364.4 MB, free: 8.176 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.206e-05/0.1445, allocations: 104.9 kB / 364.5 MB, free: 8.066 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.538e-05/0.1445, allocations: 108.9 kB / 364.6 MB, free: 7.953 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.458e-05/0.1446, allocations: 180.3 kB / 364.8 MB, free: 7.77 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.641e-05/0.1447, allocations: 188.2 kB / 365 MB, free: 7.578 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.771e-05/0.1448, allocations: 180.2 kB / 365.1 MB, free: 7.395 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.476e-05/0.1449, allocations: 180.2 kB / 365.3 MB, free: 7.211 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001845/0.1451, allocations: 303.8 kB / 365.6 MB, free: 6.891 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.1452, allocations: 186 kB / 365.8 MB, free: 6.684 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.977e-05/0.1453, allocations: 192.2 kB / 366 MB, free: 6.488 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/0.1454, allocations: 108.9 kB / 366.1 MB, free: 6.375 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.783e-05/0.1455, allocations: 184.2 kB / 366.3 MB, free: 6.188 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.925e-05/0.1455, allocations: 101 kB / 366.4 MB, free: 6.082 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.735e-05/0.1456, allocations: 91.27 kB / 366.4 MB, free: 5.992 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1456, allocations: 3.938 kB / 366.5 MB, free: 5.988 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003224/0.1459, allocations: 40 kB / 366.5 MB, free: 5.949 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.0005235/0.1465, allocations: 252.6 kB / 366.7 MB, free: 5.707 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 8.297e-05/0.1466, allocations: 4 kB / 366.7 MB, free: 5.703 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.1466, allocations: 4.062 kB / 366.7 MB, free: 5.699 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.523e-06/0.1466, allocations: 0 / 366.7 MB, free: 5.699 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000463/0.147, allocations: 0.5185 MB / 367.3 MB, free: 5.176 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003625/0.1474, allocations: 184.1 kB / 367.4 MB, free: 4.961 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003703/0.1478, allocations: 0.6809 MB / 368.1 MB, free: 4.254 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.16e-05/0.1478, allocations: 11.38 kB / 368.1 MB, free: 4.242 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1478, allocations: 4 kB / 368.1 MB, free: 4.238 MB / 302.1 MB Notification: Performance of Templates: time 0.003704/0.1515, allocations: 0.9999 MB / 369.1 MB, free: 3.242 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.makefile make -j1 -f Modelica_trunk_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 trunk/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 trunk/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sineCalcHelperMain.o OMCppModelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sineCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sineCalcHelperMain.o] Error 1