Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternData_ExternData.Examples.XLSTest.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.XLSTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XLSTest") translateModel(ExternData.Examples.XLSTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XLSTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001139/0.001138, allocations: 102.6 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.001989/0.001989, allocations: 172.3 kB / 16.58 MB, free: 6.395 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.612/1.612, allocations: 223.2 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3-master/package.mo): time 0.1992/0.1992, allocations: 2.945 MB / 294.7 MB, free: 3.793 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003605/0.0003606, allocations: 12 kB / 356.5 MB, free: 3.719 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1304, allocations: 51.35 MB / 407.8 MB, free: 328 kB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XLSTest): time 0.002574/0.133, allocations: 1.369 MB / 409.2 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002553/0.1356, allocations: 1.592 MB / 410.8 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.313e-05/0.1357, allocations: 3.938 kB / 410.8 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003748/0.1361, allocations: 43.84 kB / 410.8 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005212/0.1366, allocations: 135.5 kB / 411 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002685/0.1369, allocations: 59.94 kB / 411 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001289/0.1371, allocations: 79.7 kB / 411.1 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.1372, allocations: 19.97 kB / 411.1 MB, free: 13.01 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.496e-05/0.1373, allocations: 35.84 kB / 411.2 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000186/0.1375, allocations: 31.84 kB / 411.2 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.148e-05/0.1375, allocations: 4 kB / 411.2 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003905/0.1379, allocations: 239.7 kB / 411.4 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.19e-05/0.138, allocations: 19.92 kB / 411.5 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.048e-05/0.138, allocations: 37.64 kB / 411.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003524/0.1384, allocations: 211.8 kB / 411.7 MB, free: 12.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.1384, allocations: 0 / 411.7 MB, free: 12.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.1384, allocations: 4 kB / 411.7 MB, free: 12.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.1384, allocations: 0 / 411.7 MB, free: 12.43 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007346/0.1392, allocations: 456.7 kB / 412.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.181e-05/0.1392, allocations: 12.03 kB / 412.2 MB, free: 11.92 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.961e-05/0.1393, allocations: 7.906 kB / 412.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003068/0.1396, allocations: 210.8 kB / 412.4 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.1397, allocations: 3.953 kB / 412.4 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.481e-05/0.1397, allocations: 4 kB / 412.4 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002402/0.1399, allocations: 99.38 kB / 412.5 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.1399, allocations: 0 / 412.5 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.815e-05/0.14, allocations: 8 kB / 412.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.14, allocations: 0 / 412.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001512/0.1401, allocations: 63.89 kB / 412.6 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004836/0.1406, allocations: 313.6 kB / 412.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002596/0.1409, allocations: 101.2 kB / 413 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/0.141, allocations: 57.75 kB / 413 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.141, allocations: 0 / 413 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002668/0.1413, allocations: 138.7 kB / 413.1 MB, free: 10.78 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 2.836e-06/0.1413, allocations: 0 / 413.1 MB, free: 10.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004904/0.1418, allocations: 243.5 kB / 413.4 MB, free: 10.53 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.091e-05/0.1419, allocations: 114.8 kB / 413.5 MB, free: 10.39 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.1421, allocations: 151.9 kB / 413.6 MB, free: 10.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.1421, allocations: 29.7 kB / 413.7 MB, free: 10.2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.792e-05/0.1422, allocations: 96.12 kB / 413.8 MB, free: 10.1 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.229e-05/0.1422, allocations: 23.56 kB / 413.8 MB, free: 10.08 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.328e-06/0.1422, allocations: 4 kB / 413.8 MB, free: 10.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.1424, allocations: 330.8 kB / 414.1 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.936e-05/0.1424, allocations: 35.98 kB / 414.2 MB, free: 9.707 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.215e-05/0.1425, allocations: 57.62 kB / 414.2 MB, free: 9.645 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001002/0.1426, allocations: 69.69 kB / 414.3 MB, free: 9.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1427, allocations: 0 / 414.3 MB, free: 9.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002893/0.143, allocations: 191.1 kB / 414.5 MB, free: 9.371 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.069e-05/0.143, allocations: 41.69 kB / 414.5 MB, free: 9.324 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.143, allocations: 0 / 414.5 MB, free: 9.324 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.143, allocations: 4 kB / 414.5 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.196e-05/0.1431, allocations: 15.92 kB / 414.5 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.1431, allocations: 0 / 414.5 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.68e-05/0.1432, allocations: 8 kB / 414.5 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.1432, allocations: 8 kB / 414.5 MB, free: 9.289 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (7): * Single equations (assignments): 6 * 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.0001379/0.1434, allocations: 159.5 kB / 414.7 MB, free: 9.117 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.77e-05/0.1434, allocations: 11.91 kB / 414.7 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.05e-05/0.1434, allocations: 12.7 kB / 414.7 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.1434, allocations: 4 kB / 414.7 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.1435, allocations: 0 / 414.7 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.1435, allocations: 0 / 414.7 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001925/0.1437, allocations: 213.4 kB / 414.9 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1437, allocations: 3.938 kB / 414.9 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.929e-05/0.1437, allocations: 15.98 kB / 415 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.1437, allocations: 0 / 415 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.1438, allocations: 4 kB / 415 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1438, allocations: 0 / 415 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1438, allocations: 4 kB / 415 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000361/0.1441, allocations: 255.5 kB / 415.2 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.963e-05/0.1442, allocations: 93 kB / 415.3 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.692e-05/0.1443, allocations: 0 / 415.3 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.007e-05/0.1443, allocations: 12 kB / 415.3 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.125e-05/0.1444, allocations: 7.984 kB / 415.3 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.921e-05/0.1444, allocations: 4.062 kB / 415.3 MB, free: 8.395 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001045/0.1445, allocations: 125.3 kB / 415.4 MB, free: 8.273 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1445, allocations: 3.938 kB / 415.4 MB, free: 8.27 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000379/0.1449, allocations: 95.92 kB / 415.5 MB, free: 8.176 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (6): * Single equations (assignments): 5 * 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.001104/0.146, allocations: 475.3 kB / 416 MB, free: 7.836 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003215/0.1464, allocations: 191.3 kB / 416.2 MB, free: 7.637 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1464, allocations: 0 / 416.2 MB, free: 7.637 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00016/0.1465, allocations: 139.3 kB / 416.3 MB, free: 7.488 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002432/0.1468, allocations: 19.94 kB / 416.3 MB, free: 7.469 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004889/0.1473, allocations: 273.5 kB / 416.6 MB, free: 7.164 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000301/0.1476, allocations: 0.6965 MB / 417.3 MB, free: 6.441 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.816e-05/0.1477, allocations: 19.44 kB / 417.3 MB, free: 6.422 MB / 350.1 MB Notification: Performance of SimCode: time 1.8e-07/0.1477, allocations: 0 / 417.3 MB, free: 6.422 MB / 350.1 MB Notification: Performance of Templates: time 0.005219/0.1529, allocations: 2.951 MB / 420.3 MB, free: 3.48 MB / 350.1 MB make -j1 -f ExternData_ExternData.Examples.XLSTest.makefile make -j1 -f ExternData_ExternData.Examples.XLSTest.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 4.0.0+maint.om/Resources/C-Sources""-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/Modelica 4.0.0+maint.om/Resources/C-Sources" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3-master/Resources/Include" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppExternData_ExternData.Examples.XLSTestCalcHelperMain.o OMCppExternData_ExternData.Examples.XLSTestCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppExternData_ExternData.Examples.XLSTestCalcHelperMain.o] Error 1