Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor.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.Analog.Examples.Resistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|resistor.i|resistor.LossPower",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor") translateModel(Modelica.Electrical.Analog.Examples.Resistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|resistor.i|resistor.LossPower",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 90.92 kB / 16.96 MB, free: 6.461 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.001011/0.001011, allocations: 180.4 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.67/1.67, allocations: 223.2 MB / 241.9 MB, free: 228 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004266/0.0004269, allocations: 8 kB / 301.4 MB, free: 6.434 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1631, allocations: 50.42 MB / 351.9 MB, free: 4.004 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Resistor): time 0.003662/0.1669, allocations: 1.779 MB / 353.6 MB, free: 2.211 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001391/0.1683, allocations: 0.5301 MB / 354.2 MB, free: 1.676 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001922/0.1685, allocations: 0 / 354.2 MB, free: 1.676 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001967/0.1688, allocations: 15.91 kB / 354.2 MB, free: 1.66 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001667/0.1689, allocations: 35.64 kB / 354.2 MB, free: 1.625 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002998/0.1693, allocations: 31.95 kB / 354.3 MB, free: 1.594 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003188/0.1696, allocations: 151.3 kB / 354.4 MB, free: 1.445 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002108/0.1698, allocations: 33.47 kB / 354.4 MB, free: 1.406 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001999/0.17, allocations: 47.8 kB / 354.5 MB, free: 1.359 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001732/0.1702, allocations: 59.75 kB / 354.5 MB, free: 1.301 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.246e-05/0.1703, allocations: 8 kB / 354.5 MB, free: 1.293 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.774e-05/0.1704, allocations: 8 kB / 354.6 MB, free: 1.285 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.769e-05/0.1704, allocations: 23.86 kB / 354.6 MB, free: 1.262 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.786e-05/0.1705, allocations: 49.64 kB / 354.6 MB, free: 1.207 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002441/0.1708, allocations: 127.9 kB / 354.8 MB, free: 1.082 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.195e-06/0.1708, allocations: 0 / 354.8 MB, free: 1.082 MB / 286.1 MB Notification: Performance of FrontEnd: time 5.36e-06/0.1708, allocations: 0 / 354.8 MB, free: 1.082 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.728e-06/0.1708, allocations: 3.938 kB / 354.8 MB, free: 1.078 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0009102/0.1717, allocations: 419.1 kB / 355.2 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.582e-05/0.1718, allocations: 8.031 kB / 355.2 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001716/0.172, allocations: 23.75 kB / 355.2 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000366/0.1723, allocations: 206.8 kB / 355.4 MB, free: 352 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/0.1724, allocations: 8.234 kB / 355.4 MB, free: 344 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.097e-05/0.1724, allocations: 12 kB / 355.4 MB, free: 332 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004329/0.1729, allocations: 116.5 kB / 355.5 MB, free: 212 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.1729, allocations: 0 / 355.5 MB, free: 212 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.481e-05/0.1729, allocations: 4 kB / 355.5 MB, free: 208 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/0.1729, allocations: 7.953 kB / 355.5 MB, free: 200 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002686/0.1732, allocations: 84.66 kB / 355.6 MB, free: 116 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00113/0.1744, allocations: 0.6135 MB / 356.2 MB, free: 15.42 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000302/0.1747, allocations: 82.62 kB / 356.3 MB, free: 15.33 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.524e-05/0.1748, allocations: 32.97 kB / 356.4 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.1748, allocations: 0 / 356.4 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/0.1749, allocations: 38.5 kB / 356.4 MB, free: 15.25 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 8.72e-07/0.1749, allocations: 0 / 356.4 MB, free: 15.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007193/0.1756, allocations: 267.4 kB / 356.7 MB, free: 14.96 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/0.1756, allocations: 55.39 kB / 356.7 MB, free: 14.89 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001623/0.1758, allocations: 144.6 kB / 356.8 MB, free: 14.75 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.1758, allocations: 25.7 kB / 356.9 MB, free: 14.71 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.176, allocations: 127.9 kB / 357 MB, free: 14.58 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.431e-05/0.176, allocations: 27.62 kB / 357 MB, free: 14.55 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.598e-06/0.176, allocations: 0 / 357 MB, free: 14.55 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.1761, allocations: 334.7 kB / 357.4 MB, free: 14.22 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.382e-05/0.1762, allocations: 20 kB / 357.4 MB, free: 14.2 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.668e-05/0.1763, allocations: 46.55 kB / 357.4 MB, free: 14.14 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.404e-05/0.1764, allocations: 28 kB / 357.4 MB, free: 14.12 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1764, allocations: 0 / 357.4 MB, free: 14.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003034/0.1767, allocations: 138.3 kB / 357.6 MB, free: 13.97 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.1767, allocations: 8 kB / 357.6 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/0.1768, allocations: 0 / 357.6 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002056/0.177, allocations: 40.86 kB / 357.6 MB, free: 13.92 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.141e-05/0.177, allocations: 11.98 kB / 357.6 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001673/0.1787, allocations: 1.514 MB / 359.2 MB, free: 12.26 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.341e-05/0.1788, allocations: 7.938 kB / 359.2 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.1788, allocations: 4 kB / 359.2 MB, free: 12.25 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 (5): * Single equations (assignments): 4 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001201/0.179, allocations: 121.8 kB / 359.3 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.078e-05/0.179, allocations: 19.83 kB / 359.3 MB, free: 12.1 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.119e-05/0.1791, allocations: 16.7 kB / 359.3 MB, free: 12.08 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.1791, allocations: 0 / 359.3 MB, free: 12.08 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.1791, allocations: 0 / 359.3 MB, free: 12.08 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.1791, allocations: 0 / 359.3 MB, free: 12.08 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002565/0.1793, allocations: 213.6 kB / 359.5 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1794, allocations: 0 / 359.5 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.723e-05/0.1794, allocations: 4 kB / 359.5 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001307/0.1795, allocations: 40.78 kB / 359.6 MB, free: 11.78 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.1796, allocations: 4 kB / 359.6 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001333/0.1809, allocations: 1.514 MB / 361.1 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1809, allocations: 0 / 361.1 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003153/0.1812, allocations: 216.2 kB / 361.3 MB, free: 9.895 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.031e-05/0.1813, allocations: 85.02 kB / 361.4 MB, free: 9.793 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.1813, allocations: 12.05 kB / 361.4 MB, free: 9.781 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.516e-05/0.1814, allocations: 4.188 kB / 361.4 MB, free: 9.777 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.387e-05/0.1815, allocations: 11.94 kB / 361.4 MB, free: 9.766 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.992e-06/0.1815, allocations: 3.938 kB / 361.4 MB, free: 9.762 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.36e-05/0.1816, allocations: 111.3 kB / 361.5 MB, free: 9.652 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1816, allocations: 0 / 361.5 MB, free: 9.652 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003702/0.182, allocations: 43.84 kB / 361.6 MB, free: 9.609 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 (2): * Single equations (assignments): 1 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.000129/0.1821, allocations: 99.25 kB / 361.7 MB, free: 9.504 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00039/0.1825, allocations: 186.6 kB / 361.8 MB, free: 9.309 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1825, allocations: 0 / 361.8 MB, free: 9.309 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002301/0.1827, allocations: 162.7 kB / 362 MB, free: 9.137 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002855/0.183, allocations: 15.98 kB / 362 MB, free: 9.121 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006409/0.1837, allocations: 375.1 kB / 362.4 MB, free: 8.723 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003557/0.1841, allocations: 0.7082 MB / 363.1 MB, free: 7.988 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.625e-05/0.1841, allocations: 15.44 kB / 363.1 MB, free: 7.977 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1841, allocations: 0 / 363.1 MB, free: 7.977 MB / 302.1 MB Notification: Performance of Templates: time 0.005073/0.1892, allocations: 1.878 MB / 365 MB, free: 6.102 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor.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.Analog.Examples.ResistorCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Analog.Examples.ResistorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Analog.Examples.ResistorCalcHelperMain.o] Error 1