Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTexamples_latest_EHPTexamples.EV.FirstEV.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) Ignoring simflag -noemit -jacobian= since it seems broken on HelloWorld Running command: translateModel(EHPTexamples.EV.FirstEV,tolerance=0.0001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.EV.FirstEV") translateModel(EHPTexamples.EV.FirstEV,tolerance=0.0001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.EV.FirstEV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.05965/0.05965, allocations: 8.038 MB / 23.97 MB, free: 0.5742 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.0007625/0.0007625, allocations: 94.39 kB / 26.53 MB, free: 3.609 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.001312/0.001312, allocations: 191.3 kB / 29.22 MB, free: 0.9297 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.515/1.515, allocations: 223.3 MB / 255 MB, free: 3.879 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01195/0.01195, allocations: 3.117 MB / 311 MB, free: 0.5664 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004366/0.0004362, allocations: 15.95 kB / 378.8 MB, free: 53.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1305, allocations: 52.98 MB / 431.8 MB, free: 17.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.FirstEV): time 0.003239/0.1338, allocations: 2.81 MB / 434.6 MB, free: 14.31 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002689/0.1365, allocations: 2.078 MB / 436.7 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002314/0.1367, allocations: 11.94 kB / 436.7 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003574/0.1371, allocations: 71.48 kB / 436.8 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003332/0.1374, allocations: 127.3 kB / 436.9 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007766/0.1382, allocations: 360 kB / 437.3 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004777/0.1387, allocations: 0.5802 MB / 437.8 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002341/0.139, allocations: 136.8 kB / 438 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002272/0.1392, allocations: 235 kB / 438.2 MB, free: 10.72 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000267/0.1395, allocations: 218.9 kB / 438.4 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.629e-05/0.1395, allocations: 20 kB / 438.4 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000236/0.1398, allocations: 127.9 kB / 438.6 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.8e-05/0.1399, allocations: 91.59 kB / 438.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001556/0.14, allocations: 228.5 kB / 438.9 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003764/0.1404, allocations: 483 kB / 439.3 MB, free: 9.566 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.1404, allocations: 0 / 439.3 MB, free: 9.566 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1404, allocations: 0 / 439.3 MB, free: 9.566 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.1405, allocations: 0 / 439.3 MB, free: 9.566 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.001184/0.1416, allocations: 0.7522 MB / 440.1 MB, free: 8.766 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.1417, allocations: 8.031 kB / 440.1 MB, free: 8.758 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001895/0.1419, allocations: 52.38 kB / 440.1 MB, free: 8.707 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000405/0.1423, allocations: 376.1 kB / 440.5 MB, free: 8.305 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.968e-05/0.1424, allocations: 55.25 kB / 440.6 MB, free: 8.246 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.444e-05/0.1424, allocations: 39.94 kB / 440.6 MB, free: 8.207 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007568/0.1432, allocations: 477.5 kB / 441.1 MB, free: 7.711 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.042e-05/0.1432, allocations: 7.984 kB / 441.1 MB, free: 7.703 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.302e-05/0.1433, allocations: 15.94 kB / 441.1 MB, free: 7.688 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.1433, allocations: 12 kB / 441.1 MB, free: 7.676 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006923/0.144, allocations: 351.8 kB / 441.5 MB, free: 7.336 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001901/0.1459, allocations: 1.378 MB / 442.8 MB, free: 5.875 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009323/0.1469, allocations: 427.3 kB / 443.2 MB, free: 5.449 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003191/0.1472, allocations: 168.7 kB / 443.4 MB, free: 5.281 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.899e-05/0.1472, allocations: 4.531 kB / 443.4 MB, free: 5.277 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004992/0.1477, allocations: 255.7 kB / 443.7 MB, free: 5.016 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 2.064e-06/0.1477, allocations: 0 / 443.7 MB, free: 5.016 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.004043/0.1518, allocations: 1.879 MB / 445.5 MB, free: 3.02 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.079e-05/0.1519, allocations: 162.2 kB / 445.7 MB, free: 2.824 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003179/0.1522, allocations: 328.5 kB / 446 MB, free: 2.496 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.13e-05/0.1523, allocations: 37.7 kB / 446.1 MB, free: 2.453 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.1524, allocations: 208.5 kB / 446.3 MB, free: 2.246 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.267e-05/0.1525, allocations: 146 kB / 446.4 MB, free: 2.102 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.668e-05/0.1525, allocations: 41.7 kB / 446.4 MB, free: 2.055 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.537e-05/0.1526, allocations: 346.8 kB / 446.8 MB, free: 1.707 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003491/0.153, allocations: 172.8 kB / 447 MB, free: 1.539 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003903/0.1534, allocations: 275.4 kB / 447.2 MB, free: 1.23 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006486/0.154, allocations: 383.7 kB / 447.6 MB, free: 0.8281 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.154, allocations: 4 kB / 447.6 MB, free: 0.8242 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001121/0.1552, allocations: 0.568 MB / 448.2 MB, free: 252 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.624e-05/0.1552, allocations: 148.3 kB / 448.3 MB, free: 72 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.1553, allocations: 4 kB / 448.3 MB, free: 68 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004568/0.1557, allocations: 160.8 kB / 448.5 MB, free: 15.91 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003106/0.156, allocations: 87.83 kB / 448.6 MB, free: 15.82 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007147/0.1568, allocations: 0.7113 MB / 449.3 MB, free: 15.09 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004221/0.1572, allocations: 83.98 kB / 449.4 MB, free: 15 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.63e-05/0.1573, allocations: 16 kB / 449.4 MB, free: 14.99 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.975e-06/0.1573, allocations: 4 kB / 449.4 MB, free: 14.98 MB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009699/0.1583, allocations: 440.4 kB / 449.8 MB, free: 14.55 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.1583, allocations: 4 kB / 449.8 MB, free: 14.55 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003744/0.1587, allocations: 164.8 kB / 450 MB, free: 14.38 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002179/0.1589, allocations: 67.84 kB / 450 MB, free: 14.32 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006437/0.1595, allocations: 0.7046 MB / 450.7 MB, free: 13.59 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003535/0.1599, allocations: 63.95 kB / 450.8 MB, free: 13.52 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.107e-05/0.1599, allocations: 16 kB / 450.8 MB, free: 13.51 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.0003127/0.1603, allocations: 252.1 kB / 451.1 MB, free: 13.25 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.072e-05/0.1603, allocations: 43.53 kB / 451.1 MB, free: 13.21 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000125/0.1605, allocations: 52 kB / 451.2 MB, free: 13.16 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.1605, allocations: 4 kB / 451.2 MB, free: 13.15 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.616e-05/0.1605, allocations: 3.938 kB / 451.2 MB, free: 13.15 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/0.1605, allocations: 3.984 kB / 451.2 MB, free: 13.14 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002151/0.1627, allocations: 1.185 MB / 452.4 MB, free: 11.89 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.1627, allocations: 8.094 kB / 452.4 MB, free: 11.88 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002916/0.163, allocations: 75.89 kB / 452.4 MB, free: 11.81 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003623/0.1634, allocations: 144.8 kB / 452.6 MB, free: 11.66 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.321e-05/0.1634, allocations: 11.98 kB / 452.6 MB, free: 11.65 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006259/0.164, allocations: 0.6927 MB / 453.3 MB, free: 10.93 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.1641, allocations: 4 kB / 453.3 MB, free: 10.93 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001721/0.1658, allocations: 0.834 MB / 454.1 MB, free: 10.07 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001805/0.166, allocations: 152.6 kB / 454.3 MB, free: 9.898 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.885e-05/0.1661, allocations: 19.94 kB / 454.3 MB, free: 9.879 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004026/0.1665, allocations: 75.98 kB / 454.4 MB, free: 9.805 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/0.1666, allocations: 55.84 kB / 454.4 MB, free: 9.75 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.141e-05/0.1667, allocations: 24.05 kB / 454.4 MB, free: 9.727 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002755/0.1669, allocations: 231 kB / 454.7 MB, free: 9.504 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.167, allocations: 0 / 454.7 MB, free: 9.504 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007148/0.1677, allocations: 176 kB / 454.8 MB, free: 9.332 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.00126/0.1689, allocations: 480.2 kB / 455.3 MB, free: 9.035 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001646/0.1706, allocations: 0.6568 MB / 456 MB, free: 8.379 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.1706, allocations: 0 / 456 MB, free: 8.379 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005902/0.1712, allocations: 244.2 kB / 456.2 MB, free: 8.141 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006795/0.1719, allocations: 91.94 kB / 456.3 MB, free: 8.055 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002442/0.1744, allocations: 1.259 MB / 457.6 MB, free: 6.754 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004069/0.1748, allocations: 0.816 MB / 458.4 MB, free: 5.906 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001193/0.1749, allocations: 35.42 kB / 458.4 MB, free: 5.871 MB / 318.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1749, allocations: 0 / 458.4 MB, free: 5.871 MB / 318.1 MB Notification: Performance of Templates: time 0.01188/0.1868, allocations: 7.603 MB / 466 MB, free: 14.28 MB / 334.1 MB make -j1 -f EHPTexamples_latest_EHPTexamples.EV.FirstEV.makefile make -j1 -f EHPTexamples_latest_EHPTexamples.EV.FirstEV.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_latest_EHPTexamples.EV.FirstEVCalcHelperMain.o OMCppEHPTexamples_latest_EHPTexamples.EV.FirstEVCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppEHPTexamples_latest_EHPTexamples.EV.FirstEVCalcHelperMain.o] Error 1