Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.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.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=9332,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents") translateModel(ModelicaTest.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=9332,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007402/0.00074, allocations: 91.98 kB / 16.33 MB, free: 6.398 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.0008233/0.0008233, allocations: 187.1 kB / 17.22 MB, free: 6.289 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.652/1.652, allocations: 205.4 MB / 223.4 MB, free: 13.17 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.2365/0.2365, allocations: 43.55 MB / 315.2 MB, free: 0.5508 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.0005295/0.0005295, allocations: 16.25 kB / 384.6 MB, free: 57.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1198, allocations: 58.85 MB / 443.4 MB, free: 5.781 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.BasicComponents): time 0.002854/0.1228, allocations: 2.936 MB / 446.3 MB, free: 2.824 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001028/0.1238, allocations: 0.7804 MB / 447.1 MB, free: 2.035 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001501/0.124, allocations: 8 kB / 447.1 MB, free: 2.027 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001372/0.1241, allocations: 55.55 kB / 447.2 MB, free: 1.973 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000163/0.1243, allocations: 103.1 kB / 447.3 MB, free: 1.871 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002769/0.1246, allocations: 99.88 kB / 447.4 MB, free: 1.773 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000362/0.1249, allocations: 486.4 kB / 447.9 MB, free: 1.297 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002998/0.1253, allocations: 190.6 kB / 448 MB, free: 1.109 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000174/0.1254, allocations: 167.4 kB / 448.2 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001826/0.1256, allocations: 195.1 kB / 448.4 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.228e-05/0.1257, allocations: 28 kB / 448.4 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.769e-05/0.1257, allocations: 24 kB / 448.4 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.057e-05/0.1258, allocations: 71.69 kB / 448.5 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.529e-05/0.1259, allocations: 113.5 kB / 448.6 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002608/0.1261, allocations: 418.8 kB / 449 MB, free: 108 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1261, allocations: 0 / 449 MB, free: 108 kB / 318.1 MB Notification: Performance of FrontEnd: time 2.255e-06/0.1262, allocations: 0 / 449 MB, free: 108 kB / 318.1 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.1262, allocations: 4 kB / 449 MB, free: 104 kB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001067/0.1272, allocations: 0.694 MB / 449.7 MB, free: 15.36 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.1273, allocations: 8.031 kB / 449.7 MB, free: 15.35 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.358e-05/0.1274, allocations: 59.28 kB / 449.8 MB, free: 15.29 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003741/0.1278, allocations: 308.2 kB / 450.1 MB, free: 14.94 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.946e-05/0.1278, allocations: 41 kB / 450.1 MB, free: 14.9 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.14e-05/0.1279, allocations: 48 kB / 450.2 MB, free: 14.86 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007559/0.1286, allocations: 462.9 kB / 450.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.1287, allocations: 0 / 450.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.219e-05/0.1287, allocations: 23.94 kB / 450.7 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.1287, allocations: 16 kB / 450.7 MB, free: 14.35 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006501/0.1294, allocations: 331.8 kB / 451 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002322/0.1317, allocations: 1.701 MB / 452.7 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005127/0.1322, allocations: 237 kB / 452.9 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003081/0.1326, allocations: 141.7 kB / 453.1 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.1326, allocations: 0 / 453.1 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.93e-05/0.1326, allocations: 38.56 kB / 453.1 MB, free: 11.77 MB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 1.132e-06/0.1326, allocations: 4 kB / 453.1 MB, free: 11.76 MB / 334.1 MB Notification: Performance of matching and sorting (n=34): time 0.00285/0.1355, allocations: 1.366 MB / 454.5 MB, free: 10.28 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.644e-05/0.1356, allocations: 77.11 kB / 454.6 MB, free: 10.18 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002697/0.1358, allocations: 270.4 kB / 454.8 MB, free: 9.914 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.47e-05/0.1359, allocations: 29.7 kB / 454.8 MB, free: 9.879 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001516/0.136, allocations: 255.4 kB / 455.1 MB, free: 9.621 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.245e-05/0.1361, allocations: 118.3 kB / 455.2 MB, free: 9.504 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.977e-05/0.1362, allocations: 12 kB / 455.2 MB, free: 9.492 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.1363, allocations: 346.8 kB / 455.6 MB, free: 9.145 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002507/0.1366, allocations: 112.8 kB / 455.7 MB, free: 9.035 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003185/0.1369, allocations: 208.5 kB / 455.9 MB, free: 8.789 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003052/0.1372, allocations: 140.1 kB / 456 MB, free: 8.656 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1373, allocations: 0 / 456 MB, free: 8.656 MB / 334.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007747/0.138, allocations: 428.4 kB / 456.4 MB, free: 8.23 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.1381, allocations: 8.062 kB / 456.4 MB, free: 8.223 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.1381, allocations: 4 kB / 456.4 MB, free: 8.219 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001412/0.1382, allocations: 32.83 kB / 456.5 MB, free: 8.184 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004326/0.1387, allocations: 123.8 kB / 456.6 MB, free: 8.062 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001121/0.1398, allocations: 1.343 MB / 457.9 MB, free: 6.578 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002141/0.14, allocations: 23.98 kB / 458 MB, free: 6.555 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.71e-05/0.1401, allocations: 16 kB / 458 MB, free: 6.539 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (51): * Single equations (assignments): 50 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001957/0.1403, allocations: 169.8 kB / 458.1 MB, free: 6.363 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.115e-05/0.1404, allocations: 27.72 kB / 458.2 MB, free: 6.336 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.143e-05/0.1404, allocations: 34.19 kB / 458.2 MB, free: 6.305 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.1404, allocations: 7.984 kB / 458.2 MB, free: 6.297 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.882e-06/0.1405, allocations: 0 / 458.2 MB, free: 6.297 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.737e-06/0.1405, allocations: 3.953 kB / 458.2 MB, free: 6.293 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001081/0.1416, allocations: 0.7309 MB / 458.9 MB, free: 5.496 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.1416, allocations: 3.953 kB / 459 MB, free: 5.492 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003854/0.142, allocations: 95.94 kB / 459 MB, free: 5.398 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.512e-05/0.1421, allocations: 24.84 kB / 459.1 MB, free: 5.371 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.282e-05/0.1421, allocations: 12 kB / 459.1 MB, free: 5.359 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009321/0.143, allocations: 1.331 MB / 460.4 MB, free: 3.895 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.143, allocations: 0 / 460.4 MB, free: 3.895 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009822/0.144, allocations: 0.6126 MB / 461 MB, free: 3.258 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001333/0.1442, allocations: 124.8 kB / 461.1 MB, free: 3.117 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.48e-05/0.1442, allocations: 8 kB / 461.2 MB, free: 3.109 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002401/0.1445, allocations: 23.98 kB / 461.2 MB, free: 3.086 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.946e-05/0.1445, allocations: 19.97 kB / 461.2 MB, free: 3.066 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.1446, allocations: 12 kB / 461.2 MB, free: 3.055 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001662/0.1447, allocations: 182 kB / 461.4 MB, free: 2.879 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1447, allocations: 0 / 461.4 MB, free: 2.879 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004254/0.1452, allocations: 96 kB / 461.5 MB, free: 2.785 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter.i,converter1.i,eddyCurrent.Phi) * 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 (32): * Single equations (assignments): 31 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001355/0.1453, allocations: 114.1 kB / 461.6 MB, free: 2.668 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007481/0.1461, allocations: 410.6 kB / 462 MB, free: 2.254 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1461, allocations: 3.938 kB / 462 MB, free: 2.25 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003758/0.1465, allocations: 256.3 kB / 462.2 MB, free: 1.988 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004946/0.147, allocations: 44.98 kB / 462.3 MB, free: 1.945 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001623/0.1486, allocations: 1.161 MB / 463.5 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003933/0.149, allocations: 0.8074 MB / 464.3 MB, free: 15.91 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.574e-05/0.1491, allocations: 31.42 kB / 464.3 MB, free: 15.88 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1491, allocations: 7.938 kB / 464.3 MB, free: 15.87 MB / 350.1 MB Notification: Performance of Templates: time 0.008208/0.1573, allocations: 5.867 MB / 470.2 MB, free: 10.01 MB / 350.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.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 OMCppModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponentsCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponentsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponentsCalcHelperMain.o] Error 1