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.001339/0.001338, allocations: 105.8 kB / 16.52 MB, free: 6.262 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.00153/0.00153, allocations: 195.5 kB / 17.44 MB, free: 5.887 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.909/1.909, allocations: 205.1 MB / 223.3 MB, free: 12.47 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.2467/0.2467, allocations: 43.51 MB / 314.1 MB, free: 0.7539 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.001545/0.001544, allocations: 66.39 kB / 382.7 MB, free: 57.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1645, allocations: 57.79 MB / 440.5 MB, free: 7.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.FixedShape): time 0.00369/0.1683, allocations: 2.44 MB / 442.9 MB, free: 5.055 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001076/0.1694, allocations: 0.7994 MB / 443.7 MB, free: 4.246 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001296/0.1695, allocations: 4 kB / 443.7 MB, free: 4.242 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002377/0.1698, allocations: 51.69 kB / 443.8 MB, free: 4.191 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002249/0.17, allocations: 79.45 kB / 443.8 MB, free: 4.113 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002244/0.1703, allocations: 83.91 kB / 443.9 MB, free: 4.031 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002511/0.1705, allocations: 330.7 kB / 444.3 MB, free: 3.707 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001745/0.1707, allocations: 85.31 kB / 444.3 MB, free: 3.625 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001681/0.1709, allocations: 123.6 kB / 444.5 MB, free: 3.504 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001303/0.171, allocations: 143.3 kB / 444.6 MB, free: 3.363 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.18e-05/0.1711, allocations: 20 kB / 444.6 MB, free: 3.344 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.444e-05/0.1711, allocations: 20 kB / 444.6 MB, free: 3.324 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.991e-05/0.1712, allocations: 51.83 kB / 444.7 MB, free: 3.273 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001077/0.1713, allocations: 155.1 kB / 444.8 MB, free: 3.121 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002037/0.1715, allocations: 267.3 kB / 445.1 MB, free: 2.859 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.1715, allocations: 4 kB / 445.1 MB, free: 2.855 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.1715, allocations: 0 / 445.1 MB, free: 2.855 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.155e-06/0.1715, allocations: 0 / 445.1 MB, free: 2.855 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.000965/0.1725, allocations: 0.6042 MB / 445.7 MB, free: 2.203 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.1726, allocations: 8.031 kB / 445.7 MB, free: 2.195 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.466e-05/0.1726, allocations: 36.56 kB / 445.7 MB, free: 2.16 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002344/0.1729, allocations: 263.6 kB / 446 MB, free: 1.863 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.1729, allocations: 16.94 kB / 446 MB, free: 1.848 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.383e-05/0.1729, allocations: 28.38 kB / 446 MB, free: 1.82 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004322/0.1734, allocations: 253.1 kB / 446.3 MB, free: 1.566 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.1734, allocations: 0 / 446.3 MB, free: 1.566 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.57e-05/0.1734, allocations: 4 kB / 446.3 MB, free: 1.562 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.1734, allocations: 8 kB / 446.3 MB, free: 1.555 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004364/0.1739, allocations: 230.1 kB / 446.5 MB, free: 1.328 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001136/0.175, allocations: 0.8753 MB / 447.4 MB, free: 396 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004374/0.1755, allocations: 302.7 kB / 447.7 MB, free: 84 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002714/0.1757, allocations: 152.7 kB / 447.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.41e-05/0.1758, allocations: 11.97 kB / 447.9 MB, free: 15.92 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.1758, allocations: 34.56 kB / 447.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 1.292e-06/0.1758, allocations: 4 kB / 447.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of matching and sorting (n=31): time 0.00472/0.1806, allocations: 1.258 MB / 449.2 MB, free: 14.52 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/0.1806, allocations: 55.41 kB / 449.2 MB, free: 14.45 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002255/0.1809, allocations: 213 kB / 449.4 MB, free: 14.24 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.724e-05/0.1809, allocations: 33.7 kB / 449.5 MB, free: 14.2 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.181, allocations: 161.2 kB / 449.6 MB, free: 14.04 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.175e-05/0.1811, allocations: 106.4 kB / 449.7 MB, free: 13.93 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.529e-05/0.1812, allocations: 49.7 kB / 449.8 MB, free: 13.88 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.1814, allocations: 334.8 kB / 450.1 MB, free: 13.54 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002264/0.1816, allocations: 91.95 kB / 450.2 MB, free: 13.45 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002562/0.1819, allocations: 125.8 kB / 450.3 MB, free: 13.32 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004526/0.1823, allocations: 235.2 kB / 450.5 MB, free: 13.09 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.1823, allocations: 0 / 450.5 MB, free: 13.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001768/0.1841, allocations: 0.5364 MB / 451.1 MB, free: 12.54 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/0.1841, allocations: 7.984 kB / 451.1 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.1842, allocations: 0 / 451.1 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00176/0.1859, allocations: 311.2 kB / 451.4 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001763/0.1861, allocations: 23.97 kB / 451.4 MB, free: 12.19 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007708/0.1938, allocations: 6.336 MB / 457.7 MB, free: 5.312 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000215/0.1941, allocations: 19.88 kB / 457.8 MB, free: 5.293 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.487e-05/0.1941, allocations: 11.98 kB / 457.8 MB, free: 5.281 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.0002041/0.1943, allocations: 158.5 kB / 457.9 MB, free: 5.117 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.813e-05/0.1944, allocations: 23.72 kB / 458 MB, free: 5.094 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001782/0.1962, allocations: 0.5473 MB / 458.5 MB, free: 4.527 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.1962, allocations: 4 kB / 458.5 MB, free: 4.523 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.1962, allocations: 3.938 kB / 458.5 MB, free: 4.52 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.1962, allocations: 3.984 kB / 458.5 MB, free: 4.516 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004766/0.1967, allocations: 357.2 kB / 458.9 MB, free: 4.117 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.1967, allocations: 3.984 kB / 458.9 MB, free: 4.113 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/0.1968, allocations: 15.98 kB / 458.9 MB, free: 4.098 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00155/0.1984, allocations: 311.3 kB / 459.2 MB, free: 3.781 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.284e-05/0.1984, allocations: 8 kB / 459.2 MB, free: 3.773 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007894/0.2063, allocations: 6.381 MB / 465.6 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.2064, allocations: 0 / 465.6 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001949/0.2083, allocations: 0.6194 MB / 466.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000116/0.2085, allocations: 104.8 kB / 466.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.195e-05/0.2085, allocations: 4 kB / 466.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001943/0.2087, allocations: 12 kB / 466.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001528/0.2089, allocations: 31.95 kB / 466.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.832e-05/0.2089, allocations: 15.92 kB / 466.4 MB, free: 12.03 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001968/0.2091, allocations: 156.5 kB / 466.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2091, allocations: 0 / 466.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006674/0.2098, allocations: 119.8 kB / 466.6 MB, free: 11.76 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.0001737/0.21, allocations: 95.25 kB / 466.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001307/0.2113, allocations: 0.7483 MB / 467.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.2113, allocations: 0 / 467.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001426/0.2128, allocations: 0.7289 MB / 468.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004106/0.2132, allocations: 28.98 kB / 468.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.2145, allocations: 0.6785 MB / 468.9 MB, free: 9.344 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004828/0.215, allocations: 0.7717 MB / 469.7 MB, free: 8.547 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.374e-05/0.2151, allocations: 15.44 kB / 469.7 MB, free: 8.531 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2151, allocations: 0 / 469.7 MB, free: 8.531 MB / 350.1 MB Notification: Performance of Templates: time 0.01164/0.2267, allocations: 7.972 MB / 477.7 MB, free: 0.5469 MB / 350.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