Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.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.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001179/0.001179, allocations: 89.08 kB / 17.63 MB, free: 6.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001513/0.001513, allocations: 197.5 kB / 18.54 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.576/1.576, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2548/0.2548, allocations: 45.91 MB / 344.7 MB, free: 12.23 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003024/0.0003027, allocations: 8 kB / 418.6 MB, free: 20.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1563, allocations: 63.47 MB / 482.1 MB, free: 5.41 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.0007014/0.157, allocations: 217.3 kB / 482.3 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003325/0.1604, allocations: 1.939 MB / 484.3 MB, free: 3.242 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.112e-06/0.1604, allocations: 0 / 484.3 MB, free: 3.242 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.249e-06/0.1604, allocations: 0 / 484.3 MB, free: 3.242 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 1.904e-06/0.1604, allocations: 0 / 484.3 MB, free: 3.242 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Math/package.mo:697:5-750:29:writable] Warning: Pure function ‘Modelica.Math.Matrices.Examples.solveLinearEquations‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.001803/0.1622, allocations: 468.3 kB / 484.7 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 1.658e-05/0.1623, allocations: 3.984 kB / 484.7 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.753e-05/0.1623, allocations: 0 / 484.7 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.917e-06/0.1623, allocations: 0 / 484.7 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.534e-05/0.1623, allocations: 0 / 484.7 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.928e-06/0.1623, allocations: 0 / 484.7 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001647/0.164, allocations: 0.842 MB / 485.6 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.02e-05/0.164, allocations: 3.984 kB / 485.6 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.167e-05/0.1641, allocations: 25.7 kB / 485.6 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001026/0.1651, allocations: 0.5498 MB / 486.1 MB, free: 1.359 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.1651, allocations: 0 / 486.1 MB, free: 1.359 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1651, allocations: 0 / 486.1 MB, free: 1.359 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.1651, allocations: 0 / 486.1 MB, free: 1.359 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005193/0.1657, allocations: 379.3 kB / 486.5 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.1657, allocations: 12.03 kB / 486.5 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.637e-05/0.1658, allocations: 75.28 kB / 486.6 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.1659, allocations: 238.3 kB / 486.8 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.945e-05/0.166, allocations: 158.5 kB / 487 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.139e-05/0.1661, allocations: 150.6 kB / 487.1 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.217e-05/0.1662, allocations: 101 kB / 487.2 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.797e-05/0.1662, allocations: 79.28 kB / 487.3 MB, free: 96 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-05/0.1663, allocations: 150.6 kB / 487.5 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.269e-05/0.1664, allocations: 154.6 kB / 487.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.96e-05/0.1665, allocations: 162.4 kB / 487.8 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003558/0.1669, allocations: 441.9 kB / 488.2 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/0.167, allocations: 165.1 kB / 488.4 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.836e-05/0.167, allocations: 84.14 kB / 488.4 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.919e-05/0.1671, allocations: 79.28 kB / 488.5 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.772e-05/0.1671, allocations: 113.8 kB / 488.6 MB, free: 14.7 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.1671, allocations: 0 / 488.6 MB, free: 14.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 8.125e-05/0.1672, allocations: 29.69 kB / 488.7 MB, free: 14.66 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.331e-05/0.1673, allocations: 152.4 kB / 488.8 MB, free: 14.49 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.129e-05/0.1674, allocations: 89.86 kB / 488.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.1674, allocations: 33.7 kB / 488.9 MB, free: 14.36 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.673e-05/0.1674, allocations: 84.08 kB / 489 MB, free: 14.27 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.144e-06/0.1675, allocations: 0 / 489 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1e-07/0.1675, allocations: 0 / 489 MB, free: 14.27 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001844/0.1676, allocations: 310.8 kB / 489.3 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.218e-06/0.1677, allocations: 0 / 489.3 MB, free: 13.96 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.17e-05/0.1677, allocations: 0 / 489.3 MB, free: 13.96 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.802e-05/0.1677, allocations: 79.23 kB / 489.4 MB, free: 13.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.498e-05/0.1678, allocations: 79.31 kB / 489.5 MB, free: 13.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.713e-05/0.1678, allocations: 37.64 kB / 489.5 MB, free: 13.76 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.912e-05/0.1679, allocations: 83.27 kB / 489.6 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.814e-05/0.1679, allocations: 83.28 kB / 489.7 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.476e-05/0.168, allocations: 158.5 kB / 489.8 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.931e-05/0.1681, allocations: 75.33 kB / 489.9 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.045e-05/0.1681, allocations: 154.6 kB / 490.1 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.421e-05/0.1682, allocations: 87.22 kB / 490.1 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.236e-05/0.1683, allocations: 75.28 kB / 490.2 MB, free: 13.05 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0001533/0.1684, allocations: 264.9 kB / 490.5 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.084e-05/0.1685, allocations: 112.9 kB / 490.6 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.492e-05/0.1686, allocations: 104.1 kB / 490.7 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.003e-05/0.1687, allocations: 184.2 kB / 490.9 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.503e-05/0.1687, allocations: 176.3 kB / 491 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001368/0.1689, allocations: 180.5 kB / 491.2 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003286/0.1692, allocations: 405.2 kB / 491.6 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.774e-05/0.1693, allocations: 109 kB / 491.7 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.041e-05/0.1693, allocations: 104.9 kB / 491.8 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.93e-05/0.1694, allocations: 188.2 kB / 492 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.973e-05/0.1695, allocations: 180.2 kB / 492.2 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.103e-05/0.1696, allocations: 184.2 kB / 492.4 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.914e-05/0.1697, allocations: 176.3 kB / 492.5 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001776/0.1699, allocations: 307.8 kB / 492.8 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.642e-05/0.17, allocations: 190 kB / 493 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.742e-05/0.1701, allocations: 184.2 kB / 493.2 MB, free: 9.867 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.651e-05/0.1702, allocations: 101 kB / 493.3 MB, free: 9.762 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.617e-05/0.1703, allocations: 180.2 kB / 493.5 MB, free: 9.578 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.079e-05/0.1703, allocations: 109 kB / 493.6 MB, free: 9.465 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.49e-05/0.1704, allocations: 79.28 kB / 493.6 MB, free: 9.387 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1704, allocations: 0 / 493.6 MB, free: 9.387 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008076/0.1712, allocations: 140 kB / 493.8 MB, free: 9.25 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: 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.0008913/0.1721, allocations: 336.8 kB / 494.1 MB, free: 8.914 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 5.103e-05/0.1722, allocations: 0 / 494.1 MB, free: 8.914 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.1722, allocations: 0 / 494.1 MB, free: 8.914 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.068e-06/0.1722, allocations: 3.938 kB / 494.1 MB, free: 8.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004425/0.1726, allocations: 0.5257 MB / 494.6 MB, free: 8.383 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001646/0.1728, allocations: 175.7 kB / 494.8 MB, free: 8.176 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002769/0.1731, allocations: 0.6731 MB / 495.5 MB, free: 7.477 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.339e-05/0.1731, allocations: 7.438 kB / 495.5 MB, free: 7.469 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1731, allocations: 0 / 495.5 MB, free: 7.469 MB / 366.1 MB Notification: Performance of Templates: time 0.006007/0.1791, allocations: 2.917 MB / 498.4 MB, free: 4.551 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.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.Math.TestMatricesExamplesSolveLinearEquationsCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquationsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquationsCalcHelperMain.o] Error 1