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 2.1.4-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 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-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 2.1.4-main/package.mo): time 0.07232/0.07232, allocations: 8.007 MB / 23.94 MB, free: 0.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009527/0.0009528, allocations: 88.83 kB / 26.51 MB, free: 3.613 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.001346/0.001346, allocations: 179.3 kB / 29.19 MB, free: 0.9453 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.522/1.522, allocations: 223.3 MB / 255 MB, free: 3.926 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01302/0.01302, allocations: 3.12 MB / 311 MB, free: 0.6094 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004494/0.0004496, allocations: 15.56 kB / 376 MB, free: 53.81 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1286, allocations: 52.97 MB / 429 MB, free: 20.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.EVdata): time 0.003545/0.1322, allocations: 2.921 MB / 431.9 MB, free: 17.11 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003551/0.1358, allocations: 2.193 MB / 434.1 MB, free: 14.91 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005266/0.1363, allocations: 11.94 kB / 434.1 MB, free: 14.9 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006204/0.137, allocations: 121.8 kB / 434.3 MB, free: 14.78 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006831/0.1377, allocations: 139.1 kB / 434.4 MB, free: 14.64 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00098/0.1387, allocations: 359.5 kB / 434.8 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007981/0.1395, allocations: 0.6112 MB / 435.4 MB, free: 13.68 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002889/0.1398, allocations: 137.5 kB / 435.5 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004278/0.1402, allocations: 227 kB / 435.7 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004626/0.1407, allocations: 230.8 kB / 435.9 MB, free: 13.1 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.569e-05/0.1408, allocations: 27.98 kB / 436 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000367/0.1412, allocations: 131.9 kB / 436.1 MB, free: 12.94 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001207/0.1413, allocations: 87.66 kB / 436.2 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002256/0.1415, allocations: 248.4 kB / 436.4 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005556/0.1421, allocations: 498.7 kB / 436.9 MB, free: 12.12 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.1421, allocations: 0 / 436.9 MB, free: 12.12 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.827e-06/0.1421, allocations: 4 kB / 436.9 MB, free: 12.11 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.139e-05/0.1421, allocations: 0 / 436.9 MB, free: 12.11 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.001442/0.1436, allocations: 0.7636 MB / 437.7 MB, free: 11.3 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.1436, allocations: 12.03 kB / 437.7 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002176/0.1439, allocations: 56.28 kB / 437.7 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000527/0.1444, allocations: 392.7 kB / 438.1 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.266e-05/0.1445, allocations: 55.27 kB / 438.2 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.533e-05/0.1446, allocations: 43.88 kB / 438.2 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000807/0.1454, allocations: 473.5 kB / 438.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/0.1454, allocations: 7.922 kB / 438.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.561e-05/0.1455, allocations: 16 kB / 438.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.354e-05/0.1455, allocations: 8 kB / 438.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007229/0.1462, allocations: 359.7 kB / 439.1 MB, free: 9.84 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002043/0.1483, allocations: 1.386 MB / 440.5 MB, free: 8.371 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009933/0.1493, allocations: 423.4 kB / 440.9 MB, free: 7.949 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003195/0.1496, allocations: 168.8 kB / 441 MB, free: 7.781 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.318e-05/0.1497, allocations: 8.828 kB / 441 MB, free: 7.773 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004845/0.1501, allocations: 251.6 kB / 441.3 MB, free: 7.516 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 2.304e-06/0.1502, allocations: 3.938 kB / 441.3 MB, free: 7.512 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.004063/0.1542, allocations: 1.883 MB / 443.2 MB, free: 5.512 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.365e-05/0.1543, allocations: 166.1 kB / 443.3 MB, free: 5.312 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003581/0.1547, allocations: 361.7 kB / 443.7 MB, free: 4.953 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.415e-05/0.1547, allocations: 41.7 kB / 443.7 MB, free: 4.906 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.1549, allocations: 224.5 kB / 444 MB, free: 4.684 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.96e-05/0.155, allocations: 138 kB / 444.1 MB, free: 4.547 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.717e-05/0.155, allocations: 37.7 kB / 444.1 MB, free: 4.504 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.823e-05/0.1551, allocations: 354.8 kB / 444.5 MB, free: 4.148 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003609/0.1555, allocations: 176.8 kB / 444.6 MB, free: 3.977 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000408/0.1559, allocations: 275.4 kB / 444.9 MB, free: 3.668 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000678/0.1566, allocations: 383.7 kB / 445.3 MB, free: 3.266 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1566, allocations: 0 / 445.3 MB, free: 3.266 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001189/0.1578, allocations: 0.5757 MB / 445.9 MB, free: 2.68 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.112e-05/0.1579, allocations: 144.4 kB / 446 MB, free: 2.508 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.1579, allocations: 4 kB / 446 MB, free: 2.504 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000395/0.1583, allocations: 168.7 kB / 446.2 MB, free: 2.336 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002745/0.1586, allocations: 79.89 kB / 446.3 MB, free: 2.258 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005305/0.1591, allocations: 0.715 MB / 447 MB, free: 1.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004005/0.1595, allocations: 76.06 kB / 447 MB, free: 1.445 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.045e-05/0.1596, allocations: 27.98 kB / 447.1 MB, free: 1.418 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.334e-06/0.1596, allocations: 6.344 kB / 447.1 MB, free: 1.414 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007878/0.1604, allocations: 436.2 kB / 447.5 MB, free: 0.9844 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.1604, allocations: 4 kB / 447.5 MB, free: 0.9805 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003215/0.1607, allocations: 161 kB / 447.7 MB, free: 0.8203 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002017/0.1609, allocations: 63.91 kB / 447.7 MB, free: 0.7578 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004661/0.1614, allocations: 0.7085 MB / 448.4 MB, free: 24 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00036/0.1618, allocations: 63.95 kB / 448.5 MB, free: 15.96 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.347e-05/0.1618, allocations: 15.98 kB / 448.5 MB, free: 15.95 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,$PRE.driver.driveCyc.nextTimeEvent,$whenCondition1,driver.driveCyc.nextTimeEventScaled,$PRE.driver.driveCyc.nextTimeEventScaled,driver.driveCyc.nextTimeEvent,dragF.mode,$PRE.dragF.mode,dragF.locked,dragF.startBackward,$PRE.dragF.startBackward,dragF.startForward,$PRE.dragF.startForward,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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0003032/0.1621, allocations: 253.9 kB / 448.8 MB, free: 15.69 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.231e-05/0.1622, allocations: 43.44 kB / 448.8 MB, free: 15.64 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001363/0.1624, allocations: 60.23 kB / 448.9 MB, free: 15.58 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.1624, allocations: 4 kB / 448.9 MB, free: 15.57 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.1624, allocations: 3.938 kB / 448.9 MB, free: 15.57 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.243e-06/0.1624, allocations: 0 / 448.9 MB, free: 15.57 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002151/0.1646, allocations: 1.2 MB / 450.1 MB, free: 14.3 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.1646, allocations: 4 kB / 450.1 MB, free: 14.3 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002975/0.1649, allocations: 75.98 kB / 450.1 MB, free: 14.22 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000371/0.1653, allocations: 140.8 kB / 450.3 MB, free: 14.08 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.361e-05/0.1653, allocations: 11.98 kB / 450.3 MB, free: 14.07 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006026/0.1659, allocations: 0.681 MB / 451 MB, free: 13.36 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.1659, allocations: 7.969 kB / 451 MB, free: 13.36 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001697/0.1676, allocations: 0.8417 MB / 451.8 MB, free: 12.48 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001869/0.1678, allocations: 156.6 kB / 452 MB, free: 12.31 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.685e-05/0.1679, allocations: 20 kB / 452 MB, free: 12.29 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004184/0.1683, allocations: 79.92 kB / 452.1 MB, free: 12.21 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001341/0.1685, allocations: 55.84 kB / 452.1 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.375e-05/0.1685, allocations: 15.98 kB / 452.1 MB, free: 12.14 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002882/0.1688, allocations: 259.2 kB / 452.4 MB, free: 11.89 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1688, allocations: 0 / 452.4 MB, free: 11.89 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006941/0.1695, allocations: 184 kB / 452.6 MB, free: 11.71 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001176/0.1707, allocations: 483.3 kB / 453.1 MB, free: 11.41 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001619/0.1723, allocations: 0.6646 MB / 453.7 MB, free: 10.75 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.1724, allocations: 0 / 453.7 MB, free: 10.75 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006081/0.173, allocations: 240.2 kB / 454 MB, free: 10.51 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000691/0.1737, allocations: 96.48 kB / 454 MB, free: 10.42 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002337/0.176, allocations: 1.318 MB / 455.4 MB, free: 9.066 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003789/0.1764, allocations: 0.8199 MB / 456.2 MB, free: 8.219 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.1765, allocations: 35.42 kB / 456.2 MB, free: 8.184 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1765, allocations: 0 / 456.2 MB, free: 8.184 MB / 318.1 MB Notification: Performance of Templates: time 0.01122/0.1878, allocations: 7.955 MB / 464.2 MB, free: 248 kB / 318.1 MB make -j1 -f EHPTexamples_main_EHPTexamples.EV.EVdata.makefile make -j1 -f EHPTexamples_main_EHPTexamples.EV.EVdata.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/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