Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTexamples_main_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_main_EHPTexamples.EV.FirstEV") translateModel(EHPTexamples.EV.FirstEV,tolerance=0.0001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="EHPTexamples_main_EHPTexamples.EV.FirstEV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.05771/0.05771, allocations: 8.011 MB / 23.94 MB, free: 92 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.0007432/0.0007432, allocations: 90.56 kB / 26.51 MB, free: 3.379 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.001126/0.001126, allocations: 183.2 kB / 29.19 MB, free: 0.7227 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.538/1.538, allocations: 223.2 MB / 255 MB, free: 5.609 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01299/0.01299, allocations: 3.13 MB / 311 MB, free: 0.7656 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005237/0.0005238, allocations: 10.06 kB / 378.8 MB, free: 54.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1359, allocations: 52.98 MB / 431.8 MB, free: 17.48 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.FirstEV): time 0.003774/0.1397, allocations: 2.826 MB / 434.6 MB, free: 14.66 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003641/0.1434, allocations: 2.064 MB / 436.6 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005384/0.144, allocations: 11.94 kB / 436.7 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005058/0.1445, allocations: 75.55 kB / 436.7 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006684/0.1452, allocations: 123.2 kB / 436.9 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001058/0.1463, allocations: 368.1 kB / 437.2 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000774/0.1471, allocations: 0.5724 MB / 437.8 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002967/0.1474, allocations: 140.8 kB / 437.9 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004064/0.1478, allocations: 231 kB / 438.1 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003108/0.1481, allocations: 215 kB / 438.4 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.85e-05/0.1482, allocations: 24 kB / 438.4 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002951/0.1485, allocations: 123.9 kB / 438.5 MB, free: 10.72 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.1486, allocations: 95.64 kB / 438.6 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001782/0.1488, allocations: 232.5 kB / 438.8 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004031/0.1492, allocations: 475.1 kB / 439.3 MB, free: 9.93 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1492, allocations: 0 / 439.3 MB, free: 9.93 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1492, allocations: 0 / 439.3 MB, free: 9.93 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.135e-05/0.1493, allocations: 4 kB / 439.3 MB, free: 9.926 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.001178/0.1504, allocations: 0.7481 MB / 440 MB, free: 9.129 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.1505, allocations: 8.031 kB / 440 MB, free: 9.121 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001464/0.1506, allocations: 60.31 kB / 440.1 MB, free: 9.062 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003764/0.151, allocations: 376.1 kB / 440.5 MB, free: 8.66 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.103e-05/0.1511, allocations: 55.25 kB / 440.5 MB, free: 8.602 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.353e-05/0.1512, allocations: 39.94 kB / 440.6 MB, free: 8.562 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007224/0.1519, allocations: 481.5 kB / 441 MB, free: 8.062 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.1519, allocations: 8 kB / 441 MB, free: 8.055 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.235e-05/0.152, allocations: 12 kB / 441.1 MB, free: 8.043 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/0.152, allocations: 8 kB / 441.1 MB, free: 8.035 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006689/0.1527, allocations: 359.8 kB / 441.4 MB, free: 7.688 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001817/0.1545, allocations: 1.37 MB / 442.8 MB, free: 6.234 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009241/0.1554, allocations: 434.4 kB / 443.2 MB, free: 5.801 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003128/0.1557, allocations: 160.8 kB / 443.4 MB, free: 5.641 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.987e-05/0.1558, allocations: 4.531 kB / 443.4 MB, free: 5.637 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004719/0.1563, allocations: 251.7 kB / 443.6 MB, free: 5.379 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.924e-06/0.1563, allocations: 3.938 kB / 443.6 MB, free: 5.375 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.003798/0.1601, allocations: 1.883 MB / 445.5 MB, free: 3.375 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.342e-05/0.1602, allocations: 166.1 kB / 445.7 MB, free: 3.176 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002939/0.1605, allocations: 328.5 kB / 446 MB, free: 2.848 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.735e-05/0.1605, allocations: 37.7 kB / 446 MB, free: 2.805 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.802e-05/0.1606, allocations: 212.5 kB / 446.2 MB, free: 2.594 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.68e-05/0.1607, allocations: 138.1 kB / 446.4 MB, free: 2.457 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.04e-05/0.1607, allocations: 41.7 kB / 446.4 MB, free: 2.41 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.359e-05/0.1608, allocations: 342.8 kB / 446.7 MB, free: 2.066 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003323/0.1611, allocations: 172.8 kB / 446.9 MB, free: 1.898 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000393/0.1615, allocations: 283.4 kB / 447.2 MB, free: 1.582 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006384/0.1622, allocations: 383.7 kB / 447.6 MB, free: 1.18 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1622, allocations: 0 / 447.6 MB, free: 1.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001091/0.1633, allocations: 0.5641 MB / 448.1 MB, free: 0.6055 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.43e-05/0.1634, allocations: 152.3 kB / 448.3 MB, free: 436 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.1634, allocations: 4 kB / 448.3 MB, free: 432 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003855/0.1638, allocations: 160.8 kB / 448.4 MB, free: 268 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002679/0.1641, allocations: 83.89 kB / 448.5 MB, free: 184 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006473/0.1647, allocations: 0.7156 MB / 449.2 MB, free: 15.44 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003949/0.1651, allocations: 79.98 kB / 449.3 MB, free: 15.36 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.313e-05/0.1652, allocations: 16.06 kB / 449.3 MB, free: 15.35 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.836e-06/0.1652, allocations: 4 kB / 449.3 MB, free: 15.34 MB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009041/0.1661, allocations: 444.2 kB / 449.8 MB, free: 14.91 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.1661, allocations: 4 kB / 449.8 MB, free: 14.9 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003617/0.1665, allocations: 169 kB / 449.9 MB, free: 14.73 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002084/0.1667, allocations: 67.91 kB / 450 MB, free: 14.67 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006309/0.1674, allocations: 0.7045 MB / 450.7 MB, free: 13.94 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003215/0.1677, allocations: 63.92 kB / 450.8 MB, free: 13.88 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.444e-05/0.1677, allocations: 20 kB / 450.8 MB, free: 13.86 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.0002919/0.168, allocations: 245.8 kB / 451 MB, free: 13.61 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.377e-05/0.1681, allocations: 39.53 kB / 451.1 MB, free: 13.57 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001372/0.1682, allocations: 52.05 kB / 451.1 MB, free: 13.51 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.1683, allocations: 4 kB / 451.1 MB, free: 13.51 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.637e-06/0.1683, allocations: 7.938 kB / 451.1 MB, free: 13.5 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.1683, allocations: 0 / 451.1 MB, free: 13.5 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0021/0.1704, allocations: 1.193 MB / 452.3 MB, free: 12.24 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.1704, allocations: 0 / 452.3 MB, free: 12.24 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002892/0.1707, allocations: 75.98 kB / 452.4 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003463/0.1711, allocations: 144.7 kB / 452.5 MB, free: 12.02 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.3e-05/0.1711, allocations: 19.98 kB / 452.6 MB, free: 12 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005988/0.1717, allocations: 0.681 MB / 453.2 MB, free: 11.29 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1717, allocations: 0 / 453.2 MB, free: 11.29 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001662/0.1734, allocations: 0.8378 MB / 454.1 MB, free: 10.43 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001805/0.1736, allocations: 152.6 kB / 454.2 MB, free: 10.26 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.388e-05/0.1737, allocations: 19.88 kB / 454.2 MB, free: 10.24 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003934/0.1741, allocations: 79.98 kB / 454.3 MB, free: 10.16 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001359/0.1742, allocations: 55.91 kB / 454.4 MB, free: 10.11 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.342e-05/0.1742, allocations: 15.98 kB / 454.4 MB, free: 10.09 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002701/0.1745, allocations: 235.1 kB / 454.6 MB, free: 9.863 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1745, allocations: 0 / 454.6 MB, free: 9.863 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006815/0.1752, allocations: 176 kB / 454.8 MB, free: 9.691 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.001156/0.1764, allocations: 475.4 kB / 455.3 MB, free: 9.395 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001579/0.178, allocations: 0.6573 MB / 455.9 MB, free: 8.738 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.178, allocations: 3.938 kB / 455.9 MB, free: 8.734 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005749/0.1786, allocations: 239.9 kB / 456.2 MB, free: 8.5 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006504/0.1792, allocations: 95.44 kB / 456.2 MB, free: 8.414 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002282/0.1815, allocations: 1.259 MB / 457.5 MB, free: 7.113 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004198/0.182, allocations: 0.8238 MB / 458.3 MB, free: 6.258 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001092/0.1821, allocations: 31.44 kB / 458.4 MB, free: 6.227 MB / 318.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1821, allocations: 0 / 458.4 MB, free: 6.227 MB / 318.1 MB Notification: Performance of Templates: time 0.01067/0.1928, allocations: 7.61 MB / 466 MB, free: 14.62 MB / 334.1 MB make -j1 -f EHPTexamples_main_EHPTexamples.EV.FirstEV.makefile make -j1 -f EHPTexamples_main_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_main_EHPTexamples.EV.FirstEVCalcHelperMain.o OMCppEHPTexamples_main_EHPTexamples.EV.FirstEVCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppEHPTexamples_main_EHPTexamples.EV.FirstEVCalcHelperMain.o] Error 1