Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTexamples_main_EHPTexamples.EV.EVdata.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo", uses=false) 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/EHPTexamples main/package.mo", uses=false) Using package EHPTexamples with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/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) Using package EHPTlib with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo) Running command: translateModel(EHPTexamples.EV.EVdata,tolerance=0.0001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_main_EHPTexamples.EV.EVdata") translateModel(EHPTexamples.EV.EVdata,tolerance=0.0001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_main_EHPTexamples.EV.EVdata") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo): time 0.08871/0.08871, allocations: 8.615 MB / 24.22 MB, free: 160 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009025/0.0009024, allocations: 96.52 kB / 26.93 MB, free: 3.031 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 182.4 kB / 29.73 MB, free: 244 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.51/1.51, allocations: 223.3 MB / 255.7 MB, free: 3.109 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.013/0.013, allocations: 3.127 MB / 311.8 MB, free: 15.77 MB / 254.1 MB Warning: Requested package EHPTlib of version 2.1.0, but this package was already loaded with version . OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.0004547/0.0004547, allocations: 15.41 kB / 376.7 MB, free: 52.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1249, allocations: 53.14 MB / 429.9 MB, free: 18.38 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.EVdata): time 0.00329/0.1283, allocations: 2.784 MB / 432.6 MB, free: 15.59 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002666/0.131, allocations: 2.118 MB / 434.8 MB, free: 13.46 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002312/0.1312, allocations: 11.94 kB / 434.8 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004477/0.1317, allocations: 119.2 kB / 434.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003139/0.132, allocations: 123.2 kB / 435 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006922/0.1327, allocations: 311.2 kB / 435.3 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005455/0.1333, allocations: 0.5684 MB / 435.9 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000258/0.1335, allocations: 120.1 kB / 436 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002622/0.1338, allocations: 223 kB / 436.2 MB, free: 12 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002885/0.1341, allocations: 219 kB / 436.4 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.31e-05/0.1342, allocations: 24 kB / 436.4 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000237/0.1344, allocations: 119.9 kB / 436.6 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.1345, allocations: 83.66 kB / 436.6 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.056e-05/0.1346, allocations: 105.5 kB / 436.8 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004318/0.1351, allocations: 0.4893 MB / 437.2 MB, free: 10.97 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.1351, allocations: 0 / 437.2 MB, free: 10.97 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.1351, allocations: 4 kB / 437.2 MB, free: 10.96 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.164e-06/0.1351, allocations: 3.938 kB / 437.2 MB, free: 10.96 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: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.001217/0.1363, allocations: 0.7726 MB / 438 MB, free: 10.14 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.1364, allocations: 8.031 kB / 438 MB, free: 10.13 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001741/0.1365, allocations: 55.34 kB / 438.1 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000416/0.137, allocations: 371.7 kB / 438.4 MB, free: 9.672 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.552e-05/0.137, allocations: 54.7 kB / 438.5 MB, free: 9.613 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.052e-05/0.1371, allocations: 43.91 kB / 438.5 MB, free: 9.57 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007424/0.1378, allocations: 477.5 kB / 439 MB, free: 9.078 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/0.1379, allocations: 4 kB / 439 MB, free: 9.074 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.972e-05/0.1379, allocations: 11.95 kB / 439 MB, free: 9.062 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.1379, allocations: 19.98 kB / 439 MB, free: 9.043 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006423/0.1386, allocations: 351.8 kB / 439.4 MB, free: 8.703 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001836/0.1404, allocations: 1.393 MB / 440.8 MB, free: 7.227 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009285/0.1414, allocations: 423.3 kB / 441.2 MB, free: 6.805 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003024/0.1417, allocations: 164.8 kB / 441.4 MB, free: 6.641 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.869e-05/0.1417, allocations: 4 kB / 441.4 MB, free: 6.637 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000463/0.1422, allocations: 248.6 kB / 441.6 MB, free: 6.383 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 2.184e-06/0.1422, allocations: 0 / 441.6 MB, free: 6.383 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.003677/0.1459, allocations: 1.887 MB / 443.5 MB, free: 4.379 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.505e-05/0.146, allocations: 162.2 kB / 443.6 MB, free: 4.184 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003226/0.1463, allocations: 357.7 kB / 444 MB, free: 3.824 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.535e-05/0.1464, allocations: 37.7 kB / 444 MB, free: 3.781 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.1465, allocations: 216.5 kB / 444.2 MB, free: 3.566 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.079e-05/0.1466, allocations: 142.1 kB / 444.4 MB, free: 3.426 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.239e-05/0.1466, allocations: 4 kB / 444.4 MB, free: 3.422 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.86e-05/0.1467, allocations: 354.8 kB / 444.7 MB, free: 3.066 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000317/0.147, allocations: 164.8 kB / 444.9 MB, free: 2.906 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003683/0.1474, allocations: 283.4 kB / 445.2 MB, free: 2.59 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003107/0.1477, allocations: 164.2 kB / 445.3 MB, free: 2.43 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1477, allocations: 7.953 kB / 445.3 MB, free: 2.422 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001061/0.1488, allocations: 0.5796 MB / 445.9 MB, free: 1.832 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.797e-05/0.1489, allocations: 148 kB / 446.1 MB, free: 1.656 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.1489, allocations: 4 kB / 446.1 MB, free: 1.652 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004058/0.1493, allocations: 164.8 kB / 446.2 MB, free: 1.488 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002711/0.1496, allocations: 83.89 kB / 446.3 MB, free: 1.406 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005305/0.1501, allocations: 0.7121 MB / 447 MB, free: 0.6719 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003477/0.1505, allocations: 80.03 kB / 447.1 MB, free: 0.5938 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.022e-05/0.1505, allocations: 19.98 kB / 447.1 MB, free: 0.5742 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.772e-06/0.1505, allocations: 4 kB / 447.1 MB, free: 0.5703 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007872/0.1513, allocations: 444.5 kB / 447.6 MB, free: 136 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.1513, allocations: 8.062 kB / 447.6 MB, free: 128 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003472/0.1517, allocations: 169 kB / 447.7 MB, free: 15.95 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002073/0.1519, allocations: 67.84 kB / 447.8 MB, free: 15.89 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006598/0.1526, allocations: 0.7085 MB / 448.5 MB, free: 15.15 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003092/0.1529, allocations: 60.02 kB / 448.6 MB, free: 15.09 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.247e-05/0.1529, allocations: 19.94 kB / 448.6 MB, free: 15.07 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 14 (driver.dummy,$whenCondition1,$PRE.driver.driveCyc.nextTimeEvent,$PRE.dragF.startForward,dragF.startForward,$PRE.dragF.startBackward,dragF.startBackward,dragF.locked,$PRE.dragF.mode,dragF.mode,driver.driveCyc.nextTimeEvent,$PRE.driver.driveCyc.nextTimeEventScaled,driver.driveCyc.nextTimeEventScaled,dragF.free) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.000358/0.1533, allocations: 253 kB / 448.8 MB, free: 14.82 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.466e-05/0.1534, allocations: 43.48 kB / 448.9 MB, free: 14.77 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001402/0.1535, allocations: 56.19 kB / 448.9 MB, free: 14.72 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.004e-06/0.1535, allocations: 8 kB / 448.9 MB, free: 14.71 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.1536, allocations: 0 / 448.9 MB, free: 14.71 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.1536, allocations: 3.984 kB / 448.9 MB, free: 14.71 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002222/0.1558, allocations: 1.188 MB / 450.1 MB, free: 13.45 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.1558, allocations: 4 kB / 450.1 MB, free: 13.45 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002961/0.1561, allocations: 79.92 kB / 450.2 MB, free: 13.37 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003683/0.1565, allocations: 144.7 kB / 450.4 MB, free: 13.22 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.486e-05/0.1565, allocations: 11.98 kB / 450.4 MB, free: 13.21 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007252/0.1573, allocations: 0.681 MB / 451 MB, free: 12.5 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.83e-06/0.1573, allocations: 4.031 kB / 451 MB, free: 12.5 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001756/0.1591, allocations: 0.8336 MB / 451.9 MB, free: 11.64 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000207/0.1593, allocations: 160.6 kB / 452 MB, free: 11.46 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.427e-05/0.1594, allocations: 8 kB / 452 MB, free: 11.45 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003729/0.1597, allocations: 83.95 kB / 452.1 MB, free: 11.37 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000137/0.1599, allocations: 59.88 kB / 452.2 MB, free: 11.31 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-05/0.1599, allocations: 15.98 kB / 452.2 MB, free: 11.3 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003925/0.1603, allocations: 259.2 kB / 452.5 MB, free: 11.05 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1603, allocations: 0 / 452.5 MB, free: 11.05 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007497/0.1611, allocations: 180 kB / 452.6 MB, free: 10.88 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (dragF.s,dragF.v) * Number of discrete variables: 7 ($whenCondition1,dragF.startForward,dragF.startBackward,dragF.locked,dragF.mode,driver.driveCyc.nextTimeEvent,driver.driveCyc.nextTimeEventScaled) * Number of discrete states: 5 (driver.driveCyc.nextTimeEvent,driver.driveCyc.nextTimeEventScaled,dragF.mode,dragF.startForward,dragF.startBackward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.001192/0.1623, allocations: 492.5 kB / 453.1 MB, free: 10.56 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001601/0.1639, allocations: 0.6532 MB / 453.8 MB, free: 9.91 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1639, allocations: 0 / 453.8 MB, free: 9.91 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006357/0.1646, allocations: 248.2 kB / 454 MB, free: 9.668 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005954/0.1652, allocations: 96.67 kB / 454.1 MB, free: 9.574 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00231/0.1675, allocations: 1.264 MB / 455.4 MB, free: 8.273 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006751/0.1682, allocations: 0.8199 MB / 456.2 MB, free: 7.426 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001203/0.1683, allocations: 39.42 kB / 456.2 MB, free: 7.387 MB / 318.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1683, allocations: 3.938 kB / 456.2 MB, free: 7.383 MB / 318.1 MB Notification: Performance of Templates: time 0.01289/0.1812, allocations: 7.971 MB / 464.2 MB, free: 15.42 MB / 334.1 MB make -j1 -f EHPTexamples_main_EHPTexamples.EV.EVdata.makefile make -j1 -f EHPTexamples_main_EHPTexamples.EV.EVdata.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"." -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" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppEHPTexamples_main_EHPTexamples.EV.EVdataCalcHelperMain.o OMCppEHPTexamples_main_EHPTexamples.EV.EVdataCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppEHPTexamples_main_EHPTexamples.EV.EVdataCalcHelperMain.o] Error 1