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.0009185/0.0009186, allocations: 91.94 kB / 16.33 MB, free: 5.938 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.0009867/0.0009869, allocations: 187.9 kB / 17.22 MB, free: 5.863 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.705/1.705, allocations: 205.4 MB / 223.4 MB, free: 5.594 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4141/0.4141, allocations: 43.56 MB / 315.2 MB, free: 8.824 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.0004873/0.0004873, allocations: 12 kB / 384.5 MB, free: 8.043 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1355, allocations: 58.87 MB / 443.4 MB, free: 13.06 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.FixedShape): time 0.00256/0.1381, allocations: 2.008 MB / 445.4 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001194/0.1393, allocations: 0.7531 MB / 446.2 MB, free: 10.28 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.1394, allocations: 11.88 kB / 446.2 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001515/0.1396, allocations: 39.7 kB / 446.2 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002356/0.1398, allocations: 91.42 kB / 446.3 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002326/0.14, allocations: 75.8 kB / 446.4 MB, free: 10.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000321/0.1404, allocations: 302.9 kB / 446.7 MB, free: 9.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001935/0.1406, allocations: 73.11 kB / 446.8 MB, free: 9.699 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001799/0.1408, allocations: 111.6 kB / 446.9 MB, free: 9.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001681/0.1409, allocations: 139.4 kB / 447 MB, free: 9.453 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.478e-05/0.141, allocations: 16 kB / 447 MB, free: 9.438 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.751e-05/0.141, allocations: 20 kB / 447 MB, free: 9.418 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.65e-05/0.1411, allocations: 43.83 kB / 447.1 MB, free: 9.375 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.614e-05/0.1412, allocations: 77.52 kB / 447.1 MB, free: 9.293 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002681/0.1414, allocations: 259.5 kB / 447.4 MB, free: 9.039 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.997e-06/0.1415, allocations: 4 kB / 447.4 MB, free: 9.035 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.1415, allocations: 0 / 447.4 MB, free: 9.035 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.1415, allocations: 0 / 447.4 MB, free: 9.035 MB / 382.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.0009701/0.1425, allocations: 0.5651 MB / 448 MB, free: 8.422 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.1425, allocations: 8.031 kB / 448 MB, free: 8.414 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.53e-05/0.1426, allocations: 43.48 kB / 448 MB, free: 8.371 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003119/0.1429, allocations: 254.5 kB / 448.3 MB, free: 8.082 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.243e-05/0.1429, allocations: 20.56 kB / 448.3 MB, free: 8.062 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.906e-05/0.143, allocations: 24 kB / 448.3 MB, free: 8.039 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000484/0.1435, allocations: 248.8 kB / 448.6 MB, free: 7.793 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.1435, allocations: 0 / 448.6 MB, free: 7.793 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.784e-05/0.1435, allocations: 12 kB / 448.6 MB, free: 7.781 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.1436, allocations: 12 kB / 448.6 MB, free: 7.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004726/0.144, allocations: 238.1 kB / 448.8 MB, free: 7.535 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001368/0.1454, allocations: 0.8753 MB / 449.7 MB, free: 6.598 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005311/0.146, allocations: 318.8 kB / 450 MB, free: 6.277 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002556/0.1462, allocations: 148.8 kB / 450.1 MB, free: 6.129 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.268e-05/0.1463, allocations: 7.984 kB / 450.2 MB, free: 6.121 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.613e-05/0.1463, allocations: 42.56 kB / 450.2 MB, free: 6.07 MB / 382.1 MB Notification: Performance of pre-optimization done (n=31): time 1.784e-06/0.1463, allocations: 0 / 450.2 MB, free: 6.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=31): time 0.004055/0.1504, allocations: 1.254 MB / 451.4 MB, free: 4.723 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.759e-05/0.1505, allocations: 55.41 kB / 451.5 MB, free: 4.656 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000248/0.1507, allocations: 209 kB / 451.7 MB, free: 4.438 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.431e-05/0.1508, allocations: 37.7 kB / 451.7 MB, free: 4.395 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001276/0.1509, allocations: 165.1 kB / 451.9 MB, free: 4.23 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.382e-05/0.151, allocations: 106.4 kB / 452 MB, free: 4.125 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.515e-05/0.151, allocations: 4 kB / 452 MB, free: 4.121 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002373/0.1513, allocations: 342.8 kB / 452.3 MB, free: 3.777 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002259/0.1515, allocations: 103.8 kB / 452.4 MB, free: 3.676 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002413/0.1517, allocations: 129.8 kB / 452.6 MB, free: 3.543 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003052/0.1521, allocations: 109.3 kB / 452.7 MB, free: 3.438 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1521, allocations: 0 / 452.7 MB, free: 3.438 MB / 382.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001702/0.1538, allocations: 0.5484 MB / 453.2 MB, free: 2.871 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.705e-05/0.1538, allocations: 8 kB / 453.2 MB, free: 2.863 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/0.1538, allocations: 3.984 kB / 453.2 MB, free: 2.859 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001558/0.1554, allocations: 315.1 kB / 453.6 MB, free: 2.539 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001619/0.1556, allocations: 27.97 kB / 453.6 MB, free: 2.512 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2707/0.4263, allocations: 6.302 MB / 459.9 MB, free: 43.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002391/0.4266, allocations: 33.84 kB / 459.9 MB, free: 43.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.194e-05/0.4266, allocations: 15.61 kB / 459.9 MB, free: 43.21 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 5,1 5,1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001734/0.4268, allocations: 147.3 kB / 460.1 MB, free: 43.1 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.188e-05/0.4269, allocations: 22.38 kB / 460.1 MB, free: 43.09 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001513/0.4284, allocations: 0.5573 MB / 460.7 MB, free: 43.01 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.4284, allocations: 3.375 kB / 460.7 MB, free: 43.01 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-06/0.4284, allocations: 0.6562 kB / 460.7 MB, free: 43.01 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.269e-06/0.4284, allocations: 5.938 kB / 460.7 MB, free: 43.01 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003294/0.4288, allocations: 363.3 kB / 461 MB, free: 42.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.4288, allocations: 0 / 461 MB, free: 42.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.986e-05/0.4289, allocations: 23.86 kB / 461 MB, free: 42.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001278/0.4302, allocations: 313.9 kB / 461.3 MB, free: 42.79 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.162e-05/0.4302, allocations: 6.469 kB / 461.4 MB, free: 42.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005198/0.4354, allocations: 6.36 MB / 467.7 MB, free: 37.7 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.4354, allocations: 0 / 467.7 MB, free: 37.7 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001476/0.4369, allocations: 0.6312 MB / 468.3 MB, free: 37.49 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.283e-05/0.437, allocations: 105.2 kB / 468.4 MB, free: 37.38 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.805e-05/0.437, allocations: 9.125 kB / 468.5 MB, free: 37.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001694/0.4372, allocations: 21.64 kB / 468.5 MB, free: 37.38 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/0.4373, allocations: 28.11 kB / 468.5 MB, free: 37.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/0.4373, allocations: 8.25 kB / 468.5 MB, free: 37.38 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001352/0.4375, allocations: 164.6 kB / 468.7 MB, free: 37.29 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4375, allocations: 0 / 468.7 MB, free: 37.29 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005397/0.438, allocations: 118.6 kB / 468.8 MB, free: 37.29 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 4,2 4,2 4,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001151/0.4382, allocations: 101.8 kB / 468.9 MB, free: 37.2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009424/0.4391, allocations: 0.7506 MB / 469.6 MB, free: 36.74 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4391, allocations: 0.6875 kB / 469.6 MB, free: 36.74 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009832/0.4401, allocations: 0.7185 MB / 470.4 MB, free: 36.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003273/0.4405, allocations: 23.09 kB / 470.4 MB, free: 36.27 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008379/0.4413, allocations: 0.6658 MB / 471 MB, free: 35.88 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002222/0.4415, allocations: 0.7678 MB / 471.8 MB, free: 35.19 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.495e-05/0.4416, allocations: 17.25 kB / 471.8 MB, free: 35.18 MB / 382.1 MB Notification: Performance of SimCode: time 1.213e-06/0.4416, allocations: 0 / 471.8 MB, free: 35.18 MB / 382.1 MB Notification: Performance of Templates: time 0.008929/0.4505, allocations: 7.957 MB / 479.8 MB, free: 34.61 MB / 382.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++ 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.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