Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternData_ExternData.Examples.CSVTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3-master/package.mo", uses=false) Using package ExternData with version 3.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ExternData.Examples.CSVTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.CSVTest") translateModel(ExternData.Examples.CSVTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.CSVTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001303/0.001302, allocations: 102.1 kB / 15.71 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001656/0.001657, allocations: 174.6 kB / 16.58 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.568/1.568, allocations: 223.2 MB / 240.6 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3-master/package.mo): time 0.2336/0.2336, allocations: 2.951 MB / 294.7 MB, free: 3.879 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003453/0.0003453, allocations: 11.98 kB / 356.5 MB, free: 3.73 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.1579, allocations: 51.34 MB / 407.8 MB, free: 344 kB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.CSVTest): time 0.002275/0.1602, allocations: 1.215 MB / 409.1 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001955/0.1622, allocations: 1.183 MB / 410.2 MB, free: 13.92 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.788e-05/0.1623, allocations: 4 kB / 410.2 MB, free: 13.92 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003582/0.1627, allocations: 39.84 kB / 410.3 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.807e-05/0.1628, allocations: 23.92 kB / 410.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002777/0.163, allocations: 55.88 kB / 410.4 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.1632, allocations: 51.78 kB / 410.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.682e-05/0.1632, allocations: 15.97 kB / 410.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.756e-05/0.1633, allocations: 23.91 kB / 410.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001859/0.1635, allocations: 23.86 kB / 410.5 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.1635, allocations: 4 kB / 410.5 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001747/0.1637, allocations: 91.86 kB / 410.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.296e-05/0.1638, allocations: 15.97 kB / 410.6 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.448e-05/0.1638, allocations: 37.64 kB / 410.6 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001814/0.164, allocations: 88.03 kB / 410.7 MB, free: 13.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.666e-06/0.164, allocations: 0 / 410.7 MB, free: 13.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.164, allocations: 4 kB / 410.7 MB, free: 13.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.1641, allocations: 0 / 410.7 MB, free: 13.45 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000574/0.1646, allocations: 392.9 kB / 411.1 MB, free: 13.01 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.1647, allocations: 12.03 kB / 411.1 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.323e-05/0.1647, allocations: 7.906 kB / 411.1 MB, free: 12.99 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002568/0.165, allocations: 187 kB / 411.3 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.165, allocations: 0 / 411.3 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.242e-05/0.165, allocations: 0 / 411.3 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/0.1652, allocations: 61.67 kB / 411.3 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.1652, allocations: 0 / 411.3 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.766e-05/0.1652, allocations: 0 / 411.3 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.1653, allocations: 7.938 kB / 411.4 MB, free: 12.69 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.484e-05/0.1654, allocations: 31.92 kB / 411.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000226/0.1656, allocations: 177.6 kB / 411.6 MB, free: 12.44 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000103/0.1657, allocations: 54.52 kB / 411.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.728e-05/0.1658, allocations: 40.89 kB / 411.7 MB, free: 12.33 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.05e-05/0.1658, allocations: 0 / 411.7 MB, free: 12.33 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002297/0.166, allocations: 117.2 kB / 411.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.166, allocations: 0 / 411.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003756/0.1664, allocations: 183.3 kB / 411.9 MB, free: 12.01 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.564e-05/0.1665, allocations: 89.11 kB / 412 MB, free: 11.9 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.1666, allocations: 133.8 kB / 412.2 MB, free: 11.76 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.347e-05/0.1667, allocations: 29.64 kB / 412.2 MB, free: 11.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.516e-05/0.1667, allocations: 88.14 kB / 412.3 MB, free: 11.64 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.656e-05/0.1668, allocations: 19.8 kB / 412.3 MB, free: 11.62 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-06/0.1668, allocations: 0 / 412.3 MB, free: 11.62 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.167, allocations: 310.8 kB / 412.6 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.808e-05/0.167, allocations: 27.98 kB / 412.6 MB, free: 11.28 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.656e-05/0.1671, allocations: 39.92 kB / 412.7 MB, free: 11.24 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.768e-05/0.1671, allocations: 53.7 kB / 412.7 MB, free: 11.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.1672, allocations: 0 / 412.7 MB, free: 11.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002201/0.1674, allocations: 163.2 kB / 412.9 MB, free: 11.01 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.405e-05/0.1675, allocations: 33.7 kB / 412.9 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1675, allocations: 0 / 412.9 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.1675, allocations: 0 / 412.9 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.304e-05/0.1676, allocations: 11.92 kB / 412.9 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.1676, allocations: 0 / 412.9 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.038e-05/0.1676, allocations: 11.91 kB / 412.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.1677, allocations: 11.94 kB / 412.9 MB, free: 10.93 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: 7 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * 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.0001399/0.1678, allocations: 151.5 kB / 413.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.977e-05/0.1678, allocations: 11.86 kB / 413.1 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.221e-05/0.1679, allocations: 4.375 kB / 413.1 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.1679, allocations: 0 / 413.1 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.719e-06/0.1679, allocations: 8 kB / 413.1 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1679, allocations: 144 / 413.1 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001661/0.1681, allocations: 193.5 kB / 413.3 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1681, allocations: 0 / 413.3 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.086e-05/0.1681, allocations: 11.98 kB / 413.3 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.1681, allocations: 3.953 kB / 413.3 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.1681, allocations: 0 / 413.3 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.1681, allocations: 4.094 kB / 413.3 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1681, allocations: 3.938 kB / 413.3 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002916/0.1684, allocations: 210.6 kB / 413.5 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.36e-05/0.1685, allocations: 85 kB / 413.6 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.062e-05/0.1685, allocations: 11.95 kB / 413.6 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.156e-05/0.1686, allocations: 8 kB / 413.6 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.881e-05/0.1686, allocations: 0 / 413.6 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.598e-05/0.1687, allocations: 4 kB / 413.6 MB, free: 10.13 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.397e-05/0.1687, allocations: 107.6 kB / 413.7 MB, free: 10.02 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1688, allocations: 0 / 413.7 MB, free: 10.02 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002353/0.169, allocations: 43.98 kB / 413.8 MB, free: 9.98 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: 6 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * 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.0005841/0.1696, allocations: 221.3 kB / 414 MB, free: 9.801 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002523/0.1698, allocations: 167.4 kB / 414.2 MB, free: 9.625 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1699, allocations: 0 / 414.2 MB, free: 9.625 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001266/0.17, allocations: 119.3 kB / 414.3 MB, free: 9.496 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001925/0.1702, allocations: 12 kB / 414.3 MB, free: 9.484 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004243/0.1706, allocations: 202.4 kB / 414.5 MB, free: 9.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003546/0.171, allocations: 0.6887 MB / 415.2 MB, free: 8.535 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.489e-05/0.171, allocations: 11.44 kB / 415.2 MB, free: 8.523 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.171, allocations: 0 / 415.2 MB, free: 8.523 MB / 350.1 MB Notification: Performance of Templates: time 0.003949/0.175, allocations: 1.531 MB / 416.7 MB, free: 7.008 MB / 350.1 MB make -j1 -f ExternData_ExternData.Examples.CSVTest.makefile make -j1 -f ExternData_ExternData.Examples.CSVTest.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/ExternData 3.0.3-master/Resources/Include" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3-master/Resources/Include" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppExternData_ExternData.Examples.CSVTestCalcHelperMain.o OMCppExternData_ExternData.Examples.CSVTestCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppExternData_ExternData.Examples.CSVTestCalcHelperMain.o] Error 1