Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternData_ExternData.Examples.TIRTest.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.TIRTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.TIRTest") translateModel(ExternData.Examples.TIRTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.TIRTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009452/0.0009456, allocations: 103 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.001511/0.001512, allocations: 171.7 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.593/1.593, allocations: 223.3 MB / 240.6 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3-master/package.mo): time 0.2372/0.2372, allocations: 2.948 MB / 294.7 MB, free: 3.969 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000341/0.000341, allocations: 8 kB / 356.5 MB, free: 3.727 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1283, allocations: 51.35 MB / 407.8 MB, free: 328 kB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.TIRTest): time 0.001217/0.1296, allocations: 477.1 kB / 408.3 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009182/0.1305, allocations: 0.6915 MB / 409 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.212e-05/0.1306, allocations: 4 kB / 409 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001974/0.1308, allocations: 19.92 kB / 409 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.556e-05/0.1308, allocations: 27.86 kB / 409 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.543e-05/0.1309, allocations: 7.984 kB / 409.1 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.765e-05/0.1309, allocations: 11.94 kB / 409.1 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.429e-05/0.131, allocations: 4 kB / 409.1 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.908e-05/0.131, allocations: 3.938 kB / 409.1 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.1311, allocations: 11.98 kB / 409.1 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.297e-06/0.1311, allocations: 0 / 409.1 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.166e-05/0.1312, allocations: 8 kB / 409.1 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.798e-05/0.1312, allocations: 15.92 kB / 409.1 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.778e-05/0.1313, allocations: 25.7 kB / 409.1 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.986e-05/0.1314, allocations: 23.97 kB / 409.2 MB, free: 15 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1314, allocations: 0 / 409.2 MB, free: 15 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1314, allocations: 0 / 409.2 MB, free: 15 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.1314, allocations: 4 kB / 409.2 MB, free: 14.99 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004227/0.1318, allocations: 327.5 kB / 409.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.1319, allocations: 8.031 kB / 409.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.564e-05/0.1319, allocations: 4 kB / 409.5 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001924/0.1321, allocations: 163.1 kB / 409.7 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.1322, allocations: 11.95 kB / 409.7 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.606e-06/0.1322, allocations: 0 / 409.7 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/0.1323, allocations: 47.36 kB / 409.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.1323, allocations: 0 / 409.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.936e-06/0.1324, allocations: 0 / 409.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.1324, allocations: 0 / 409.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.303e-05/0.1324, allocations: 4 kB / 409.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004772/0.1329, allocations: 487.5 kB / 410.2 MB, free: 13.81 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.56e-05/0.133, allocations: 165.1 kB / 410.3 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.671e-05/0.133, allocations: 80.14 kB / 410.4 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.077e-05/0.1331, allocations: 75.28 kB / 410.5 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.988e-05/0.1332, allocations: 117.8 kB / 410.6 MB, free: 13.36 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 2.895e-06/0.1332, allocations: 7.875 kB / 410.6 MB, free: 13.35 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.869e-05/0.1333, allocations: 37.67 kB / 410.7 MB, free: 13.3 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.177e-05/0.1333, allocations: 126.7 kB / 410.8 MB, free: 13.17 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.1334, allocations: 113.8 kB / 410.9 MB, free: 13.05 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.1335, allocations: 25.7 kB / 410.9 MB, free: 13.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.708e-05/0.1335, allocations: 84.14 kB / 411 MB, free: 12.93 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.603e-06/0.1335, allocations: 4 kB / 411 MB, free: 12.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.1e-07/0.1335, allocations: 0 / 411 MB, free: 12.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.1337, allocations: 318.8 kB / 411.3 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.048e-06/0.1337, allocations: 0 / 411.3 MB, free: 12.61 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.987e-06/0.1337, allocations: 0 / 411.3 MB, free: 12.61 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.234e-05/0.1337, allocations: 83.27 kB / 411.4 MB, free: 12.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.123e-05/0.1337, allocations: 75.28 kB / 411.5 MB, free: 12.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.379e-05/0.1338, allocations: 33.55 kB / 411.5 MB, free: 12.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.17e-05/0.1339, allocations: 87.28 kB / 411.6 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.34e-05/0.1339, allocations: 75.28 kB / 411.7 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.515e-05/0.134, allocations: 154.5 kB / 411.8 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.356e-05/0.134, allocations: 75.28 kB / 411.9 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.423e-05/0.1341, allocations: 158.6 kB / 412 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.29e-05/0.1341, allocations: 83.2 kB / 412.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.509e-05/0.1342, allocations: 79.28 kB / 412.2 MB, free: 11.71 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.0001183/0.1343, allocations: 264.4 kB / 412.5 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.411e-05/0.1344, allocations: 104.9 kB / 412.6 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.475e-05/0.1344, allocations: 112.5 kB / 412.7 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.365e-05/0.1345, allocations: 180.2 kB / 412.8 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.434e-05/0.1346, allocations: 184.2 kB / 413 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.21e-05/0.1346, allocations: 176.3 kB / 413.2 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002236/0.1348, allocations: 417.1 kB / 413.6 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.345e-05/0.1349, allocations: 105 kB / 413.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.77e-05/0.135, allocations: 117 kB / 413.8 MB, free: 9.965 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.379e-05/0.135, allocations: 184.2 kB / 414 MB, free: 9.777 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.706e-05/0.1351, allocations: 180.3 kB / 414.2 MB, free: 9.594 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.686e-05/0.1352, allocations: 184.2 kB / 414.4 MB, free: 9.406 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.328e-05/0.1352, allocations: 176.3 kB / 414.5 MB, free: 9.227 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001288/0.1354, allocations: 312.1 kB / 414.8 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.837e-05/0.1355, allocations: 190 kB / 415 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.805e-05/0.1356, allocations: 192.1 kB / 415.2 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.821e-05/0.1357, allocations: 101 kB / 415.3 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.371e-05/0.1357, allocations: 184.2 kB / 415.5 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.151e-05/0.1358, allocations: 105 kB / 415.6 MB, free: 8.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.6e-05/0.1358, allocations: 91.27 kB / 415.7 MB, free: 8 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1359, allocations: 0 / 415.7 MB, free: 8 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000359/0.1362, allocations: 15.94 kB / 415.7 MB, free: 7.984 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0003902/0.1366, allocations: 235.2 kB / 415.9 MB, free: 7.781 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 3.591e-05/0.1367, allocations: 0 / 415.9 MB, free: 7.781 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1367, allocations: 3.938 kB / 415.9 MB, free: 7.777 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.737e-06/0.1367, allocations: 3.938 kB / 415.9 MB, free: 7.773 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004811/0.1372, allocations: 0.5341 MB / 416.5 MB, free: 7.234 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002626/0.1374, allocations: 199.9 kB / 416.7 MB, free: 7.004 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000289/0.1377, allocations: 0.6731 MB / 417.3 MB, free: 6.305 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.306e-05/0.1378, allocations: 11.42 kB / 417.3 MB, free: 6.293 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1378, allocations: 0 / 417.3 MB, free: 6.293 MB / 350.1 MB Notification: Performance of Templates: time 0.002376/0.1402, allocations: 0.7071 MB / 418.1 MB, free: 5.586 MB / 350.1 MB make -j1 -f ExternData_ExternData.Examples.TIRTest.makefile make -j1 -f ExternData_ExternData.Examples.TIRTest.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.TIRTestCalcHelperMain.o OMCppExternData_ExternData.Examples.TIRTestCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppExternData_ExternData.Examples.TIRTestCalcHelperMain.o] Error 1