Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.FluxTubes.Sources,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|constantSource.V_m|constantSource.Phi|signalSource.V_m|signalSource.Phi|constantSource1.Phi|constantSource1.V_m|signalSource1.Phi|signalSource1.V_m",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources") translateModel(ModelicaTest.FluxTubes.Sources,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|constantSource.V_m|constantSource.Phi|signalSource.V_m|signalSource.Phi|constantSource1.Phi|constantSource1.V_m|signalSource1.Phi|signalSource1.V_m",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001409/0.00141, allocations: 108 kB / 16.52 MB, free: 6.664 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.00157/0.00157, allocations: 199.2 kB / 17.44 MB, free: 6.059 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.902/1.902, allocations: 205.1 MB / 223.3 MB, free: 12.51 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.259/0.259, allocations: 43.52 MB / 314.1 MB, free: 0.7617 MB / 254.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.001395/0.001395, allocations: 62.77 kB / 382.7 MB, free: 57.05 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.1684, allocations: 57.79 MB / 440.5 MB, free: 7.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sources): time 0.004379/0.1728, allocations: 2.67 MB / 443.1 MB, free: 4.867 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001218/0.1741, allocations: 0.7836 MB / 443.9 MB, free: 4.074 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001788/0.1743, allocations: 8 kB / 443.9 MB, free: 4.066 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002778/0.1746, allocations: 59.61 kB / 444 MB, free: 4.008 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002684/0.1749, allocations: 83.44 kB / 444.1 MB, free: 3.926 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00031/0.1752, allocations: 87.91 kB / 444.1 MB, free: 3.84 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004228/0.1756, allocations: 390.5 kB / 444.5 MB, free: 3.457 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002626/0.1759, allocations: 128.2 kB / 444.7 MB, free: 3.328 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002132/0.1761, allocations: 139.4 kB / 444.8 MB, free: 3.191 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001887/0.1763, allocations: 167.2 kB / 444.9 MB, free: 3.027 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.262e-05/0.1764, allocations: 20 kB / 445 MB, free: 3.008 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.871e-05/0.1764, allocations: 24 kB / 445 MB, free: 2.984 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.415e-05/0.1765, allocations: 63.75 kB / 445.1 MB, free: 2.922 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001619/0.1767, allocations: 175 kB / 445.2 MB, free: 2.75 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000301/0.177, allocations: 323.1 kB / 445.5 MB, free: 2.434 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.177, allocations: 0 / 445.5 MB, free: 2.434 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.177, allocations: 0 / 445.5 MB, free: 2.434 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.413e-05/0.177, allocations: 0 / 445.5 MB, free: 2.434 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001245/0.1783, allocations: 0.6604 MB / 446.2 MB, free: 1.727 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/0.1784, allocations: 8.031 kB / 446.2 MB, free: 1.719 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.494e-05/0.1785, allocations: 44.38 kB / 446.3 MB, free: 1.676 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003197/0.1788, allocations: 268.7 kB / 446.5 MB, free: 1.371 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.229e-05/0.1788, allocations: 29.38 kB / 446.5 MB, free: 1.344 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.638e-05/0.1789, allocations: 28.38 kB / 446.6 MB, free: 1.316 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008501/0.1797, allocations: 366.2 kB / 446.9 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/0.1798, allocations: 0 / 446.9 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.308e-05/0.1798, allocations: 16 kB / 446.9 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.571e-05/0.1799, allocations: 11.98 kB / 447 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008376/0.1807, allocations: 267.7 kB / 447.2 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002787/0.1835, allocations: 1.342 MB / 448.6 MB, free: 15.21 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007271/0.1843, allocations: 198.6 kB / 448.8 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003158/0.1846, allocations: 75.56 kB / 448.8 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.154e-05/0.1847, allocations: 8 kB / 448.8 MB, free: 14.88 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.582e-05/0.1847, allocations: 38.5 kB / 448.9 MB, free: 14.84 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 2.284e-06/0.1847, allocations: 0 / 448.9 MB, free: 14.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.001179/0.1859, allocations: 253.5 kB / 449.1 MB, free: 14.58 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/0.186, allocations: 132.5 kB / 449.3 MB, free: 14.42 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005286/0.1866, allocations: 340.3 kB / 449.6 MB, free: 14.08 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.575e-05/0.1866, allocations: 25.7 kB / 449.6 MB, free: 14.05 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000221/0.1868, allocations: 231.7 kB / 449.8 MB, free: 13.81 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.337e-05/0.1869, allocations: 55.2 kB / 449.9 MB, free: 13.76 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001459/0.1871, allocations: 57.89 kB / 449.9 MB, free: 13.7 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000195/0.1873, allocations: 350.7 kB / 450.3 MB, free: 13.34 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000339/0.1876, allocations: 72.64 kB / 450.4 MB, free: 13.27 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000424/0.188, allocations: 180.1 kB / 450.5 MB, free: 13.06 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007568/0.1888, allocations: 243 kB / 450.8 MB, free: 12.78 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.1888, allocations: 0 / 450.8 MB, free: 12.78 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009712/0.1898, allocations: 313 kB / 451.1 MB, free: 12.47 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.938e-05/0.1899, allocations: 4 kB / 451.1 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.1899, allocations: 4 kB / 451.1 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.257e-05/0.1899, allocations: 4 kB / 451.1 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006114/0.1905, allocations: 100.1 kB / 451.2 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.566e-05/0.1906, allocations: 4 kB / 451.2 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004308/0.191, allocations: 47.52 kB / 451.2 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.086e-05/0.1911, allocations: 8 kB / 451.2 MB, free: 12.3 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (34): * Single equations (assignments): 34 * 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.0002462/0.1913, allocations: 161.6 kB / 451.4 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002244/0.1915, allocations: 31.56 kB / 451.4 MB, free: 12.1 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.054e-05/0.1917, allocations: 42.41 kB / 451.5 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.1917, allocations: 288 / 451.5 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/0.1917, allocations: 4 kB / 451.5 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.1917, allocations: 3.984 kB / 451.5 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001048/0.1928, allocations: 0.5877 MB / 452.1 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.1928, allocations: 4 kB / 452.1 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002816/0.1931, allocations: 55.94 kB / 452.1 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.1931, allocations: 4 kB / 452.1 MB, free: 11.33 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.131e-05/0.1931, allocations: 7.938 kB / 452.1 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.1931, allocations: 0 / 452.1 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/0.1931, allocations: 7.938 kB / 452.1 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006002/0.1937, allocations: 390.8 kB / 452.5 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.294e-05/0.1938, allocations: 116.7 kB / 452.6 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.962e-05/0.1939, allocations: 7.938 kB / 452.7 MB, free: 10.76 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002252/0.1941, allocations: 19.92 kB / 452.7 MB, free: 10.74 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.269e-05/0.1942, allocations: 15.92 kB / 452.7 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.1942, allocations: 8 kB / 452.7 MB, free: 10.72 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002382/0.1945, allocations: 231 kB / 452.9 MB, free: 10.5 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1945, allocations: 4 kB / 452.9 MB, free: 10.49 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003974/0.1949, allocations: 67.84 kB / 453 MB, free: 10.43 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (15): * Single equations (assignments): 15 * 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 Backend phase and start with SimCode phase: time 0.0001425/0.195, allocations: 99.23 kB / 453.1 MB, free: 10.32 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005592/0.1956, allocations: 192.1 kB / 453.3 MB, free: 10.13 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1956, allocations: 0 / 453.3 MB, free: 10.13 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002282/0.1958, allocations: 79.83 kB / 453.4 MB, free: 10.05 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005321/0.1964, allocations: 33.36 kB / 453.4 MB, free: 10.02 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001108/0.1975, allocations: 0.7089 MB / 454.1 MB, free: 9.262 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004985/0.198, allocations: 0.7713 MB / 454.9 MB, free: 8.465 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.382e-05/0.1981, allocations: 23.44 kB / 454.9 MB, free: 8.441 MB / 334.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1981, allocations: 0 / 454.9 MB, free: 8.441 MB / 334.1 MB Notification: Performance of Templates: time 0.005748/0.2039, allocations: 3.102 MB / 458 MB, free: 5.34 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.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 OMCppModelicaTest_3.2.3_ModelicaTest.FluxTubes.SourcesCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.FluxTubes.SourcesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.FluxTubes.SourcesCalcHelperMain.o] Error 1