Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.DemoPowerSupply,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply") translateModel(Modelica.Electrical.Analog.Examples.DemoPowerSupply,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001141/0.001141, allocations: 89.19 kB / 17.63 MB, free: 6.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001489/0.001489, allocations: 202.3 kB / 18.54 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.683/1.683, allocations: 227.3 MB / 246.6 MB, free: 12.04 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003232/0.0003234, allocations: 4 kB / 307.3 MB, free: 1.617 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1746/0.1749, allocations: 51.5 MB / 358.8 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.002608/0.1776, allocations: 1.721 MB / 360.5 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001084/0.1787, allocations: 0.538 MB / 361.1 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.1788, allocations: 4 kB / 361.1 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001068/0.179, allocations: 11.86 kB / 361.1 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.954e-05/0.179, allocations: 31.75 kB / 361.1 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002432/0.1793, allocations: 59.88 kB / 361.2 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00024/0.1796, allocations: 183.4 kB / 361.3 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001624/0.1797, allocations: 37.05 kB / 361.4 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/0.1798, allocations: 71.7 kB / 361.4 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001985/0.1801, allocations: 71.73 kB / 361.5 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.717e-05/0.1801, allocations: 12 kB / 361.5 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.18e-05/0.1802, allocations: 15.98 kB / 361.5 MB, free: 11.35 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.823e-05/0.1802, allocations: 27.84 kB / 361.6 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.775e-05/0.1803, allocations: 49.64 kB / 361.6 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001942/0.1805, allocations: 131.9 kB / 361.7 MB, free: 11.14 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.1805, allocations: 0 / 361.7 MB, free: 11.14 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1805, allocations: 0 / 361.7 MB, free: 11.14 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.683e-06/0.1805, allocations: 0 / 361.7 MB, free: 11.14 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007971/0.1813, allocations: 472.5 kB / 362.2 MB, free: 10.62 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.1814, allocations: 8.031 kB / 362.2 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001501/0.1815, allocations: 19.81 kB / 362.2 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002787/0.1818, allocations: 213.6 kB / 362.4 MB, free: 10.35 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001161/0.1819, allocations: 97.03 kB / 362.5 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.815e-05/0.182, allocations: 12 kB / 362.6 MB, free: 10.22 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003143/0.1823, allocations: 136.9 kB / 362.7 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.1823, allocations: 3.984 kB / 362.7 MB, free: 10.08 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.925e-05/0.1823, allocations: 4 kB / 362.7 MB, free: 10.08 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.1823, allocations: 4 kB / 362.7 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003169/0.1827, allocations: 119.9 kB / 362.8 MB, free: 9.957 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008908/0.1836, allocations: 0.5071 MB / 363.3 MB, free: 9.395 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003467/0.1839, allocations: 118.6 kB / 363.4 MB, free: 9.27 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001368/0.1841, allocations: 60.8 kB / 363.5 MB, free: 9.207 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.963e-05/0.1841, allocations: 3.984 kB / 363.5 MB, free: 9.203 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.1841, allocations: 34.56 kB / 363.5 MB, free: 9.16 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.1842, allocations: 0 / 363.5 MB, free: 9.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008695/0.185, allocations: 323.3 kB / 363.8 MB, free: 8.816 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.1851, allocations: 55.41 kB / 363.9 MB, free: 8.75 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.1852, allocations: 145.9 kB / 364 MB, free: 8.594 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.779e-05/0.1853, allocations: 33.7 kB / 364.1 MB, free: 8.555 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.219e-05/0.1854, allocations: 123.8 kB / 364.2 MB, free: 8.43 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.014e-05/0.1854, allocations: 27.56 kB / 364.2 MB, free: 8.402 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.184e-05/0.1854, allocations: 7.875 kB / 364.2 MB, free: 8.395 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.1856, allocations: 322.8 kB / 364.5 MB, free: 8.07 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001663/0.1858, allocations: 63.97 kB / 364.6 MB, free: 8.008 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002068/0.186, allocations: 90.53 kB / 364.7 MB, free: 7.91 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001777/0.1862, allocations: 85.69 kB / 364.8 MB, free: 7.82 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1862, allocations: 0 / 364.8 MB, free: 7.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004956/0.1867, allocations: 256 kB / 365 MB, free: 7.555 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.901e-05/0.1868, allocations: 33.7 kB / 365.1 MB, free: 7.516 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.1868, allocations: 0 / 365.1 MB, free: 7.516 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002669/0.187, allocations: 80.86 kB / 365.1 MB, free: 7.434 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.796e-05/0.1871, allocations: 27.92 kB / 365.2 MB, free: 7.406 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001961/0.1891, allocations: 1.484 MB / 366.7 MB, free: 5.785 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000306/0.1894, allocations: 59.98 kB / 366.7 MB, free: 5.727 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.095e-05/0.1895, allocations: 8 kB / 366.7 MB, free: 5.719 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: 3 (dcPowerSupply.cv,dcPowerSupply.cc,dcPowerSupply.cp) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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.0001302/0.1896, allocations: 121.8 kB / 366.8 MB, free: 5.59 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.472e-05/0.1897, allocations: 15.84 kB / 366.9 MB, free: 5.574 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004297/0.1901, allocations: 179.1 kB / 367 MB, free: 5.387 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.1901, allocations: 0 / 367 MB, free: 5.387 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.1901, allocations: 0.5625 kB / 367 MB, free: 5.387 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.1901, allocations: 0 / 367 MB, free: 5.387 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003272/0.1905, allocations: 221.5 kB / 367.2 MB, free: 5.121 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.1905, allocations: 7.984 kB / 367.3 MB, free: 5.113 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.19e-05/0.1906, allocations: 12.19 kB / 367.3 MB, free: 5.102 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001848/0.1908, allocations: 80.75 kB / 367.3 MB, free: 5.02 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/0.1908, allocations: 15.94 kB / 367.4 MB, free: 5.004 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001511/0.1923, allocations: 1.48 MB / 368.8 MB, free: 3.395 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.1923, allocations: 4.062 kB / 368.8 MB, free: 3.391 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004299/0.1928, allocations: 264.1 kB / 369.1 MB, free: 3.113 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.121e-05/0.1929, allocations: 85.02 kB / 369.2 MB, free: 3.012 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.147e-05/0.1929, allocations: 11.95 kB / 369.2 MB, free: 3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/0.193, allocations: 15.98 kB / 369.2 MB, free: 2.984 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.432e-05/0.1931, allocations: 7.984 kB / 369.2 MB, free: 2.977 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.1931, allocations: 8 kB / 369.2 MB, free: 2.969 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.438e-05/0.1932, allocations: 111.4 kB / 369.3 MB, free: 2.863 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1932, allocations: 0 / 369.3 MB, free: 2.863 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000323/0.1936, allocations: 44 kB / 369.4 MB, free: 2.82 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: 2 (dcPowerSupply.cv,dcPowerSupply.cc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0001677/0.1937, allocations: 103.4 kB / 369.5 MB, free: 2.711 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006714/0.1944, allocations: 325.9 kB / 369.8 MB, free: 2.367 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.1944, allocations: 8.125 kB / 369.8 MB, free: 2.359 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002679/0.1947, allocations: 178.6 kB / 370 MB, free: 2.172 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003433/0.1951, allocations: 24.03 kB / 370 MB, free: 2.148 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006487/0.1957, allocations: 353.6 kB / 370.4 MB, free: 1.777 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003462/0.1961, allocations: 0.713 MB / 371.1 MB, free: 1.035 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.831e-05/0.1961, allocations: 11.44 kB / 371.1 MB, free: 1.023 MB / 302.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1961, allocations: 0 / 371.1 MB, free: 1.023 MB / 302.1 MB Notification: Performance of Templates: time 0.2427/0.4389, allocations: 2.444 MB / 373.5 MB, free: 19.32 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.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_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupplyCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupplyCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupplyCalcHelperMain.o] Error 1