Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.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) 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(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile") translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007684/0.0007683, allocations: 90.72 kB / 17.63 MB, free: 6.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008661/0.0008661, allocations: 196.6 kB / 18.54 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.492/1.492, allocations: 227.3 MB / 246.6 MB, free: 10.29 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003416/0.0003417, allocations: 4 kB / 307.3 MB, free: 1.402 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1317, allocations: 51.49 MB / 358.8 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.0006281/0.1324, allocations: 237.2 kB / 359 MB, free: 13.68 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002542/0.135, allocations: 1.787 MB / 360.8 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.833e-05/0.135, allocations: 0 / 360.8 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006715/0.1357, allocations: 103.7 kB / 360.9 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 5.429e-05/0.1358, allocations: 27.92 kB / 360.9 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000172/0.1359, allocations: 47.86 kB / 361 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.699e-05/0.136, allocations: 35.91 kB / 361 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.564e-05/0.1361, allocations: 7.984 kB / 361 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.222e-05/0.1361, allocations: 19.88 kB / 361 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.638e-05/0.1362, allocations: 31.89 kB / 361.1 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.837e-05/0.1363, allocations: 0 / 361.1 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.775e-05/0.1363, allocations: 12 kB / 361.1 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000108/0.1364, allocations: 51.89 kB / 361.1 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.518e-05/0.1365, allocations: 37.64 kB / 361.2 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001036/0.1366, allocations: 35.94 kB / 361.2 MB, free: 11.46 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.809e-06/0.1366, allocations: 7.938 kB / 361.2 MB, free: 11.46 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.1366, allocations: 0 / 361.2 MB, free: 11.46 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.1366, allocations: 0 / 361.2 MB, free: 11.46 MB / 302.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.0005442/0.1372, allocations: 387.8 kB / 361.6 MB, free: 11.03 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.1372, allocations: 12.03 kB / 361.6 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.168e-05/0.1373, allocations: 4 kB / 361.6 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002973/0.1376, allocations: 206.9 kB / 361.8 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.1376, allocations: 3.953 kB / 361.8 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.303e-05/0.1376, allocations: 8 kB / 361.8 MB, free: 10.76 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/0.1378, allocations: 65.92 kB / 361.9 MB, free: 10.67 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.055e-05/0.1378, allocations: 7.984 kB / 361.9 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.1378, allocations: 7.984 kB / 361.9 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.1378, allocations: 0 / 361.9 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.571e-05/0.1379, allocations: 3.938 kB / 361.9 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003516/0.1382, allocations: 181.7 kB / 362.1 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.403e-05/0.1383, allocations: 14.58 kB / 362.1 MB, free: 10.4 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.831e-05/0.1383, allocations: 20.86 kB / 362.1 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.094e-06/0.1383, allocations: 0 / 362.1 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.297e-05/0.1384, allocations: 56.27 kB / 362.2 MB, free: 10.31 MB / 302.1 MB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.1384, allocations: 3.938 kB / 362.2 MB, free: 10.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001465/0.1385, allocations: 45.61 kB / 362.2 MB, free: 10.25 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000125/0.1387, allocations: 162.2 kB / 362.4 MB, free: 10.06 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001879/0.1389, allocations: 166.1 kB / 362.5 MB, free: 9.883 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.1389, allocations: 25.7 kB / 362.6 MB, free: 9.852 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.054e-05/0.139, allocations: 92.14 kB / 362.7 MB, free: 9.758 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.431e-05/0.139, allocations: 7.891 kB / 362.7 MB, free: 9.75 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-06/0.139, allocations: 0 / 362.7 MB, free: 9.75 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.1392, allocations: 318.8 kB / 363 MB, free: 9.43 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.531e-05/0.1392, allocations: 4.125 kB / 363 MB, free: 9.426 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.558e-05/0.1393, allocations: 48.22 kB / 363 MB, free: 9.363 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.372e-05/0.1393, allocations: 4 kB / 363 MB, free: 9.359 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.1393, allocations: 0 / 363 MB, free: 9.359 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.991e-05/0.1394, allocations: 49.64 kB / 363.1 MB, free: 9.305 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.1394, allocations: 10.81 kB / 363.1 MB, free: 9.297 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.1394, allocations: 4.094 kB / 363.1 MB, free: 9.293 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.1394, allocations: 0 / 363.1 MB, free: 9.293 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.875e-05/0.1395, allocations: 4 kB / 363.1 MB, free: 9.289 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.1395, allocations: 0 / 363.1 MB, free: 9.289 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.717e-05/0.1396, allocations: 7.844 kB / 363.1 MB, free: 9.281 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.1396, allocations: 0 / 363.1 MB, free: 9.281 MB / 302.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 (2): * Single equations (assignments): 2 * 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.0001169/0.1397, allocations: 133.7 kB / 363.2 MB, free: 9.141 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.572e-05/0.1397, allocations: 7.953 kB / 363.2 MB, free: 9.133 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.419e-05/0.1398, allocations: 19.81 kB / 363.3 MB, free: 9.109 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.01e-07/0.1398, allocations: 4 kB / 363.3 MB, free: 9.105 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.1398, allocations: 0 / 363.3 MB, free: 9.105 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.1398, allocations: 0 / 363.3 MB, free: 9.105 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001969/0.14, allocations: 169.7 kB / 363.4 MB, free: 8.891 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.14, allocations: 0 / 363.4 MB, free: 8.891 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.957e-05/0.14, allocations: 4 kB / 363.4 MB, free: 8.887 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.1401, allocations: 7.891 kB / 363.4 MB, free: 8.879 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.1401, allocations: 0 / 363.4 MB, free: 8.879 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.1401, allocations: 0 / 363.4 MB, free: 8.879 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1401, allocations: 0 / 363.4 MB, free: 8.879 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001298/0.1402, allocations: 77.03 kB / 363.5 MB, free: 8.785 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.021e-05/0.1403, allocations: 93.03 kB / 363.6 MB, free: 8.676 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.442e-05/0.1403, allocations: 7.953 kB / 363.6 MB, free: 8.668 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.278e-05/0.1404, allocations: 3.984 kB / 363.6 MB, free: 8.664 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.908e-05/0.1404, allocations: 0 / 363.6 MB, free: 8.664 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-06/0.1404, allocations: 7.938 kB / 363.6 MB, free: 8.656 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001108/0.1405, allocations: 129.8 kB / 363.8 MB, free: 8.531 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1406, allocations: 4.094 kB / 363.8 MB, free: 8.527 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002058/0.1408, allocations: 12 kB / 363.8 MB, free: 8.516 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (x) * 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 (1): * Single equations (assignments): 1 * 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.0003825/0.1412, allocations: 150.7 kB / 363.9 MB, free: 8.379 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 9.023e-05/0.1413, allocations: 12 kB / 363.9 MB, free: 8.367 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1413, allocations: 0 / 363.9 MB, free: 8.367 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.203e-05/0.1413, allocations: 4 kB / 363.9 MB, free: 8.363 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001597/0.1414, allocations: 11.98 kB / 363.9 MB, free: 8.352 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003495/0.1418, allocations: 190.4 kB / 364.1 MB, free: 8.125 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003112/0.1421, allocations: 0.6887 MB / 364.8 MB, free: 7.41 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.942e-05/0.1422, allocations: 15.44 kB / 364.8 MB, free: 7.395 MB / 302.1 MB Notification: Performance of SimCode: time 4.839e-06/0.1422, allocations: 0 / 364.8 MB, free: 7.395 MB / 302.1 MB Notification: Performance of Templates: time 0.003424/0.1456, allocations: 1.412 MB / 366.2 MB, free: 6 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.makefile make -j1 -f Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.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 OMCppModelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFileCalcHelperMain.o OMCppModelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFileCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFileCalcHelperMain.o] Error 1