Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.TotalHarmonicDistortion.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Blocks.Examples.TotalHarmonicDistortion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|thd1.harmonic.mean1.x|thd1.harmonic.mean2.x|thd1.rootMeanSquare.mean.x|thdRMS.harmonic.mean1.x|thdRMS.harmonic.mean2.x|thdRMS.rootMeanSquare.mean.x",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.TotalHarmonicDistortion") translateModel(Modelica.Blocks.Examples.TotalHarmonicDistortion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|thd1.harmonic.mean1.x|thd1.harmonic.mean2.x|thd1.rootMeanSquare.mean.x|thdRMS.harmonic.mean1.x|thdRMS.harmonic.mean2.x|thdRMS.rootMeanSquare.mean.x",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.TotalHarmonicDistortion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009182/0.0009187, allocations: 98.78 kB / 17.96 MB, free: 5.77 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.001263/0.001263, allocations: 175.9 kB / 18.86 MB, free: 4.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.955/1.955, allocations: 205.4 MB / 225 MB, free: 12.98 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005531/0.0005534, allocations: 15.94 kB / 282 MB, free: 3.41 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.136, allocations: 47.57 MB / 329.6 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.TotalHarmonicDistortion): time 0.005058/0.1411, allocations: 3.195 MB / 332.8 MB, free: 0.5508 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002969/0.1441, allocations: 1.216 MB / 334 MB, free: 15.32 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007737/0.1449, allocations: 15.88 kB / 334 MB, free: 15.31 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000437/0.1454, allocations: 55.48 kB / 334.1 MB, free: 15.25 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009105/0.1463, allocations: 103.1 kB / 334.2 MB, free: 15.15 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001258/0.1476, allocations: 355.6 kB / 334.5 MB, free: 14.8 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001491/0.1491, allocations: 0.7752 MB / 335.3 MB, free: 14.03 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008771/0.15, allocations: 353.8 kB / 335.6 MB, free: 13.67 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005819/0.1506, allocations: 226.8 kB / 335.9 MB, free: 13.45 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000618/0.1512, allocations: 266.4 kB / 336.1 MB, free: 13.19 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002549/0.1515, allocations: 24 kB / 336.2 MB, free: 13.16 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002279/0.1517, allocations: 24 kB / 336.2 MB, free: 13.14 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002024/0.1519, allocations: 115.4 kB / 336.3 MB, free: 13.03 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005153/0.1525, allocations: 323.8 kB / 336.6 MB, free: 12.7 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009226/0.1534, allocations: 0.7133 MB / 337.3 MB, free: 11.99 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1534, allocations: 0 / 337.3 MB, free: 11.99 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1534, allocations: 0 / 337.3 MB, free: 11.99 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.538e-05/0.1535, allocations: 0 / 337.3 MB, free: 11.99 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.002642/0.1561, allocations: 0.8888 MB / 338.2 MB, free: 11.05 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.045e-05/0.1562, allocations: 8.031 kB / 338.2 MB, free: 11.04 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000375/0.1566, allocations: 80 kB / 338.3 MB, free: 10.96 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00152/0.1581, allocations: 0.612 MB / 338.9 MB, free: 10.31 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.293e-05/0.1582, allocations: 45.69 kB / 338.9 MB, free: 10.27 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002333/0.1584, allocations: 60.28 kB / 339 MB, free: 10.21 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001734/0.1602, allocations: 0.6639 MB / 339.7 MB, free: 9.527 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.418e-05/0.1602, allocations: 0 / 339.7 MB, free: 9.527 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-05/0.1603, allocations: 28 kB / 339.7 MB, free: 9.5 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.804e-05/0.1604, allocations: 12 kB / 339.7 MB, free: 9.488 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001641/0.162, allocations: 0.5309 MB / 340.2 MB, free: 8.957 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004283/0.1663, allocations: 1.896 MB / 342.1 MB, free: 6.988 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001152/0.1675, allocations: 0.5243 MB / 342.7 MB, free: 6.453 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005742/0.1681, allocations: 242 kB / 342.9 MB, free: 6.215 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.154e-05/0.1681, allocations: 8.422 kB / 342.9 MB, free: 6.207 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001046/0.1692, allocations: 401.2 kB / 343.3 MB, free: 5.801 MB / 286.1 MB Notification: Performance of pre-optimization done (n=53): time 4.078e-06/0.1692, allocations: 0 / 343.3 MB, free: 5.801 MB / 286.1 MB Notification: Performance of matching and sorting (n=53): time 0.001998/0.1712, allocations: 0.7912 MB / 344.1 MB, free: 5.004 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.766e-05/0.1713, allocations: 119.2 kB / 344.2 MB, free: 4.863 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006724/0.172, allocations: 453.8 kB / 344.6 MB, free: 4.406 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 7.414e-05/0.1721, allocations: 45.69 kB / 344.7 MB, free: 4.355 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002948/0.1724, allocations: 308.5 kB / 345 MB, free: 4.047 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001991/0.1726, allocations: 161.7 kB / 345.2 MB, free: 3.887 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001176/0.1727, allocations: 65.67 kB / 345.2 MB, free: 3.816 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000205/0.1729, allocations: 370.7 kB / 345.6 MB, free: 3.445 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005976/0.1735, allocations: 225.2 kB / 345.8 MB, free: 3.227 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007663/0.1743, allocations: 437 kB / 346.2 MB, free: 2.703 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00135/0.1757, allocations: 0.6596 MB / 346.9 MB, free: 1.957 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.064e-05/0.1757, allocations: 4 kB / 346.9 MB, free: 1.953 MB / 286.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001716/0.1774, allocations: 0.7187 MB / 347.6 MB, free: 1.23 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000418/0.1779, allocations: 277.1 kB / 347.9 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/0.1779, allocations: 7.938 kB / 347.9 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.96e-05/0.1779, allocations: 12 kB / 347.9 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005977/0.1785, allocations: 155.7 kB / 348 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.758e-05/0.1786, allocations: 15.92 kB / 348.1 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005685/0.1792, allocations: 95.39 kB / 348.2 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.96e-05/0.1792, allocations: 32 kB / 348.2 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.1792, allocations: 4 kB / 348.2 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001426/0.1807, allocations: 0.577 MB / 348.8 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.21e-05/0.1807, allocations: 8 kB / 348.8 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.1807, allocations: 12 kB / 348.8 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004691/0.1812, allocations: 131.7 kB / 348.9 MB, free: 15.83 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.679e-05/0.1813, allocations: 20.17 kB / 348.9 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005807/0.1819, allocations: 79.5 kB / 349 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.373e-05/0.1819, allocations: 28 kB / 349 MB, free: 15.7 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,thdRMS.pythagoras.valid,thdRMS.valid,thdRMS.greaterThreshold.y,thdRMS.rootMeanSquare.mean.y,$PRE.thdRMS.rootMeanSquare.mean.y,thdRMS.harmonic.mean2.y,$PRE.thdRMS.harmonic.mean2.y,thdRMS.harmonic.mean1.y,$PRE.thdRMS.harmonic.mean1.y,thd1.pythagoras.valid,thd1.valid,thd1.greaterThreshold.y,thd1.rootMeanSquare.mean.y,$PRE.thd1.rootMeanSquare.mean.y,thd1.harmonic.mean2.y,$PRE.thd1.harmonic.mean2.y,thd1.harmonic.mean1.y,$PRE.thd1.harmonic.mean1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005866/0.1825, allocations: 311.1 kB / 349.3 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001556/0.1827, allocations: 59.33 kB / 349.4 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001605/0.1843, allocations: 0.6219 MB / 350 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/0.1843, allocations: 8 kB / 350 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.1843, allocations: 0 / 350 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/0.1844, allocations: 3.984 kB / 350 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009855/0.1853, allocations: 0.638 MB / 350.7 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/0.1854, allocations: 0 / 350.7 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004545/0.1858, allocations: 99.88 kB / 350.8 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/0.1858, allocations: 0 / 350.8 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001197/0.186, allocations: 19.98 kB / 350.8 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.109e-06/0.186, allocations: 4 kB / 350.8 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.186, allocations: 0 / 350.8 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002056/0.1881, allocations: 0.9371 MB / 351.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000191/0.1883, allocations: 136.4 kB / 351.9 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001124/0.1884, allocations: 12 kB / 351.9 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003982/0.1888, allocations: 51.95 kB / 351.9 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/0.1889, allocations: 48.5 kB / 352 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.595e-05/0.189, allocations: 19.98 kB / 352 MB, free: 12.64 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000451/0.1895, allocations: 314.9 kB / 352.3 MB, free: 12.34 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1895, allocations: 0 / 352.3 MB, free: 12.34 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009505/0.1904, allocations: 243 kB / 352.5 MB, free: 12.1 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (thd1.harmonic.mean1.x,thd1.harmonic.mean2.x,thd1.rootMeanSquare.mean.x,thdRMS.harmonic.mean1.x,thdRMS.harmonic.mean2.x,thdRMS.rootMeanSquare.mean.x) * Number of discrete variables: 20 ($cse1,$cse2,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,thd1.harmonic.mean1.y,thd1.harmonic.mean2.y,thd1.rootMeanSquare.mean.y,thd1.greaterThreshold.y,thd1.valid,thd1.pythagoras.valid,thdRMS.harmonic.mean1.y,thdRMS.harmonic.mean2.y,thdRMS.rootMeanSquare.mean.y,thdRMS.greaterThreshold.y,thdRMS.valid,thdRMS.pythagoras.valid) * Number of discrete states: 6 (thdRMS.rootMeanSquare.mean.x,thdRMS.harmonic.mean2.x,thdRMS.harmonic.mean1.x,thd1.rootMeanSquare.mean.x,thd1.harmonic.mean2.x,thd1.harmonic.mean1.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002408/0.1907, allocations: 133.2 kB / 352.7 MB, free: 11.96 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0021/0.1928, allocations: 0.8766 MB / 353.5 MB, free: 11.09 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 7.644e-06/0.1928, allocations: 0 / 353.5 MB, free: 11.09 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006552/0.1935, allocations: 300 kB / 353.8 MB, free: 10.8 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000547/0.194, allocations: 85.91 kB / 353.9 MB, free: 10.71 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002959/0.197, allocations: 1.455 MB / 355.4 MB, free: 9.219 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006847/0.1977, allocations: 0.8961 MB / 356.3 MB, free: 8.293 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002083/0.1979, allocations: 59.41 kB / 356.3 MB, free: 8.234 MB / 302.1 MB Notification: Performance of SimCode: time 7.01e-07/0.1979, allocations: 0 / 356.3 MB, free: 8.234 MB / 302.1 MB Notification: Performance of Templates: time 0.01656/0.2145, allocations: 7.683 MB / 364 MB, free: 0.5391 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.TotalHarmonicDistortion.makefile make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.TotalHarmonicDistortion.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Blocks.Examples.TotalHarmonicDistortionCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Blocks.Examples.TotalHarmonicDistortionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Blocks.Examples.TotalHarmonicDistortionCalcHelperMain.o] Error 1