Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexFunctions.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.ComplexMath.TestComplexFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexFunctions") translateModel(ModelicaTest.ComplexMath.TestComplexFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009184/0.0009183, allocations: 96.17 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001234/0.001234, allocations: 198.7 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.491/1.491, allocations: 227.3 MB / 246.6 MB, free: 12.03 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2379/0.2379, allocations: 45.91 MB / 344.7 MB, free: 12.31 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003032/0.0003032, allocations: 8 kB / 418.6 MB, free: 20.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1509, allocations: 63.48 MB / 482.1 MB, free: 5.473 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexFunctions): time 0.0007179/0.1516, allocations: 189.4 kB / 482.3 MB, free: 5.285 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003799/0.1554, allocations: 2.242 MB / 484.5 MB, free: 3.027 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.593e-05/0.1555, allocations: 0 / 484.5 MB, free: 3.027 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.967e-05/0.1555, allocations: 0 / 484.5 MB, free: 3.027 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 1.03e-05/0.1555, allocations: 0 / 484.5 MB, free: 3.027 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/ComplexMath.mo:4:3-189:23:writable] Warning: Pure function ‘ModelicaTest.ComplexMath.ComplexFunctions‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.003178/0.1587, allocations: 0.9271 MB / 485.5 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.274e-05/0.1588, allocations: 0 / 485.5 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.776e-05/0.1589, allocations: 4 kB / 485.5 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.492e-05/0.1589, allocations: 0 / 485.5 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.323e-05/0.1589, allocations: 4 kB / 485.5 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.476e-06/0.159, allocations: 0 / 485.5 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001637/0.1606, allocations: 0.9364 MB / 486.4 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.893e-06/0.1606, allocations: 0 / 486.4 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.066e-05/0.1607, allocations: 25.7 kB / 486.4 MB, free: 1.125 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004278/0.1611, allocations: 275.5 kB / 486.7 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.1611, allocations: 4 kB / 486.7 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1611, allocations: 0 / 486.7 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.1611, allocations: 0 / 486.7 MB, free: 0.8516 MB / 350.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.0005781/0.1617, allocations: 441.3 kB / 487.1 MB, free: 376 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.1618, allocations: 8.031 kB / 487.1 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.44e-05/0.1618, allocations: 0 / 487.1 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.162, allocations: 167 kB / 487.3 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.162, allocations: 0 / 487.3 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.162, allocations: 4 kB / 487.3 MB, free: 156 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.987e-05/0.1621, allocations: 29.64 kB / 487.3 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.1621, allocations: 0 / 487.3 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.1621, allocations: 11.92 kB / 487.4 MB, free: 108 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.1622, allocations: 4 kB / 487.4 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.896e-05/0.1622, allocations: 0 / 487.4 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000236/0.1624, allocations: 149.6 kB / 487.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.675e-05/0.1625, allocations: 18.61 kB / 487.5 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.415e-05/0.1625, allocations: 4.859 kB / 487.5 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.911e-06/0.1625, allocations: 0 / 487.5 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.953e-05/0.1626, allocations: 60.27 kB / 487.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of pre-optimization done (n=1): time 9.31e-07/0.1626, allocations: 0 / 487.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001936/0.1628, allocations: 71.39 kB / 487.7 MB, free: 15.71 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.567e-05/0.1628, allocations: 81.11 kB / 487.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.968e-05/0.1629, allocations: 89.86 kB / 487.8 MB, free: 15.52 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.1629, allocations: 25.7 kB / 487.8 MB, free: 15.49 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.454e-05/0.163, allocations: 80.14 kB / 487.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.817e-05/0.163, allocations: 0 / 487.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.154e-06/0.163, allocations: 128 / 487.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.1631, allocations: 318.8 kB / 488.2 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.03e-05/0.1631, allocations: 4 kB / 488.2 MB, free: 15.08 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.26e-06/0.1632, allocations: 0 / 488.2 MB, free: 15.08 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.11e-05/0.1632, allocations: 25.7 kB / 488.3 MB, free: 15.05 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.1632, allocations: 3.953 kB / 488.3 MB, free: 15.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.694e-05/0.1633, allocations: 67.34 kB / 488.3 MB, free: 14.97 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.842e-05/0.1633, allocations: 29.7 kB / 488.4 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.1634, allocations: 3.984 kB / 488.4 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.1634, allocations: 8.094 kB / 488.4 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.553e-06/0.1634, allocations: 0 / 488.4 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.1634, allocations: 0 / 488.4 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.897e-05/0.1634, allocations: 3.938 kB / 488.4 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.715e-06/0.1634, allocations: 0 / 488.4 MB, free: 14.92 MB / 366.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001307/0.1636, allocations: 135.5 kB / 488.5 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.686e-06/0.1636, allocations: 3.953 kB / 488.5 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.197e-05/0.1636, allocations: 3.125 kB / 488.5 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-06/0.1636, allocations: 0 / 488.5 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/0.1636, allocations: 8 kB / 488.5 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.1636, allocations: 3.938 kB / 488.5 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001288/0.1638, allocations: 153.7 kB / 488.7 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.1638, allocations: 0 / 488.7 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.765e-06/0.1638, allocations: 3.953 kB / 488.7 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-06/0.1638, allocations: 0 / 488.7 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.1638, allocations: 0 / 488.7 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.1638, allocations: 0 / 488.7 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1638, allocations: 4 kB / 488.7 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001094/0.1639, allocations: 98.67 kB / 488.8 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.962e-05/0.164, allocations: 77.11 kB / 488.9 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.164, allocations: 7.953 kB / 488.9 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.617e-06/0.164, allocations: 0 / 488.9 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.967e-05/0.1641, allocations: 0 / 488.9 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.57e-06/0.1641, allocations: 3.984 kB / 488.9 MB, free: 14.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.686e-05/0.1641, allocations: 75.28 kB / 488.9 MB, free: 14.25 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1641, allocations: 0 / 488.9 MB, free: 14.25 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004797/0.1646, allocations: 152 kB / 489.1 MB, free: 14.1 MB / 366.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 (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.0008785/0.1655, allocations: 377 kB / 489.5 MB, free: 13.72 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001343/0.1656, allocations: 63.41 kB / 489.5 MB, free: 13.65 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1656, allocations: 3.938 kB / 489.5 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.275e-05/0.1657, allocations: 63.33 kB / 489.6 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001398/0.1658, allocations: 4 kB / 489.6 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003167/0.1662, allocations: 100.5 kB / 489.7 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002824/0.1665, allocations: 0.6731 MB / 490.4 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.302e-05/0.1665, allocations: 11.44 kB / 490.4 MB, free: 12.72 MB / 366.1 MB Notification: Performance of SimCode: time 2e-07/0.1665, allocations: 4.125 kB / 490.4 MB, free: 12.72 MB / 366.1 MB Notification: Performance of Templates: time 0.007894/0.1744, allocations: 3.908 MB / 494.3 MB, free: 8.805 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexFunctions.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexFunctions.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 OMCppModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexFunctionsCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexFunctionsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexFunctionsCalcHelperMain.o] Error 1