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.0008258/0.0008259, allocations: 86.92 kB / 17.58 MB, free: 6.219 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.0008611/0.0008613, allocations: 187.6 kB / 18.48 MB, free: 5.379 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.704/1.704, allocations: 205.4 MB / 224.6 MB, free: 13.07 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.0006187/0.0006187, allocations: 12 kB / 281.4 MB, free: 3.727 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1266, allocations: 47.57 MB / 329 MB, free: 4.078 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.TotalHarmonicDistortion): time 0.00365/0.1303, allocations: 3.03 MB / 332 MB, free: 1.031 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002447/0.1328, allocations: 1.193 MB / 333.2 MB, free: 15.83 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000289/0.1331, allocations: 11.94 kB / 333.2 MB, free: 15.82 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001969/0.1333, allocations: 51.42 kB / 333.3 MB, free: 15.77 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003257/0.1336, allocations: 99.2 kB / 333.4 MB, free: 15.67 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006271/0.1342, allocations: 255.6 kB / 333.6 MB, free: 15.42 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009922/0.1352, allocations: 0.7439 MB / 334.4 MB, free: 14.67 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000423/0.1357, allocations: 272.7 kB / 334.6 MB, free: 14.4 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003937/0.1361, allocations: 218.9 kB / 334.8 MB, free: 14.18 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003096/0.1364, allocations: 250.6 kB / 335.1 MB, free: 13.94 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.81e-05/0.1365, allocations: 27.94 kB / 335.1 MB, free: 13.91 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.814e-05/0.1365, allocations: 20 kB / 335.1 MB, free: 13.89 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001251/0.1367, allocations: 107.5 kB / 335.2 MB, free: 13.79 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001399/0.1368, allocations: 149.3 kB / 335.4 MB, free: 13.63 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001101/0.1379, allocations: 0.7055 MB / 336.1 MB, free: 12.93 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.545e-06/0.1379, allocations: 4 kB / 336.1 MB, free: 12.92 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.807e-06/0.1379, allocations: 0 / 336.1 MB, free: 12.92 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.455e-05/0.138, allocations: 0 / 336.1 MB, free: 12.92 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.00205/0.14, allocations: 0.9042 MB / 337 MB, free: 11.96 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001079/0.1401, allocations: 8.031 kB / 337 MB, free: 11.96 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001801/0.1403, allocations: 79.06 kB / 337.1 MB, free: 11.88 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001182/0.1415, allocations: 0.5837 MB / 337.7 MB, free: 11.25 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.028e-05/0.1416, allocations: 49.3 kB / 337.7 MB, free: 11.2 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000106/0.1417, allocations: 60 kB / 337.8 MB, free: 11.14 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00144/0.1432, allocations: 0.6481 MB / 338.4 MB, free: 10.48 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.268e-05/0.1432, allocations: 11.91 kB / 338.4 MB, free: 10.47 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.406e-05/0.1433, allocations: 23.98 kB / 338.4 MB, free: 10.45 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.399e-05/0.1433, allocations: 12 kB / 338.5 MB, free: 10.43 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001182/0.1445, allocations: 0.5231 MB / 339 MB, free: 9.91 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003442/0.1479, allocations: 1.896 MB / 340.9 MB, free: 7.949 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/0.149, allocations: 0.5167 MB / 341.4 MB, free: 7.422 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004402/0.1495, allocations: 234.1 kB / 341.6 MB, free: 7.191 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.669e-05/0.1495, allocations: 8.438 kB / 341.6 MB, free: 7.184 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007521/0.1503, allocations: 409 kB / 342 MB, free: 6.77 MB / 286.1 MB Notification: Performance of pre-optimization done (n=53): time 3.667e-06/0.1503, allocations: 0 / 342 MB, free: 6.77 MB / 286.1 MB Notification: Performance of matching and sorting (n=53): time 0.001728/0.152, allocations: 0.7873 MB / 342.8 MB, free: 5.977 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.633e-05/0.1521, allocations: 119.2 kB / 342.9 MB, free: 5.832 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006694/0.1528, allocations: 445.9 kB / 343.4 MB, free: 5.383 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.281e-05/0.1529, allocations: 41.7 kB / 343.4 MB, free: 5.336 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003599/0.1532, allocations: 316.4 kB / 343.7 MB, free: 5.023 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001583/0.1534, allocations: 169.6 kB / 343.9 MB, free: 4.855 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-05/0.1534, allocations: 16 kB / 343.9 MB, free: 4.84 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002329/0.1537, allocations: 366.7 kB / 344.3 MB, free: 4.473 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004687/0.1541, allocations: 217.2 kB / 344.5 MB, free: 4.262 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006312/0.1548, allocations: 433 kB / 344.9 MB, free: 3.742 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005415/0.1553, allocations: 266.4 kB / 345.2 MB, free: 3.484 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.1553, allocations: 0 / 345.2 MB, free: 3.484 MB / 286.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001457/0.1568, allocations: 0.714 MB / 345.9 MB, free: 2.766 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002331/0.1571, allocations: 273.3 kB / 346.1 MB, free: 2.406 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.1571, allocations: 4 kB / 346.1 MB, free: 2.402 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.784e-05/0.1571, allocations: 12 kB / 346.2 MB, free: 2.391 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006277/0.1577, allocations: 151.7 kB / 346.3 MB, free: 2.242 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.935e-05/0.1578, allocations: 15.89 kB / 346.3 MB, free: 2.227 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003751/0.1582, allocations: 103.4 kB / 346.4 MB, free: 2.125 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.928e-05/0.1582, allocations: 24 kB / 346.4 MB, free: 2.102 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.023e-06/0.1582, allocations: 4 kB / 346.4 MB, free: 2.098 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001141/0.1594, allocations: 0.5729 MB / 347 MB, free: 1.527 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/0.1594, allocations: 8 kB / 347 MB, free: 1.52 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.1594, allocations: 12 kB / 347 MB, free: 1.508 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005201/0.1599, allocations: 140 kB / 347.2 MB, free: 1.371 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.524e-05/0.16, allocations: 19.92 kB / 347.2 MB, free: 1.352 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003171/0.1603, allocations: 67.52 kB / 347.3 MB, free: 1.285 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.821e-05/0.1603, allocations: 35.98 kB / 347.3 MB, free: 1.25 MB / 286.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,$PRE.thdRMS.harmonic.mean1.y,thdRMS.harmonic.mean1.y,$PRE.thdRMS.harmonic.mean2.y,thdRMS.harmonic.mean2.y,$PRE.thdRMS.rootMeanSquare.mean.y,thdRMS.rootMeanSquare.mean.y,thdRMS.greaterThreshold.y,thdRMS.valid,thdRMS.pythagoras.valid,$PRE.thd1.harmonic.mean1.y,thd1.harmonic.mean1.y,$PRE.thd1.harmonic.mean2.y,thd1.harmonic.mean2.y,$PRE.thd1.rootMeanSquare.mean.y,thd1.rootMeanSquare.mean.y,thd1.greaterThreshold.y,thd1.valid,thd1.pythagoras.valid) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004693/0.1608, allocations: 307.2 kB / 347.6 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.194e-05/0.1609, allocations: 59.3 kB / 347.6 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001423/0.1623, allocations: 0.6258 MB / 348.3 MB, free: 256 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/0.1623, allocations: 8 kB / 348.3 MB, free: 248 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.1624, allocations: 4 kB / 348.3 MB, free: 244 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.814e-06/0.1624, allocations: 3.984 kB / 348.3 MB, free: 240 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001137/0.1635, allocations: 0.6302 MB / 348.9 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1635, allocations: 0 / 348.9 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004035/0.1639, allocations: 103.9 kB / 349 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.309e-06/0.164, allocations: 0 / 349 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.988e-05/0.164, allocations: 27.94 kB / 349.1 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.164, allocations: 0 / 349.1 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.164, allocations: 0 / 349.1 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001848/0.1659, allocations: 0.9293 MB / 350 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001697/0.1661, allocations: 124.4 kB / 350.1 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.432e-05/0.1662, allocations: 20.05 kB / 350.1 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003855/0.1665, allocations: 59.91 kB / 350.2 MB, free: 14.26 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000161/0.1667, allocations: 44.5 kB / 350.2 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.179e-05/0.1668, allocations: 19.98 kB / 350.2 MB, free: 14.2 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005002/0.1673, allocations: 306.8 kB / 350.5 MB, free: 13.9 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1673, allocations: 0 / 350.5 MB, free: 13.9 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008997/0.1682, allocations: 243 kB / 350.8 MB, free: 13.66 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 (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.0002063/0.1684, allocations: 133.2 kB / 350.9 MB, free: 13.52 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001734/0.1702, allocations: 0.8641 MB / 351.8 MB, free: 12.66 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.1702, allocations: 5.125 kB / 351.8 MB, free: 12.66 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006543/0.1709, allocations: 299 kB / 352.1 MB, free: 12.37 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004593/0.1713, allocations: 81.84 kB / 352.2 MB, free: 12.29 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002292/0.1736, allocations: 1.389 MB / 353.5 MB, free: 10.86 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008152/0.1745, allocations: 0.9 MB / 354.4 MB, free: 9.934 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000157/0.1746, allocations: 55.42 kB / 354.5 MB, free: 9.883 MB / 302.1 MB Notification: Performance of SimCode: time 4.4e-07/0.1746, allocations: 4 kB / 354.5 MB, free: 9.879 MB / 302.1 MB Notification: Performance of Templates: time 0.01207/0.1867, allocations: 7.695 MB / 362.2 MB, free: 2.172 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++ 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_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