Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.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.Shapes.FixedShape,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|signalSource.V_m|signalSource.Phi|cuboid.G_m|cuboid.A|hollowCylinderAxialFlux.G_m|hollowCylinderAxialFlux.A|hollowCylinderRadialFlux.G_m|hollowCylinderRadialFlux.A|genericFluxTube.G_m|genericFluxTube.A",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape") translateModel(ModelicaTest.FluxTubes.Shapes.FixedShape,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|signalSource.V_m|signalSource.Phi|cuboid.G_m|cuboid.A|hollowCylinderAxialFlux.G_m|hollowCylinderAxialFlux.A|hollowCylinderRadialFlux.G_m|hollowCylinderRadialFlux.A|genericFluxTube.G_m|genericFluxTube.A",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 86.92 kB / 16.67 MB, free: 6.602 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.001248/0.001248, allocations: 188.5 kB / 17.58 MB, free: 6.164 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.98/1.98, allocations: 205.4 MB / 223.7 MB, free: 13.09 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.283/0.283, allocations: 43.59 MB / 315.6 MB, free: 428 kB / 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.0005916/0.0005915, allocations: 15.03 kB / 385.2 MB, free: 56.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1419, allocations: 58.87 MB / 444.1 MB, free: 5.188 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.FixedShape): time 0.002655/0.1446, allocations: 2.082 MB / 446.2 MB, free: 3.086 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001514/0.1462, allocations: 0.7915 MB / 447 MB, free: 2.285 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002127/0.1464, allocations: 4 kB / 447 MB, free: 2.281 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002416/0.1467, allocations: 47.7 kB / 447 MB, free: 2.234 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002512/0.147, allocations: 91.48 kB / 447.1 MB, free: 2.145 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000283/0.1473, allocations: 83.8 kB / 447.2 MB, free: 2.062 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002705/0.1475, allocations: 318.8 kB / 447.5 MB, free: 1.75 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001886/0.1477, allocations: 89.09 kB / 447.6 MB, free: 1.664 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002014/0.1479, allocations: 119.5 kB / 447.7 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001551/0.1481, allocations: 139.4 kB / 447.8 MB, free: 1.41 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.878e-05/0.1482, allocations: 16 kB / 447.9 MB, free: 1.395 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.431e-05/0.1482, allocations: 12 kB / 447.9 MB, free: 1.383 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.542e-05/0.1482, allocations: 51.77 kB / 447.9 MB, free: 1.332 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001105/0.1484, allocations: 156.9 kB / 448.1 MB, free: 1.172 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002148/0.1486, allocations: 271.2 kB / 448.3 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1486, allocations: 0 / 448.3 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1486, allocations: 0 / 448.3 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.742e-06/0.1486, allocations: 0 / 448.3 MB, free: 0.9062 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0008585/0.1495, allocations: 0.5654 MB / 448.9 MB, free: 300 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.1495, allocations: 12.03 kB / 448.9 MB, free: 288 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.097e-05/0.1496, allocations: 32.47 kB / 449 MB, free: 256 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003178/0.1499, allocations: 259.7 kB / 449.2 MB, free: 15.95 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.157e-05/0.15, allocations: 20.94 kB / 449.2 MB, free: 15.93 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.421e-05/0.15, allocations: 24.38 kB / 449.3 MB, free: 15.91 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006293/0.1507, allocations: 253.2 kB / 449.5 MB, free: 15.66 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.1507, allocations: 4 kB / 449.5 MB, free: 15.65 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.481e-05/0.1507, allocations: 8 kB / 449.5 MB, free: 15.64 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.57e-05/0.1508, allocations: 8 kB / 449.5 MB, free: 15.64 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005746/0.1513, allocations: 238.1 kB / 449.8 MB, free: 15.4 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001739/0.1531, allocations: 0.8829 MB / 450.6 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006321/0.1537, allocations: 309.9 kB / 450.9 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003246/0.1541, allocations: 160.8 kB / 451.1 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.924e-05/0.1541, allocations: 11.98 kB / 451.1 MB, free: 13.97 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.198e-05/0.1542, allocations: 30.56 kB / 451.1 MB, free: 13.93 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 1.654e-06/0.1542, allocations: 0 / 451.1 MB, free: 13.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=31): time 0.004635/0.1588, allocations: 1.273 MB / 452.4 MB, free: 12.57 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.1589, allocations: 55.41 kB / 452.5 MB, free: 12.5 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000226/0.1591, allocations: 213.6 kB / 452.7 MB, free: 12.29 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.061e-05/0.1592, allocations: 37.69 kB / 452.7 MB, free: 12.24 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.1593, allocations: 160.5 kB / 452.9 MB, free: 12.08 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.36e-05/0.1594, allocations: 98.55 kB / 453 MB, free: 11.98 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.848e-05/0.1595, allocations: 41.64 kB / 453 MB, free: 11.94 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.1596, allocations: 330.8 kB / 453.3 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002359/0.1599, allocations: 95.95 kB / 453.4 MB, free: 11.51 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002353/0.1601, allocations: 133.8 kB / 453.5 MB, free: 11.38 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004681/0.1606, allocations: 243.2 kB / 453.8 MB, free: 11.13 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.1606, allocations: 0 / 453.8 MB, free: 11.13 MB / 334.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001717/0.1623, allocations: 0.5636 MB / 454.3 MB, free: 10.55 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.1623, allocations: 6.188 kB / 454.4 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.1624, allocations: 0 / 454.4 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001651/0.164, allocations: 311.2 kB / 454.7 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001674/0.1642, allocations: 31.91 kB / 454.7 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007032/0.1712, allocations: 6.329 MB / 461 MB, free: 3.328 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002196/0.1715, allocations: 31.77 kB / 461.1 MB, free: 3.297 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.159e-05/0.1715, allocations: 8 kB / 461.1 MB, free: 3.289 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,5), (1,5), (1,5), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001743/0.1717, allocations: 150.7 kB / 461.2 MB, free: 3.133 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.457e-05/0.1717, allocations: 23.72 kB / 461.2 MB, free: 3.109 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001749/0.1735, allocations: 0.5592 MB / 461.8 MB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.1735, allocations: 7.938 kB / 461.8 MB, free: 2.523 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.443e-06/0.1735, allocations: 11.92 kB / 461.8 MB, free: 2.512 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1735, allocations: 3.938 kB / 461.8 MB, free: 2.508 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004277/0.174, allocations: 357.3 kB / 462.2 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.174, allocations: 0 / 462.2 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001229/0.1741, allocations: 19.98 kB / 462.2 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001476/0.1756, allocations: 315.1 kB / 462.5 MB, free: 1.77 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.025e-05/0.1756, allocations: 8 kB / 462.5 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006795/0.1824, allocations: 6.365 MB / 468.9 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1825, allocations: 0 / 468.9 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001722/0.1842, allocations: 0.6273 MB / 469.5 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.458e-05/0.1843, allocations: 112.7 kB / 469.6 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.999e-05/0.1843, allocations: 7.984 kB / 469.6 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001881/0.1845, allocations: 12 kB / 469.6 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.957e-05/0.1846, allocations: 31.95 kB / 469.6 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.757e-05/0.1846, allocations: 8 kB / 469.7 MB, free: 10.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001562/0.1848, allocations: 160.5 kB / 469.8 MB, free: 9.867 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.1848, allocations: 3.938 kB / 469.8 MB, free: 9.863 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000543/0.1854, allocations: 115.9 kB / 469.9 MB, free: 9.75 MB / 350.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(2,4), (2,4), (2,4), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001448/0.1855, allocations: 99.5 kB / 470 MB, free: 9.641 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001126/0.1866, allocations: 0.7601 MB / 470.8 MB, free: 8.828 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/0.1867, allocations: 0 / 470.8 MB, free: 8.828 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001237/0.1879, allocations: 0.725 MB / 471.5 MB, free: 8.051 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004292/0.1883, allocations: 27.61 kB / 471.5 MB, free: 8.027 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/0.1895, allocations: 0.6965 MB / 472.2 MB, free: 7.301 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004338/0.1899, allocations: 0.7717 MB / 473 MB, free: 6.504 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.444e-05/0.19, allocations: 15.44 kB / 473 MB, free: 6.488 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.19, allocations: 0 / 473 MB, free: 6.488 MB / 350.1 MB Notification: Performance of Templates: time 0.01119/0.2012, allocations: 7.938 MB / 481 MB, free: 14.54 MB / 366.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.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.Shapes.FixedShapeCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShapeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShapeCalcHelperMain.o] Error 1