Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.ComplexMath.TestComplexFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions") translateModel(ModelicaTest.ComplexMath.TestComplexFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001697/0.001697, allocations: 104.4 kB / 16.52 MB, free: 6.266 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.002794/0.002794, allocations: 195.2 kB / 17.44 MB, free: 5.887 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.949/1.949, allocations: 205.1 MB / 223.3 MB, free: 12.4 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2596/0.2596, allocations: 43.51 MB / 314.1 MB, free: 0.7461 MB / 254.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.001431/0.001431, allocations: 69.98 kB / 382.7 MB, free: 56.99 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1465, allocations: 57.79 MB / 440.5 MB, free: 7.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexFunctions): time 0.001873/0.1484, allocations: 0.5349 MB / 441 MB, free: 7.008 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003434/0.1519, allocations: 2.391 MB / 443.4 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.267e-05/0.1519, allocations: 0 / 443.4 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.021e-05/0.152, allocations: 0 / 443.4 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.531e-06/0.152, allocations: 4 kB / 443.4 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002375/0.1544, allocations: 1.02 MB / 444.4 MB, free: 3.574 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.035e-05/0.1544, allocations: 0 / 444.4 MB, free: 3.574 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.33e-05/0.1545, allocations: 8 kB / 444.4 MB, free: 3.566 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.74e-05/0.1545, allocations: 0 / 444.4 MB, free: 3.566 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.951e-05/0.1545, allocations: 4 kB / 444.4 MB, free: 3.562 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.72e-06/0.1545, allocations: 0 / 444.4 MB, free: 3.562 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001309/0.1558, allocations: 0.956 MB / 445.4 MB, free: 2.605 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.428e-06/0.1559, allocations: 4 kB / 445.4 MB, free: 2.602 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.28e-05/0.1559, allocations: 0 / 445.4 MB, free: 2.602 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003365/0.1562, allocations: 267.5 kB / 445.6 MB, free: 2.34 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.1562, allocations: 4 kB / 445.6 MB, free: 2.336 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1563, allocations: 4 kB / 445.6 MB, free: 2.332 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.1563, allocations: 0 / 445.6 MB, free: 2.332 MB / 318.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.0003884/0.1567, allocations: 437.4 kB / 446.1 MB, free: 1.852 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.1567, allocations: 8.031 kB / 446.1 MB, free: 1.844 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.459e-05/0.1567, allocations: 4.844 kB / 446.1 MB, free: 1.84 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.596e-05/0.1568, allocations: 160.4 kB / 446.2 MB, free: 1.645 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.1568, allocations: 384 / 446.2 MB, free: 1.645 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.406e-06/0.1568, allocations: 4.375 kB / 446.2 MB, free: 1.641 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.384e-05/0.1569, allocations: 33.95 kB / 446.3 MB, free: 1.602 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.157, allocations: 4 kB / 446.3 MB, free: 1.598 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.157, allocations: 0 / 446.3 MB, free: 1.598 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.157, allocations: 4 kB / 446.3 MB, free: 1.594 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.098e-05/0.157, allocations: 3.984 kB / 446.3 MB, free: 1.59 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001241/0.1571, allocations: 145.7 kB / 446.4 MB, free: 1.398 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.856e-05/0.1572, allocations: 22.59 kB / 446.5 MB, free: 1.367 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.121e-05/0.1572, allocations: 4.859 kB / 446.5 MB, free: 1.359 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.059e-05/0.1572, allocations: 7.938 kB / 446.5 MB, free: 1.352 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.01e-05/0.1573, allocations: 60.2 kB / 446.5 MB, free: 1.277 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 9.21e-07/0.1573, allocations: 0 / 446.5 MB, free: 1.277 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001999/0.1575, allocations: 67.45 kB / 446.6 MB, free: 1.199 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.614e-05/0.1576, allocations: 81.11 kB / 446.7 MB, free: 1.102 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.619e-05/0.1576, allocations: 89.86 kB / 446.8 MB, free: 1.004 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.1576, allocations: 29.64 kB / 446.8 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.087e-05/0.1576, allocations: 80.14 kB / 446.9 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.607e-05/0.1577, allocations: 4.125 kB / 446.9 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.564e-05/0.1577, allocations: 17.72 kB / 446.9 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.766e-05/0.1578, allocations: 314.8 kB / 447.2 MB, free: 0.543 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.066e-05/0.1578, allocations: 0 / 447.2 MB, free: 0.543 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.925e-06/0.1578, allocations: 7.938 kB / 447.2 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.649e-05/0.1579, allocations: 60.27 kB / 447.3 MB, free: 472 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1579, allocations: 0 / 447.3 MB, free: 472 kB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.442e-05/0.1579, allocations: 63.47 kB / 447.3 MB, free: 396 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.341e-05/0.158, allocations: 37.62 kB / 447.4 MB, free: 352 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.158, allocations: 4 kB / 447.4 MB, free: 348 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.158, allocations: 4 kB / 447.4 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.523e-06/0.158, allocations: 0 / 447.4 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.158, allocations: 0 / 447.4 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.629e-05/0.158, allocations: 0 / 447.4 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.1581, allocations: 0 / 447.4 MB, free: 344 kB / 318.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: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 6.731e-05/0.1581, allocations: 143.5 kB / 447.5 MB, free: 184 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.428e-06/0.1581, allocations: 7.969 kB / 447.5 MB, free: 176 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.148e-05/0.1582, allocations: 7.062 kB / 447.5 MB, free: 168 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.1582, allocations: 3.984 kB / 447.5 MB, free: 164 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.1582, allocations: 0 / 447.5 MB, free: 164 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1582, allocations: 3.938 kB / 447.5 MB, free: 160 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001113/0.1583, allocations: 145.7 kB / 447.7 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.1583, allocations: 0 / 447.7 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-07/0.1583, allocations: 0 / 447.7 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.1583, allocations: 3.938 kB / 447.7 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.1583, allocations: 0 / 447.7 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.1583, allocations: 0 / 447.7 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.1583, allocations: 7.984 kB / 447.7 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001097/0.1585, allocations: 86.84 kB / 447.8 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.58e-05/0.1585, allocations: 77.11 kB / 447.8 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/0.1585, allocations: 11.92 kB / 447.9 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.215e-06/0.1586, allocations: 0 / 447.9 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.588e-05/0.1586, allocations: 0 / 447.9 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.57e-06/0.1586, allocations: 0 / 447.9 MB, free: 15.74 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.747e-05/0.1586, allocations: 87.28 kB / 447.9 MB, free: 15.65 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.106e-06/0.1587, allocations: 0 / 447.9 MB, free: 15.65 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004774/0.1591, allocations: 143.9 kB / 448.1 MB, free: 15.51 MB / 334.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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0008487/0.16, allocations: 366.2 kB / 448.4 MB, free: 15.15 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000128/0.1601, allocations: 63.34 kB / 448.5 MB, free: 15.08 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1601, allocations: 0 / 448.5 MB, free: 15.08 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.626e-05/0.1602, allocations: 55.41 kB / 448.6 MB, free: 15.01 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001535/0.1604, allocations: 4 kB / 448.6 MB, free: 15.01 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002996/0.1607, allocations: 100.5 kB / 448.7 MB, free: 14.88 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004818/0.1612, allocations: 0.6733 MB / 449.3 MB, free: 14.18 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.055e-05/0.1612, allocations: 7.438 kB / 449.3 MB, free: 14.17 MB / 334.1 MB Notification: Performance of SimCode: time 8.72e-07/0.1612, allocations: 0 / 449.3 MB, free: 14.17 MB / 334.1 MB Notification: Performance of Templates: time 0.00802/0.1692, allocations: 3.62 MB / 453 MB, free: 10.55 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.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 OMCppModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctionsCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctionsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctionsCalcHelperMain.o] Error 1