Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Batteries.Examples.ShowImpedance.conf.json 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) 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) Running command: translateModel(Modelica.Electrical.Batteries.Examples.ShowImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|impedance.z.re|impedance.z.im",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Batteries.Examples.ShowImpedance") translateModel(Modelica.Electrical.Batteries.Examples.ShowImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|impedance.z.re|impedance.z.im",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Batteries.Examples.ShowImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009457/0.0009462, allocations: 93.86 kB / 16.95 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000954/0.000954, allocations: 179.2 kB / 17.84 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.629/1.629, allocations: 223.2 MB / 241.8 MB, free: 244 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000294/0.000294, allocations: 8 kB / 301.4 MB, free: 6.441 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1524, allocations: 50.42 MB / 351.9 MB, free: 4.008 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Batteries.Examples.ShowImpedance): time 0.002947/0.1554, allocations: 1.565 MB / 353.4 MB, free: 2.43 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001918/0.1574, allocations: 1.111 MB / 354.5 MB, free: 1.312 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001176/0.1575, allocations: 3.938 kB / 354.5 MB, free: 1.309 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001162/0.1587, allocations: 486.7 kB / 355 MB, free: 0.832 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002494/0.1589, allocations: 183.5 kB / 355.2 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004225/0.1594, allocations: 139.6 kB / 355.3 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000337/0.1597, allocations: 191.1 kB / 355.5 MB, free: 336 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001425/0.1599, allocations: 25.66 kB / 355.5 MB, free: 308 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002217/0.1601, allocations: 111.6 kB / 355.7 MB, free: 196 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003217/0.1604, allocations: 179.5 kB / 355.8 MB, free: 16 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.718e-05/0.1605, allocations: 4 kB / 355.8 MB, free: 12 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001993/0.1607, allocations: 63.95 kB / 355.9 MB, free: 15.95 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002551/0.161, allocations: 275.3 kB / 356.2 MB, free: 15.68 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001185/0.1611, allocations: 121.3 kB / 356.3 MB, free: 15.55 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006636/0.1618, allocations: 0.6043 MB / 356.9 MB, free: 14.95 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1618, allocations: 0 / 356.9 MB, free: 14.95 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1618, allocations: 0 / 356.9 MB, free: 14.95 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.432e-05/0.1618, allocations: 0 / 356.9 MB, free: 14.95 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.002636/0.1644, allocations: 1.081 MB / 358 MB, free: 13.82 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.697e-05/0.1645, allocations: 8.031 kB / 358 MB, free: 13.81 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001777/0.1647, allocations: 94.83 kB / 358.1 MB, free: 13.71 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001121/0.1658, allocations: 0.696 MB / 358.8 MB, free: 12.96 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.1658, allocations: 0 / 358.8 MB, free: 12.96 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.356e-05/0.1659, allocations: 4 kB / 358.8 MB, free: 12.96 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000311/0.1662, allocations: 125.5 kB / 358.9 MB, free: 12.83 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.1662, allocations: 0 / 358.9 MB, free: 12.83 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.104e-05/0.1662, allocations: 3.984 kB / 358.9 MB, free: 12.83 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.1663, allocations: 0 / 358.9 MB, free: 12.83 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003713/0.1666, allocations: 159.8 kB / 359.1 MB, free: 12.67 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001287/0.1679, allocations: 0.8103 MB / 359.9 MB, free: 11.81 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002196/0.1682, allocations: 98.45 kB / 360 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001739/0.1684, allocations: 76.84 kB / 360 MB, free: 11.63 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.424e-05/0.1684, allocations: 7.984 kB / 360 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.427e-05/0.1685, allocations: 30.56 kB / 360.1 MB, free: 11.58 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.1685, allocations: 4 kB / 360.1 MB, free: 11.58 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0008896/0.1694, allocations: 344.4 kB / 360.4 MB, free: 11.23 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.495e-05/0.1694, allocations: 55.41 kB / 360.5 MB, free: 11.17 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001988/0.1714, allocations: 1.409 MB / 361.9 MB, free: 9.738 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.79e-05/0.1715, allocations: 25.7 kB / 361.9 MB, free: 9.707 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004334/0.1719, allocations: 388.4 kB / 362.3 MB, free: 9.324 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.23e-05/0.172, allocations: 11.89 kB / 362.3 MB, free: 9.312 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.899e-06/0.172, allocations: 0 / 362.3 MB, free: 9.312 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.1722, allocations: 306 kB / 362.6 MB, free: 9.008 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001828/0.1723, allocations: 75.95 kB / 362.7 MB, free: 8.934 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002003/0.1726, allocations: 90.52 kB / 362.8 MB, free: 8.836 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001875/0.1728, allocations: 75.94 kB / 362.8 MB, free: 8.762 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.1728, allocations: 0 / 362.8 MB, free: 8.762 MB / 302.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006119/0.1734, allocations: 276.4 kB / 363.1 MB, free: 8.484 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.046e-05/0.1734, allocations: 4 kB / 363.1 MB, free: 8.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.1734, allocations: 4.094 kB / 363.1 MB, free: 8.477 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.583e-05/0.1735, allocations: 7.953 kB / 363.1 MB, free: 8.469 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002088/0.1737, allocations: 19.98 kB / 363.1 MB, free: 8.449 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/0.1737, allocations: 3.938 kB / 363.1 MB, free: 8.445 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001851/0.1739, allocations: 11.98 kB / 363.1 MB, free: 8.434 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.286e-05/0.1739, allocations: 4 kB / 363.2 MB, free: 8.43 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004904/0.1744, allocations: 337.7 kB / 363.5 MB, free: 8.09 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001831/0.1746, allocations: 86.95 kB / 363.6 MB, free: 8.004 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006875/0.1753, allocations: 285.6 kB / 363.8 MB, free: 7.715 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.378e-06/0.1753, allocations: 3.938 kB / 363.8 MB, free: 7.711 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/0.1754, allocations: 3.953 kB / 363.9 MB, free: 7.707 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.1754, allocations: 0 / 363.9 MB, free: 7.707 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000685/0.1761, allocations: 0.5143 MB / 364.4 MB, free: 7.145 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.1761, allocations: 0 / 364.4 MB, free: 7.145 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.965e-05/0.1762, allocations: 23.92 kB / 364.4 MB, free: 7.121 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.1762, allocations: 0 / 364.4 MB, free: 7.121 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.769e-05/0.1762, allocations: 4 kB / 364.4 MB, free: 7.117 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/0.1762, allocations: 4 kB / 364.4 MB, free: 7.113 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.1762, allocations: 0 / 364.4 MB, free: 7.113 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005546/0.1768, allocations: 326.9 kB / 364.7 MB, free: 6.777 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003138/0.1771, allocations: 223.9 kB / 364.9 MB, free: 6.539 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.865e-05/0.1772, allocations: 0 / 364.9 MB, free: 6.539 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001821/0.1774, allocations: 11.98 kB / 364.9 MB, free: 6.527 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.977e-05/0.1775, allocations: 7.984 kB / 365 MB, free: 6.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/0.1775, allocations: 7.938 kB / 365 MB, free: 6.512 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.001468/0.179, allocations: 1.017 MB / 366 MB, free: 5.484 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.179, allocations: 4 kB / 366 MB, free: 5.48 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003902/0.1794, allocations: 67.94 kB / 366.1 MB, free: 5.414 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002737/0.1797, allocations: 114.5 kB / 366.2 MB, free: 5.293 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004407/0.1801, allocations: 139.8 kB / 366.3 MB, free: 5.156 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.1801, allocations: 0 / 366.3 MB, free: 5.156 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001729/0.1803, allocations: 55.95 kB / 366.4 MB, free: 5.102 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006791/0.181, allocations: 110.4 kB / 366.5 MB, free: 5 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002509/0.1835, allocations: 1.533 MB / 368 MB, free: 3.426 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007632/0.1843, allocations: 0.9972 MB / 369 MB, free: 2.406 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001349/0.1844, allocations: 43.42 kB / 369 MB, free: 2.363 MB / 302.1 MB Notification: Performance of SimCode: time 1.153e-06/0.1844, allocations: 0 / 369 MB, free: 2.363 MB / 302.1 MB Notification: Performance of Templates: time 0.2656/0.45, allocations: 8.934 MB / 378 MB, free: 22.3 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Batteries.Examples.ShowImpedance.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.Batteries.Examples.ShowImpedance.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_4.0.0_Modelica.Electrical.Batteries.Examples.ShowImpedanceCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Batteries.Examples.ShowImpedanceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Batteries.Examples.ShowImpedanceCalcHelperMain.o] Error 1