Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.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.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles") translateModel(ModelicaTest.Utilities.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009281/0.0009324, allocations: 92.11 kB / 17.63 MB, free: 6.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009445/0.0009446, allocations: 192.5 kB / 18.54 MB, free: 5.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.569/1.569, allocations: 227.3 MB / 246.6 MB, free: 12.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2212/0.2212, allocations: 45.91 MB / 344.7 MB, free: 12.26 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003484/0.0003486, allocations: 8 kB / 418.6 MB, free: 20.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1498, allocations: 63.46 MB / 482.1 MB, free: 5.441 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestFiles): time 0.0006868/0.1505, allocations: 222.9 kB / 482.3 MB, free: 5.223 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001916/0.1524, allocations: 1.186 MB / 483.5 MB, free: 4.031 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.242e-05/0.1525, allocations: 4 kB / 483.5 MB, free: 4.027 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.355e-05/0.1525, allocations: 0 / 483.5 MB, free: 4.027 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000159/0.1527, allocations: 3.984 kB / 483.5 MB, free: 4.023 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Utilities.mo:455:3-487:12:writable] Warning: Pure function ‘ModelicaTest.Utilities.Files‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.0006128/0.1533, allocations: 187.5 kB / 483.7 MB, free: 3.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.469e-05/0.1533, allocations: 8 kB / 483.7 MB, free: 3.832 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.401e-05/0.1534, allocations: 7.969 kB / 483.7 MB, free: 3.824 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.817e-05/0.1534, allocations: 4 kB / 483.7 MB, free: 3.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.633e-05/0.1535, allocations: 4 kB / 483.7 MB, free: 3.816 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.012e-05/0.1535, allocations: 0 / 483.7 MB, free: 3.816 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008706/0.1544, allocations: 0.4954 MB / 484.2 MB, free: 3.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.363e-06/0.1544, allocations: 0 / 484.2 MB, free: 3.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.133e-05/0.1545, allocations: 29.7 kB / 484.2 MB, free: 3.285 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001888/0.1547, allocations: 115.7 kB / 484.4 MB, free: 3.172 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.1547, allocations: 0 / 484.4 MB, free: 3.172 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.998e-06/0.1547, allocations: 3.984 kB / 484.4 MB, free: 3.168 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.1547, allocations: 0 / 484.4 MB, free: 3.168 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.0004056/0.1551, allocations: 381.3 kB / 484.7 MB, free: 2.742 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.1552, allocations: 8.031 kB / 484.7 MB, free: 2.734 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.642e-05/0.1552, allocations: 4 kB / 484.7 MB, free: 2.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.1554, allocations: 163 kB / 484.9 MB, free: 2.531 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.1554, allocations: 4 kB / 484.9 MB, free: 2.527 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.377e-06/0.1554, allocations: 0 / 484.9 MB, free: 2.527 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.252e-05/0.1555, allocations: 41.62 kB / 484.9 MB, free: 2.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.1555, allocations: 0 / 484.9 MB, free: 2.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.1555, allocations: 0 / 484.9 MB, free: 2.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.1555, allocations: 0 / 484.9 MB, free: 2.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.751e-05/0.1556, allocations: 0 / 484.9 MB, free: 2.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001502/0.1557, allocations: 149.6 kB / 485.1 MB, free: 2.285 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.426e-05/0.1558, allocations: 26.64 kB / 485.1 MB, free: 2.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.816e-05/0.1558, allocations: 16.8 kB / 485.1 MB, free: 2.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.562e-06/0.1558, allocations: 3.938 kB / 485.1 MB, free: 2.227 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.339e-05/0.1559, allocations: 56.27 kB / 485.2 MB, free: 2.156 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.1559, allocations: 0 / 485.2 MB, free: 2.156 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001847/0.156, allocations: 67.39 kB / 485.3 MB, free: 2.078 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.764e-05/0.1561, allocations: 77.11 kB / 485.3 MB, free: 1.984 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.739e-05/0.1562, allocations: 97.98 kB / 485.4 MB, free: 1.879 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.1562, allocations: 29.7 kB / 485.5 MB, free: 1.844 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.38e-05/0.1563, allocations: 80.14 kB / 485.5 MB, free: 1.762 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.661e-05/0.1563, allocations: 3.906 kB / 485.5 MB, free: 1.758 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.375e-06/0.1563, allocations: 0 / 485.5 MB, free: 1.758 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.1564, allocations: 310.8 kB / 485.8 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.032e-05/0.1564, allocations: 0 / 485.8 MB, free: 1.445 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.12e-06/0.1564, allocations: 7.938 kB / 485.9 MB, free: 1.438 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.256e-05/0.1565, allocations: 37.83 kB / 485.9 MB, free: 1.395 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1565, allocations: 3.938 kB / 485.9 MB, free: 1.391 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.136e-05/0.1566, allocations: 63.41 kB / 486 MB, free: 1.316 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.646e-05/0.1566, allocations: 33.7 kB / 486 MB, free: 1.277 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1566, allocations: 0 / 486 MB, free: 1.277 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.1566, allocations: 0 / 486 MB, free: 1.277 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.32e-07/0.1567, allocations: 0 / 486 MB, free: 1.277 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.1567, allocations: 0 / 486 MB, free: 1.277 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.707e-05/0.1567, allocations: 3.984 kB / 486 MB, free: 1.273 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.1567, allocations: 4 kB / 486 MB, free: 1.27 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 9.688e-05/0.1568, allocations: 139.5 kB / 486.1 MB, free: 1.117 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.374e-06/0.1568, allocations: 0 / 486.1 MB, free: 1.117 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.438e-06/0.1568, allocations: 7.125 kB / 486.1 MB, free: 1.113 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.1568, allocations: 0 / 486.1 MB, free: 1.113 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.1568, allocations: 0 / 486.1 MB, free: 1.113 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.1569, allocations: 0 / 486.1 MB, free: 1.113 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001214/0.157, allocations: 153.7 kB / 486.3 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.157, allocations: 7.953 kB / 486.3 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.157, allocations: 3.938 kB / 486.3 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.157, allocations: 4 kB / 486.3 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.157, allocations: 0 / 486.3 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.157, allocations: 0 / 486.3 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.157, allocations: 3.938 kB / 486.3 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001096/0.1571, allocations: 94.81 kB / 486.4 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.748e-05/0.1572, allocations: 81.06 kB / 486.5 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.1572, allocations: 4 kB / 486.5 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.546e-06/0.1572, allocations: 32 / 486.5 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.818e-05/0.1573, allocations: 4 kB / 486.5 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.1573, allocations: 0 / 486.5 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.601e-05/0.1573, allocations: 83.27 kB / 486.6 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1573, allocations: 0 / 486.6 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003026/0.1576, allocations: 63.98 kB / 486.6 MB, free: 0.5273 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.0007141/0.1584, allocations: 329 kB / 487 MB, free: 260 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001086/0.1585, allocations: 67.34 kB / 487 MB, free: 180 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1585, allocations: 0 / 487 MB, free: 180 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.421e-05/0.1585, allocations: 55.41 kB / 487.1 MB, free: 112 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001386/0.1587, allocations: 6.875 kB / 487.1 MB, free: 108 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002719/0.159, allocations: 112.3 kB / 487.2 MB, free: 15.96 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003066/0.1593, allocations: 0.6731 MB / 487.9 MB, free: 15.26 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.338e-05/0.1593, allocations: 7.438 kB / 487.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1593, allocations: 4.125 kB / 487.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of Templates: time 0.003793/0.1631, allocations: 1.676 MB / 489.6 MB, free: 13.57 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.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.TestFilesCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Utilities.TestFilesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Utilities.TestFilesCalcHelperMain.o] Error 1