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 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) 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 main/package.mo): time 0.06006/0.06006, allocations: 8.618 MB / 24.23 MB, free: 4.574 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008517/0.0008516, allocations: 98.84 kB / 26.93 MB, free: 2.777 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.001068/0.001068, allocations: 188.9 kB / 29.74 MB, free: 6.523 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.532/1.532, allocations: 223.3 MB / 255.7 MB, free: 3.055 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01409/0.01409, allocations: 3.129 MB / 311.8 MB, free: 15.78 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.000458/0.0004582, allocations: 12.91 kB / 379.4 MB, free: 52.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1265, allocations: 53.13 MB / 432.5 MB, free: 15.87 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.EV.FirstEV): time 0.003521/0.13, allocations: 2.7 MB / 435.2 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004159/0.1342, allocations: 1.993 MB / 437.2 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007259/0.135, allocations: 11.94 kB / 437.2 MB, free: 11.15 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007057/0.1357, allocations: 79.53 kB / 437.3 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007709/0.1365, allocations: 123.2 kB / 437.4 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001187/0.1377, allocations: 312.8 kB / 437.7 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007084/0.1384, allocations: 0.5334 MB / 438.3 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000284/0.1387, allocations: 131.4 kB / 438.4 MB, free: 9.98 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002772/0.139, allocations: 215.1 kB / 438.6 MB, free: 9.77 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003308/0.1394, allocations: 207.1 kB / 438.8 MB, free: 9.566 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.805e-05/0.1394, allocations: 20 kB / 438.8 MB, free: 9.547 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000276/0.1397, allocations: 123.9 kB / 438.9 MB, free: 9.426 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.943e-05/0.1398, allocations: 83.66 kB / 439 MB, free: 9.344 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.549e-05/0.1399, allocations: 105.4 kB / 439.1 MB, free: 9.234 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000385/0.1403, allocations: 483 kB / 439.6 MB, free: 8.762 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.1403, allocations: 0 / 439.6 MB, free: 8.762 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1403, allocations: 0 / 439.6 MB, free: 8.762 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.1403, allocations: 0 / 439.6 MB, free: 8.762 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.00111/0.1414, allocations: 0.7377 MB / 440.3 MB, free: 7.973 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.1415, allocations: 12.03 kB / 440.3 MB, free: 7.961 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001528/0.1416, allocations: 47.44 kB / 440.4 MB, free: 7.914 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003787/0.142, allocations: 367.1 kB / 440.8 MB, free: 7.52 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.61e-05/0.1421, allocations: 54.7 kB / 440.8 MB, free: 7.461 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.558e-05/0.1421, allocations: 36 kB / 440.8 MB, free: 7.426 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007102/0.1429, allocations: 473.5 kB / 441.3 MB, free: 6.938 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/0.1429, allocations: 11.89 kB / 441.3 MB, free: 6.926 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.093e-05/0.1429, allocations: 15.95 kB / 441.3 MB, free: 6.91 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/0.143, allocations: 12 kB / 441.3 MB, free: 6.898 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006516/0.1436, allocations: 359.7 kB / 441.7 MB, free: 6.551 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001786/0.1454, allocations: 1.366 MB / 443.1 MB, free: 5.102 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008876/0.1463, allocations: 431.6 kB / 443.5 MB, free: 4.672 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002988/0.1466, allocations: 164.8 kB / 443.6 MB, free: 4.508 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.417e-05/0.1467, allocations: 4 kB / 443.6 MB, free: 4.504 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004521/0.1471, allocations: 252.2 kB / 443.9 MB, free: 4.246 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 2.324e-06/0.1471, allocations: 0 / 443.9 MB, free: 4.246 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.003591/0.1507, allocations: 1.876 MB / 445.8 MB, free: 2.254 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.415e-05/0.1508, allocations: 158.2 kB / 445.9 MB, free: 2.062 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003068/0.1511, allocations: 324.5 kB / 446.2 MB, free: 1.734 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.58e-05/0.1512, allocations: 37.7 kB / 446.3 MB, free: 1.691 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.1513, allocations: 216.4 kB / 446.5 MB, free: 1.477 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.032e-05/0.1514, allocations: 130.2 kB / 446.6 MB, free: 1.348 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.26e-05/0.1514, allocations: 8 kB / 446.6 MB, free: 1.34 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.944e-05/0.1515, allocations: 346.8 kB / 447 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003203/0.1518, allocations: 172.7 kB / 447.1 MB, free: 0.8242 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003667/0.1522, allocations: 283.4 kB / 447.4 MB, free: 0.5078 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003046/0.1525, allocations: 168.1 kB / 447.6 MB, free: 352 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1525, allocations: 3.953 kB / 447.6 MB, free: 348 kB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001162/0.1537, allocations: 0.5757 MB / 448.1 MB, free: 15.75 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001123/0.1538, allocations: 148 kB / 448.3 MB, free: 15.58 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.1538, allocations: 7.938 kB / 448.3 MB, free: 15.57 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004236/0.1543, allocations: 156.8 kB / 448.5 MB, free: 15.41 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003038/0.1546, allocations: 83.89 kB / 448.5 MB, free: 15.33 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007115/0.1553, allocations: 0.7123 MB / 449.2 MB, free: 14.59 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000374/0.1557, allocations: 79.98 kB / 449.3 MB, free: 14.52 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.356e-05/0.1557, allocations: 20.06 kB / 449.3 MB, free: 14.5 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.758e-06/0.1558, allocations: 4 kB / 449.4 MB, free: 14.49 MB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009234/0.1567, allocations: 452.5 kB / 449.8 MB, free: 14.05 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.1567, allocations: 0 / 449.8 MB, free: 14.05 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003698/0.1571, allocations: 164.9 kB / 450 MB, free: 13.88 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002078/0.1573, allocations: 63.91 kB / 450 MB, free: 13.82 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006372/0.1579, allocations: 0.7158 MB / 450.7 MB, free: 13.08 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003064/0.1583, allocations: 60.02 kB / 450.8 MB, free: 13.02 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.312e-05/0.1583, allocations: 16 kB / 450.8 MB, free: 13.01 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.0003117/0.1586, allocations: 249 kB / 451 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.926e-05/0.1587, allocations: 43.48 kB / 451.1 MB, free: 12.71 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001257/0.1588, allocations: 48.06 kB / 451.1 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.1588, allocations: 4 kB / 451.1 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/0.1589, allocations: 4 kB / 451.1 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/0.1589, allocations: 8.016 kB / 451.2 MB, free: 12.65 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002067/0.1609, allocations: 1.181 MB / 452.3 MB, free: 11.4 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.161, allocations: 0 / 452.3 MB, free: 11.4 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002882/0.1612, allocations: 75.95 kB / 452.4 MB, free: 11.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00033/0.1616, allocations: 144.8 kB / 452.6 MB, free: 11.18 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.968e-05/0.1616, allocations: 11.98 kB / 452.6 MB, free: 11.17 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006032/0.1622, allocations: 0.6888 MB / 453.3 MB, free: 10.45 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.1623, allocations: 0 / 453.3 MB, free: 10.45 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001583/0.1638, allocations: 0.8259 MB / 454.1 MB, free: 9.598 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000171/0.164, allocations: 156.6 kB / 454.2 MB, free: 9.426 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.255e-05/0.1641, allocations: 12 kB / 454.2 MB, free: 9.414 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003521/0.1645, allocations: 79.94 kB / 454.3 MB, free: 9.336 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001647/0.1646, allocations: 63.88 kB / 454.4 MB, free: 9.273 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.744e-05/0.1647, allocations: 19.98 kB / 454.4 MB, free: 9.254 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002947/0.165, allocations: 223.1 kB / 454.6 MB, free: 9.039 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.165, allocations: 0 / 454.6 MB, free: 9.039 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007403/0.1657, allocations: 180 kB / 454.8 MB, free: 8.863 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.001319/0.1671, allocations: 498.8 kB / 455.3 MB, free: 8.547 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001615/0.1687, allocations: 0.6532 MB / 455.9 MB, free: 7.895 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.1687, allocations: 0 / 455.9 MB, free: 7.895 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005595/0.1693, allocations: 248.3 kB / 456.2 MB, free: 7.652 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000582/0.1699, allocations: 84.55 kB / 456.3 MB, free: 7.574 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002144/0.172, allocations: 1.209 MB / 457.5 MB, free: 6.324 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003817/0.1724, allocations: 0.8121 MB / 458.3 MB, free: 5.484 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/0.1725, allocations: 43.36 kB / 458.3 MB, free: 5.441 MB / 318.1 MB Notification: Performance of SimCode: time 1.974e-06/0.1726, allocations: 0 / 458.3 MB, free: 5.441 MB / 318.1 MB Notification: Performance of Templates: time 0.01062/0.1832, allocations: 7.624 MB / 465.9 MB, free: 13.83 MB / 334.1 MB make -j1 -f EHPTexamples_main_EHPTexamples.EV.FirstEV.makefile make -j1 -f EHPTexamples_main_EHPTexamples.EV.FirstEV.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.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