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.0008766/0.0008766, allocations: 87.42 kB / 17.58 MB, free: 5.758 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.0009116/0.0009116, allocations: 186.4 kB / 18.48 MB, free: 5.203 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.657/1.657, allocations: 205.4 MB / 224.6 MB, free: 13.07 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.0005231/0.0005231, allocations: 8 kB / 281.4 MB, free: 3.738 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1265, allocations: 47.59 MB / 329 MB, free: 4.074 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.003011/0.1296, allocations: 1.887 MB / 330.9 MB, free: 2.168 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001261/0.1309, allocations: 0.7308 MB / 331.6 MB, free: 1.43 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.932e-05/0.1309, allocations: 0 / 331.6 MB, free: 1.43 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 7.158e-05/0.131, allocations: 8 kB / 331.6 MB, free: 1.422 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001385/0.1311, allocations: 0 / 331.6 MB, free: 1.422 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005505/0.1317, allocations: 171.7 kB / 331.8 MB, free: 1.254 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 7.71e-05/0.1318, allocations: 23.91 kB / 331.8 MB, free: 1.23 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.669e-05/0.1318, allocations: 0 / 331.8 MB, free: 1.23 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.897e-05/0.1319, allocations: 11.94 kB / 331.8 MB, free: 1.219 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.575e-05/0.132, allocations: 7.984 kB / 331.8 MB, free: 1.211 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.152e-05/0.132, allocations: 0 / 331.8 MB, free: 1.211 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000246/0.1323, allocations: 131.8 kB / 331.9 MB, free: 1.082 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.12e-05/0.1323, allocations: 3.984 kB / 332 MB, free: 1.078 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 2.43e-05/0.1323, allocations: 29.7 kB / 332 MB, free: 1.043 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.1325, allocations: 79.88 kB / 332.1 MB, free: 0.9648 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.067e-06/0.1325, allocations: 4 kB / 332.1 MB, free: 0.9609 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1325, allocations: 0 / 332.1 MB, free: 0.9609 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.1325, allocations: 0 / 332.1 MB, free: 0.9609 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.0003923/0.1329, allocations: 339.6 kB / 332.4 MB, free: 0.582 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.133, allocations: 12.03 kB / 332.4 MB, free: 0.5703 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.842e-05/0.133, allocations: 3.984 kB / 332.4 MB, free: 0.5664 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001704/0.1332, allocations: 171 kB / 332.6 MB, free: 368 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.1332, allocations: 11.95 kB / 332.6 MB, free: 356 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.768e-06/0.1332, allocations: 0 / 332.6 MB, free: 356 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/0.1333, allocations: 37.62 kB / 332.6 MB, free: 312 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.1333, allocations: 3.938 kB / 332.6 MB, free: 308 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.1334, allocations: 0 / 332.6 MB, free: 308 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.1334, allocations: 0 / 332.6 MB, free: 308 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.135e-05/0.1334, allocations: 4 kB / 332.6 MB, free: 304 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005057/0.1339, allocations: 408 kB / 333 MB, free: 15.85 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.134, allocations: 169.1 kB / 333.2 MB, free: 15.67 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.934e-05/0.1341, allocations: 80.14 kB / 333.3 MB, free: 15.59 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.54e-05/0.1341, allocations: 79.28 kB / 333.4 MB, free: 15.51 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.929e-05/0.1342, allocations: 113.8 kB / 333.5 MB, free: 15.39 MB / 286.1 MB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.1342, allocations: 4 kB / 333.5 MB, free: 15.39 MB / 286.1 MB Notification: Performance of matching and sorting (n=0): time 7.216e-05/0.1343, allocations: 25.7 kB / 333.5 MB, free: 15.36 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/0.1344, allocations: 156.4 kB / 333.6 MB, free: 15.18 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.1345, allocations: 121.7 kB / 333.8 MB, free: 15.05 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.1346, allocations: 25.7 kB / 333.8 MB, free: 15.02 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.949e-05/0.1346, allocations: 88.12 kB / 333.9 MB, free: 14.93 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.406e-06/0.1347, allocations: 4 kB / 333.9 MB, free: 14.93 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.766e-06/0.1347, allocations: 0 / 333.9 MB, free: 14.93 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.1348, allocations: 318.8 kB / 334.2 MB, free: 14.61 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.022e-05/0.1348, allocations: 0 / 334.2 MB, free: 14.61 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.546e-05/0.1348, allocations: 4 kB / 334.2 MB, free: 14.61 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.526e-05/0.1349, allocations: 8 kB / 334.2 MB, free: 14.6 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1349, allocations: 0 / 334.2 MB, free: 14.6 MB / 286.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000117/0.135, allocations: 41.59 kB / 334.2 MB, free: 14.55 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.135, allocations: 4 kB / 334.2 MB, free: 14.55 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.135, allocations: 0 / 334.2 MB, free: 14.55 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.1351, allocations: 0 / 334.2 MB, free: 14.55 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.583e-05/0.1351, allocations: 8.125 kB / 334.3 MB, free: 14.54 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.1351, allocations: 0 / 334.3 MB, free: 14.54 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.136e-05/0.1352, allocations: 0 / 334.3 MB, free: 14.54 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.751e-05/0.1352, allocations: 11.92 kB / 334.3 MB, free: 14.53 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001194/0.1353, allocations: 189.1 kB / 334.5 MB, free: 14.33 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.99e-05/0.1354, allocations: 105 kB / 334.6 MB, free: 14.22 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.375e-05/0.1355, allocations: 108.3 kB / 334.7 MB, free: 14.11 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.009e-05/0.1356, allocations: 184.2 kB / 334.8 MB, free: 13.93 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.511e-05/0.1357, allocations: 184.2 kB / 335 MB, free: 13.74 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.409e-05/0.1358, allocations: 188.2 kB / 335.2 MB, free: 13.55 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002717/0.136, allocations: 413.1 kB / 335.6 MB, free: 13.09 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.438e-05/0.1361, allocations: 101 kB / 335.7 MB, free: 12.98 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.895e-05/0.1362, allocations: 108.9 kB / 335.8 MB, free: 12.87 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.144e-05/0.1363, allocations: 184.2 kB / 336 MB, free: 12.68 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.432e-05/0.1364, allocations: 184.2 kB / 336.2 MB, free: 12.49 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.067e-05/0.1365, allocations: 176.3 kB / 336.3 MB, free: 12.31 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.753e-05/0.1365, allocations: 176.3 kB / 336.5 MB, free: 12.13 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001833/0.1367, allocations: 311.8 kB / 336.8 MB, free: 11.8 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.1368, allocations: 193.9 kB / 337 MB, free: 11.59 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.311e-05/0.1369, allocations: 176.3 kB / 337.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.137, allocations: 105 kB / 337.3 MB, free: 11.3 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.584e-05/0.1371, allocations: 188.2 kB / 337.5 MB, free: 11.11 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.355e-05/0.1372, allocations: 101 kB / 337.6 MB, free: 11 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.948e-05/0.1372, allocations: 95.27 kB / 337.7 MB, free: 10.91 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1373, allocations: 0 / 337.7 MB, free: 10.91 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002961/0.1376, allocations: 48 kB / 337.7 MB, free: 10.86 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 (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.0005453/0.1381, allocations: 264.2 kB / 338 MB, free: 10.61 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 7.408e-05/0.1382, allocations: 0 / 338 MB, free: 10.61 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.1382, allocations: 0 / 338 MB, free: 10.61 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.623e-06/0.1382, allocations: 4 kB / 338 MB, free: 10.6 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004188/0.1386, allocations: 0.5225 MB / 338.5 MB, free: 10.07 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002447/0.1389, allocations: 200 kB / 338.7 MB, free: 9.848 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00029/0.1392, allocations: 0.6731 MB / 339.4 MB, free: 9.148 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.71e-05/0.1392, allocations: 19.42 kB / 339.4 MB, free: 9.129 MB / 286.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1392, allocations: 3.938 kB / 339.4 MB, free: 9.125 MB / 286.1 MB Notification: Performance of Templates: time 0.003094/0.1423, allocations: 1.112 MB / 340.5 MB, free: 8.012 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++ 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_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