Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Utilities.TestStreams.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.Utilities.TestStreams,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestStreams") translateModel(ModelicaTest.Utilities.TestStreams,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestStreams") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008309/0.0008309, allocations: 92.11 kB / 17.63 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009357/0.0009357, allocations: 196.6 kB / 18.54 MB, free: 5.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.515/1.515, allocations: 227.3 MB / 246.6 MB, free: 10.32 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2373/0.2373, allocations: 45.92 MB / 344.7 MB, free: 12.07 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003132/0.0003132, allocations: 8 kB / 418.6 MB, free: 20.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1619, allocations: 63.46 MB / 482.1 MB, free: 5.434 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStreams): time 0.0008276/0.1627, allocations: 205.3 kB / 482.3 MB, free: 5.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007723/0.1635, allocations: 283.6 kB / 482.6 MB, free: 4.957 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.991e-05/0.1636, allocations: 0 / 482.6 MB, free: 4.957 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.44e-05/0.1636, allocations: 0 / 482.6 MB, free: 4.957 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.703e-06/0.1636, allocations: 0 / 482.6 MB, free: 4.957 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Utilities.mo:221:3-287:14:writable] Warning: Pure function ‘ModelicaTest.Utilities.Streams‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.0005927/0.1642, allocations: 67.86 kB / 482.7 MB, free: 4.891 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.416e-05/0.1643, allocations: 4 kB / 482.7 MB, free: 4.887 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.203e-05/0.1643, allocations: 0 / 482.7 MB, free: 4.887 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.835e-05/0.1643, allocations: 0 / 482.7 MB, free: 4.887 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.735e-05/0.1644, allocations: 7.938 kB / 482.7 MB, free: 4.879 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.893e-06/0.1644, allocations: 0 / 482.7 MB, free: 4.879 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002371/0.1646, allocations: 99.89 kB / 482.8 MB, free: 4.781 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.167e-05/0.1647, allocations: 3.984 kB / 482.8 MB, free: 4.777 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.16e-05/0.1647, allocations: 29.7 kB / 482.8 MB, free: 4.742 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001654/0.1649, allocations: 47.92 kB / 482.8 MB, free: 4.695 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.1649, allocations: 0 / 482.8 MB, free: 4.695 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.1649, allocations: 0 / 482.8 MB, free: 4.695 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.706e-06/0.1649, allocations: 0 / 482.8 MB, free: 4.695 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.0004379/0.1654, allocations: 369 kB / 483.2 MB, free: 4.281 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.398e-05/0.1654, allocations: 12.03 kB / 483.2 MB, free: 4.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.526e-05/0.1655, allocations: 0 / 483.2 MB, free: 4.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/0.1656, allocations: 167 kB / 483.4 MB, free: 4.066 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/0.1656, allocations: 4 kB / 483.4 MB, free: 4.062 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.266e-05/0.1657, allocations: 0 / 483.4 MB, free: 4.062 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/0.1658, allocations: 29.64 kB / 483.4 MB, free: 4.027 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.1658, allocations: 3.984 kB / 483.4 MB, free: 4.023 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.1658, allocations: 4 kB / 483.4 MB, free: 4.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.1658, allocations: 0 / 483.4 MB, free: 4.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.929e-05/0.1658, allocations: 0 / 483.4 MB, free: 4.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001696/0.166, allocations: 153.6 kB / 483.6 MB, free: 3.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.311e-05/0.1661, allocations: 22.61 kB / 483.6 MB, free: 3.789 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.886e-05/0.1661, allocations: 4.859 kB / 483.6 MB, free: 3.781 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.11e-05/0.1661, allocations: 0 / 483.6 MB, free: 3.781 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.965e-05/0.1662, allocations: 60.27 kB / 483.7 MB, free: 3.707 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 1.412e-06/0.1662, allocations: 4 kB / 483.7 MB, free: 3.703 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001987/0.1664, allocations: 63.39 kB / 483.7 MB, free: 3.629 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.59e-05/0.1665, allocations: 85.11 kB / 483.8 MB, free: 3.527 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.355e-05/0.1665, allocations: 89.86 kB / 483.9 MB, free: 3.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.1666, allocations: 25.7 kB / 483.9 MB, free: 3.398 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.598e-05/0.1666, allocations: 80.14 kB / 484 MB, free: 3.316 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.974e-05/0.1666, allocations: 0 / 484 MB, free: 3.316 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.294e-06/0.1667, allocations: 0 / 484 MB, free: 3.316 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.1668, allocations: 310.8 kB / 484.3 MB, free: 3.004 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.594e-05/0.1668, allocations: 8.125 kB / 484.3 MB, free: 2.996 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.133e-06/0.1668, allocations: 7.875 kB / 484.3 MB, free: 2.988 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.468e-05/0.1669, allocations: 25.7 kB / 484.3 MB, free: 2.957 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.1669, allocations: 3.953 kB / 484.3 MB, free: 2.953 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.053e-05/0.167, allocations: 67.39 kB / 484.4 MB, free: 2.875 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.994e-05/0.1671, allocations: 29.7 kB / 484.4 MB, free: 2.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.1671, allocations: 8 kB / 484.4 MB, free: 2.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.1671, allocations: 0 / 484.4 MB, free: 2.832 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.813e-06/0.1671, allocations: 0 / 484.4 MB, free: 2.832 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.1671, allocations: 96 / 484.4 MB, free: 2.832 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.755e-05/0.1671, allocations: 4 kB / 484.5 MB, free: 2.828 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.1671, allocations: 0 / 484.5 MB, free: 2.828 MB / 350.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.0001214/0.1673, allocations: 139.5 kB / 484.6 MB, free: 2.676 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.078e-05/0.1673, allocations: 3.953 kB / 484.6 MB, free: 2.672 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.058e-05/0.1673, allocations: 3.125 kB / 484.6 MB, free: 2.672 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.1673, allocations: 0 / 484.6 MB, free: 2.672 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.1673, allocations: 0 / 484.6 MB, free: 2.672 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.1673, allocations: 7.938 kB / 484.6 MB, free: 2.664 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000131/0.1675, allocations: 145.7 kB / 484.7 MB, free: 2.473 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1675, allocations: 4 kB / 484.7 MB, free: 2.469 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.566e-06/0.1675, allocations: 3.953 kB / 484.8 MB, free: 2.465 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.1675, allocations: 0 / 484.8 MB, free: 2.465 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.1675, allocations: 11.92 kB / 484.8 MB, free: 2.453 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.1675, allocations: 4 kB / 484.8 MB, free: 2.449 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.1675, allocations: 0 / 484.8 MB, free: 2.449 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001152/0.1676, allocations: 86.83 kB / 484.9 MB, free: 2.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.328e-05/0.1677, allocations: 81.14 kB / 484.9 MB, free: 2.242 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/0.1678, allocations: 7.953 kB / 484.9 MB, free: 2.234 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.058e-05/0.1678, allocations: 0 / 484.9 MB, free: 2.234 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.865e-05/0.1678, allocations: 0 / 484.9 MB, free: 2.234 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.1678, allocations: 0 / 484.9 MB, free: 2.234 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.086e-05/0.1678, allocations: 75.28 kB / 485 MB, free: 2.16 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1678, allocations: 0 / 485 MB, free: 2.16 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002626/0.1681, allocations: 31.98 kB / 485 MB, free: 2.129 MB / 350.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.0006512/0.1688, allocations: 283.7 kB / 485.3 MB, free: 1.891 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001318/0.1689, allocations: 63.33 kB / 485.4 MB, free: 1.816 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.515e-06/0.1689, allocations: 4.062 kB / 485.4 MB, free: 1.812 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.724e-05/0.169, allocations: 55.41 kB / 485.4 MB, free: 1.746 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001517/0.1692, allocations: 4 kB / 485.4 MB, free: 1.742 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002517/0.1694, allocations: 100.4 kB / 485.5 MB, free: 1.609 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000435/0.1699, allocations: 0.6731 MB / 486.2 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.195e-05/0.1699, allocations: 7.438 kB / 486.2 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1699, allocations: 0 / 486.2 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of Templates: time 0.003407/0.1733, allocations: 1.155 MB / 487.4 MB, free: 15.75 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Utilities.TestStreams.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Utilities.TestStreams.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.Utilities.TestStreamsCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Utilities.TestStreamsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Utilities.TestStreamsCalcHelperMain.o] Error 1