Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 218.2 kB / 22.25 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.464/1.464, allocations: 230.6 MB / 256 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension main/package.mo): time 0.009518/0.009518, allocations: 1.226 MB / 313.7 MB, free: 1.977 MB / 238.1 MB " [Timeout remaining time 180] Using package FluxTubesExtension with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic,fileNamePrefix="FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic,fileNamePrefix="FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: FluxTubesExtension requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 67.91 kB / 436.1 MB, free: 16.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0975/0.09949, allocations: 53.64 MB / 489.7 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic): time 0.0024/0.1019, allocations: 1.241 MB / 490.9 MB, free: 9.504 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00126/0.1032, allocations: 0.7066 MB / 491.6 MB, free: 8.793 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.776e-05/0.1032, allocations: 4 kB / 491.6 MB, free: 8.789 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002902/0.1035, allocations: 39.83 kB / 491.7 MB, free: 8.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003498/0.1038, allocations: 103.6 kB / 491.8 MB, free: 8.648 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.058e-06/0.1038, allocations: 0 / 491.8 MB, free: 8.648 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.574e-05/0.1039, allocations: 35.78 kB / 491.8 MB, free: 8.613 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.839e-05/0.1039, allocations: 0 / 491.8 MB, free: 8.613 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.652e-05/0.104, allocations: 8 kB / 491.8 MB, free: 8.605 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.519e-05/0.104, allocations: 15.91 kB / 491.8 MB, free: 8.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.223e-06/0.1041, allocations: 0 / 491.8 MB, free: 8.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000392/0.1044, allocations: 263.4 kB / 492.1 MB, free: 8.332 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.027e-05/0.1045, allocations: 15.92 kB / 492.1 MB, free: 8.316 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.415e-05/0.1045, allocations: 7.938 kB / 492.1 MB, free: 8.309 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002809/0.1048, allocations: 171.7 kB / 492.3 MB, free: 8.141 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1048, allocations: 0 / 492.3 MB, free: 8.141 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1048, allocations: 3.938 kB / 492.3 MB, free: 8.137 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.1048, allocations: 0 / 492.3 MB, free: 8.137 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004056/0.1052, allocations: 278.1 kB / 492.6 MB, free: 7.836 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.1053, allocations: 8.031 kB / 492.6 MB, free: 7.828 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.574e-05/0.1053, allocations: 34.73 kB / 492.6 MB, free: 7.785 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.638e-05/0.1053, allocations: 8.891 kB / 492.6 MB, free: 7.777 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001984/0.1055, allocations: 126.5 kB / 492.7 MB, free: 7.629 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.31e-06/0.1055, allocations: 4.375 kB / 492.7 MB, free: 7.625 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.136e-05/0.1055, allocations: 4.328 kB / 492.8 MB, free: 7.621 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001069/0.1057, allocations: 45.81 kB / 492.8 MB, free: 7.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.1057, allocations: 3.984 kB / 492.8 MB, free: 7.566 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.1057, allocations: 4 kB / 492.8 MB, free: 7.562 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.1057, allocations: 0 / 492.8 MB, free: 7.562 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.124e-05/0.1057, allocations: 27.92 kB / 492.8 MB, free: 7.535 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001883/0.1059, allocations: 144.8 kB / 493 MB, free: 7.352 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002291/0.1062, allocations: 70.47 kB / 493 MB, free: 7.273 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.858e-05/0.1062, allocations: 20.94 kB / 493.1 MB, free: 7.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.37e-05/0.1062, allocations: 15.98 kB / 493.1 MB, free: 7.234 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.1063, allocations: 38.48 kB / 493.1 MB, free: 7.188 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.1063, allocations: 0 / 493.1 MB, free: 7.188 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.002181/0.1084, allocations: 0.5908 MB / 493.7 MB, free: 6.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/0.1085, allocations: 59.41 kB / 493.8 MB, free: 6.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.1086, allocations: 129.8 kB / 493.9 MB, free: 6.383 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.825e-05/0.1086, allocations: 25.7 kB / 493.9 MB, free: 6.352 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.162e-05/0.1087, allocations: 92.08 kB / 494 MB, free: 6.258 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.641e-05/0.1087, allocations: 23.83 kB / 494 MB, free: 6.234 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.428e-05/0.1088, allocations: 33.69 kB / 494.1 MB, free: 6.195 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.109, allocations: 322.8 kB / 494.4 MB, free: 5.871 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002513/0.1092, allocations: 159.8 kB / 494.5 MB, free: 5.715 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002297/0.1095, allocations: 151.8 kB / 494.7 MB, free: 5.566 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00049/0.11, allocations: 312.6 kB / 495 MB, free: 5.258 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.11, allocations: 0 / 495 MB, free: 5.258 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0005984/0.1106, allocations: 373.2 kB / 495.4 MB, free: 4.887 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.1106, allocations: 5.875 kB / 495.4 MB, free: 4.883 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.1106, allocations: 256 / 495.4 MB, free: 4.883 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.1106, allocations: 0 / 495.4 MB, free: 4.883 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002033/0.1108, allocations: 35.91 kB / 495.4 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.1108, allocations: 4 kB / 495.4 MB, free: 4.844 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001413/0.1109, allocations: 7.984 kB / 495.4 MB, free: 4.836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.139e-05/0.111, allocations: 31.98 kB / 495.4 MB, free: 4.805 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (5): * Single equations (assignments): 5 * 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.0001012/0.1111, allocations: 117.8 kB / 495.6 MB, free: 4.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.003e-05/0.1111, allocations: 7.891 kB / 495.6 MB, free: 4.672 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005004/0.1116, allocations: 281.4 kB / 495.8 MB, free: 4.387 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.1116, allocations: 0 / 495.8 MB, free: 4.387 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.1116, allocations: 4 kB / 495.8 MB, free: 4.383 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1116, allocations: 0 / 495.8 MB, free: 4.383 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001027/0.1127, allocations: 0.5666 MB / 496.4 MB, free: 3.766 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1127, allocations: 0 / 496.4 MB, free: 3.766 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001521/0.1128, allocations: 23.92 kB / 496.4 MB, free: 3.742 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.1128, allocations: 4 kB / 496.4 MB, free: 3.738 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.176e-05/0.1129, allocations: 11.98 kB / 496.4 MB, free: 3.727 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.1129, allocations: 3.938 kB / 496.4 MB, free: 3.723 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.1129, allocations: 3.984 kB / 496.4 MB, free: 3.719 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004706/0.1133, allocations: 340.1 kB / 496.8 MB, free: 3.367 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.174e-05/0.1133, allocations: 0 / 496.8 MB, free: 3.367 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.078e-05/0.1134, allocations: 4 kB / 496.8 MB, free: 3.363 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/0.1135, allocations: 0 / 496.8 MB, free: 3.363 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.964e-05/0.1135, allocations: 15.92 kB / 496.8 MB, free: 3.348 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.819e-05/0.1136, allocations: 24.11 kB / 496.8 MB, free: 3.324 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.583e-05/0.1136, allocations: 103.6 kB / 496.9 MB, free: 3.223 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1136, allocations: 0 / 496.9 MB, free: 3.223 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002936/0.1139, allocations: 35.92 kB / 497 MB, free: 3.188 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 ($cse1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0008689/0.1148, allocations: 0.8499 MB / 497.8 MB, free: 2.309 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003613/0.1152, allocations: 219.8 kB / 498 MB, free: 2.094 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1152, allocations: 4 kB / 498 MB, free: 2.09 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001204/0.1153, allocations: 75.95 kB / 498.1 MB, free: 2.016 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002448/0.1155, allocations: 9.688 kB / 498.1 MB, free: 2.008 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002474/0.118, allocations: 2.178 MB / 0.4886 GB, free: 15.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000336/0.1184, allocations: 0.6885 MB / 0.4892 GB, free: 15.03 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.553e-05/0.1184, allocations: 20.12 kB / 0.4893 GB, free: 15.01 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001078/0.1185, allocations: 35.41 kB / 0.4893 GB, free: 14.98 MB / 366.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1185, allocations: 0 / 0.4893 GB, free: 14.98 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0276/0.1461, allocations: 3.186 MB / 0.4924 GB, free: 11.95 MB / 366.1 MB Error: Error building simulator. Build log: cmd: cd '508.fmutmp/sources/' && mkdir build_cmake_static && cd build_cmake_static && cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER='clang' .. && cmake --build . --parallel -j1 --target install && cd .. && rm -rf build_cmake_static -- The C compiler identification is Clang 14.0.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/clang - skipped -- Detecting C compile features -- Detecting C compile features - done -- FMI2 include directory: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic/508.fmutmp/sources/fmi -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Building for FMI platform linux64 -- Install directory: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic/508.fmutmp/sources/../binaries/linux64 -- CVODE: Not linked -- Not using FMI2_FUNCTION_PREFIX -- Installing dynamic dependencies from list: -- Configuring done -- Generating done -- Build files have been written to: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic/508.fmutmp/sources/build_cmake_static [ 0%] Building C object CMakeFiles/508.dir/external_solvers/F77_aloc.c.o [ 1%] Building C object CMakeFiles/508.dir/external_solvers/dgemm.c.o [ 2%] Building C object CMakeFiles/508.dir/external_solvers/dgemv.c.o [ 3%] Building C object CMakeFiles/508.dir/external_solvers/dger.c.o [ 4%] Building C object CMakeFiles/508.dir/external_solvers/dgesv.c.o [ 5%] Building C object CMakeFiles/508.dir/external_solvers/dgetf2.c.o [ 6%] Building C object CMakeFiles/508.dir/external_solvers/dgetrf.c.o [ 7%] Building C object CMakeFiles/508.dir/external_solvers/dgetri.c.o [ 8%] Building C object CMakeFiles/508.dir/external_solvers/dgetrs.c.o [ 9%] Building C object CMakeFiles/508.dir/external_solvers/dlamch.c.o [ 10%] Building C object CMakeFiles/508.dir/external_solvers/dlaswp.c.o [ 11%] Building C object CMakeFiles/508.dir/external_solvers/dogleg_.c.o [ 12%] Building C object CMakeFiles/508.dir/external_solvers/dpmpar_.c.o [ 13%] Building C object CMakeFiles/508.dir/external_solvers/dscal.c.o [ 14%] Building C object CMakeFiles/508.dir/external_solvers/dswap.c.o [ 15%] Building C object CMakeFiles/508.dir/external_solvers/dtrmm.c.o [ 16%] Building C object CMakeFiles/508.dir/external_solvers/dtrmv.c.o [ 17%] Building C object CMakeFiles/508.dir/external_solvers/dtrsm.c.o [ 18%] Building C object CMakeFiles/508.dir/external_solvers/dtrti2.c.o [ 19%] Building C object CMakeFiles/508.dir/external_solvers/dtrtri.c.o [ 20%] Building C object CMakeFiles/508.dir/external_solvers/enorm_.c.o [ 20%] Building C object CMakeFiles/508.dir/external_solvers/exit_.c.o [ 21%] Building C object CMakeFiles/508.dir/external_solvers/hybrj_.c.o [ 22%] Building C object CMakeFiles/508.dir/external_solvers/i_nint.c.o [ 23%] Building C object CMakeFiles/508.dir/external_solvers/idamax.c.o [ 24%] Building C object CMakeFiles/508.dir/external_solvers/ieeeck.c.o [ 25%] Building C object CMakeFiles/508.dir/external_solvers/ilaenv.c.o [ 26%] Building C object CMakeFiles/508.dir/external_solvers/iparmq.c.o [ 27%] Building C object CMakeFiles/508.dir/external_solvers/lsame.c.o [ 28%] Building C object CMakeFiles/508.dir/external_solvers/pow_di.c.o [ 29%] Building C object CMakeFiles/508.dir/external_solvers/qform_.c.o [ 30%] Building C object CMakeFiles/508.dir/external_solvers/qrfac_.c.o [ 31%] Building C object CMakeFiles/508.dir/external_solvers/r1mpyq_.c.o [ 32%] Building C object CMakeFiles/508.dir/external_solvers/r1updt_.c.o [ 33%] Building C object CMakeFiles/508.dir/external_solvers/s_cat.c.o [ 34%] Building C object CMakeFiles/508.dir/external_solvers/s_cmp.c.o [ 35%] Building C object CMakeFiles/508.dir/external_solvers/s_copy.c.o [ 36%] Building C object CMakeFiles/508.dir/external_solvers/xerbla.c.o [ 37%] Building C object CMakeFiles/508.dir/gc/memory_pool.c.o [ 38%] Building C object CMakeFiles/508.dir/gc/omc_gc.c.o [ 39%] Building C object CMakeFiles/508.dir/math-support/pivot.c.o [ 40%] Building C object CMakeFiles/508.dir/meta/meta_modelica_catch.c.o [ 40%] Building C object CMakeFiles/508.dir/simulation/jacobian_util.c.o [ 41%] Building C object CMakeFiles/508.dir/simulation/omc_simulation_util.c.o [ 42%] Building C object CMakeFiles/508.dir/simulation/options.c.o [ 43%] Building C object CMakeFiles/508.dir/simulation/simulation_info_json.c.o [ 44%] Building C object CMakeFiles/508.dir/simulation/simulation_omc_assert.c.o [ 45%] Building C object CMakeFiles/508.dir/simulation/solver/delay.c.o [ 46%] Building C object CMakeFiles/508.dir/simulation/solver/fmi_events.c.o [ 47%] Building C object CMakeFiles/508.dir/simulation/solver/initialization/initialization.c.o [ 48%] Building C object CMakeFiles/508.dir/simulation/solver/model_help.c.o [ 49%] Building C object CMakeFiles/508.dir/simulation/solver/omc_math.c.o [ 50%] Building C object CMakeFiles/508.dir/simulation/solver/spatialDistribution.c.o [ 51%] Building C object CMakeFiles/508.dir/simulation/solver/stateset.c.o [ 52%] Building C object CMakeFiles/508.dir/simulation/solver/synchronous.c.o [ 53%] Building C object CMakeFiles/508.dir/util/ModelicaUtilities.c.o [ 54%] Building C object CMakeFiles/508.dir/util/base_array.c.o [ 55%] Building C object CMakeFiles/508.dir/util/boolean_array.c.o [ 56%] Building C object CMakeFiles/508.dir/util/context.c.o [ 57%] Building C object CMakeFiles/508.dir/util/division.c.o [ 58%] Building C object CMakeFiles/508.dir/util/doubleEndedList.c.o [ 59%] Building C object CMakeFiles/508.dir/util/generic_array.c.o [ 60%] Building C object CMakeFiles/508.dir/util/index_spec.c.o [ 60%] Building C object CMakeFiles/508.dir/util/integer_array.c.o [ 61%] Building C object CMakeFiles/508.dir/util/list.c.o [ 62%] Building C object CMakeFiles/508.dir/util/modelica_string.c.o [ 63%] Building C object CMakeFiles/508.dir/util/modelica_string_lit.c.o [ 64%] Building C object CMakeFiles/508.dir/util/omc_error.c.o [ 65%] Building C object CMakeFiles/508.dir/util/omc_file.c.o [ 66%] Building C object CMakeFiles/508.dir/util/omc_init.c.o [ 67%] Building C object CMakeFiles/508.dir/util/omc_mmap.c.o [ 68%] Building C object CMakeFiles/508.dir/util/omc_msvc.c.o [ 69%] Building C object CMakeFiles/508.dir/util/omc_numbers.c.o [ 70%] Building C object CMakeFiles/508.dir/util/parallel_helper.c.o [ 71%] Building C object CMakeFiles/508.dir/util/rational.c.o [ 72%] Building C object CMakeFiles/508.dir/util/real_array.c.o [ 73%] Building C object CMakeFiles/508.dir/util/ringbuffer.c.o [ 74%] Building C object CMakeFiles/508.dir/util/simulation_options.c.o [ 75%] Building C object CMakeFiles/508.dir/util/string_array.c.o [ 76%] Building C object CMakeFiles/508.dir/util/utility.c.o [ 77%] Building C object CMakeFiles/508.dir/util/varinfo.c.o [ 78%] Building C object CMakeFiles/508.dir/FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic.c.o /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic/508.fmutmp/sources/FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic.c:205:19: error: invalid operands to binary expression ('real_array' (aka 'struct base_array_s') and 'real_array') tmp15 = tmp13 - (tmp14); ~~~~~ ^ ~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic/508.fmutmp/sources/FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic.c:207:301: error: invalid operands to binary expression ('real_array' (aka 'struct base_array_s') and 'real_array') tmp18 = (((modelica_real)sign((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[3]] /* H DUMMY_STATE */)))) * (real_get(_OMC_LIT6, ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[0]] /* $cse1 DISCRETE */) - ((modelica_integer) 1))-1) + (DIVISION_SIM(tmp5 - (tmp6),tmp7 - (tmp8),\"material.Hk[$cse1] - material.Hk[$cse1 - 1]\",equationIndexes)) * ((sign((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[3]] /* H DUMMY_STATE */))) * (5e4) - (real_get(_OMC_LIT6, ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[0]] /* $cse1 DISCRETE */) - ((modelica_integer) 1))-1))) + (DIVISION_SIM((real_get(_OMC_LIT6, ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[0]] /* $cse1 DISCRETE */))-1) - (real_get(_OMC_LIT6, ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[0]] /* $cse1 DISCRETE */) - ((modelica_integer) 1))-1))) * (tmp9 - (tmp10) - (tmp11 - (tmp12))),(tmp15 * tmp15),\"(material.Hk[$cse1] - material.Hk[$cse1 - 1]) ^ 2.0\",equationIndexes)) * (fabs((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[3]] /* H DUMMY_STATE */)) - (tmp16))); ~~~~ ^ ~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic/508.fmutmp/sources/util/division.h:45:67: note: expanded from macro 'DIVISION_SIM' #define DIVISION_SIM(a,b,msg,equation) (__OMC_DIV_SIM(threadData, a, b, msg, equationIndexes, data->simulationInfo->noThrowDivZero, data->localData[0]->timeValue, initial())) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic/508.fmutmp/sources/FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic.c:207:315: error: invalid operands to binary expression ('real_array' (aka 'struct base_array_s') and 'real_array') tmp18 = (((modelica_real)sign((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[3]] /* H DUMMY_STATE */)))) * (real_get(_OMC_LIT6, ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[0]] /* $cse1 DISCRETE */) - ((modelica_integer) 1))-1) + (DIVISION_SIM(tmp5 - (tmp6),tmp7 - (tmp8),\"material.Hk[$cse1] - material.Hk[$cse1 - 1]\",equationIndexes)) * ((sign((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[3]] /* H DUMMY_STATE */))) * (5e4) - (real_get(_OMC_LIT6, ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[0]] /* $cse1 DISCRETE */) - ((modelica_integer) 1))-1))) + (DIVISION_SIM((real_get(_OMC_LIT6, ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[0]] /* $cse1 DISCRETE */))-1) - (real_get(_OMC_LIT6, ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[0]] /* $cse1 DISCRETE */) - ((modelica_integer) 1))-1))) * (tmp9 - (tmp10) - (tmp11 - (tmp12))),(tmp15 * tmp15),\"(material.Hk[$cse1] - material.Hk[$cse1 - 1]) ^ 2.0\",equationIndexes)) * (fabs((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[3]] /* H DUMMY_STATE */)) - (tmp16))); ~~~~ ^ ~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic/508.fmutmp/sources/util/division.h:45:70: note: expanded from macro 'DIVISION_SIM' #define DIVISION_SIM(a,b,msg,equation) (__OMC_DIV_SIM(threadData, a, b, msg, equationIndexes, data->simulationInfo->noThrowDivZero, data->localData[0]->timeValue, initial())) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic/508.fmutmp/sources/FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic.c:207:952: error: invalid operands to binary expression ('real_array' (aka 'struct base_array_s') and 'real_array') tmp18 = (((modelica_real)sign((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[3]] /* H DUMMY_STATE */)))) * (real_get(_OMC_LIT6, ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[0]] /* $cse1 DISCRETE */) - ((modelica_integer) 1))-1) + (DIVISION_SIM(tmp5 - (tmp6),tmp7 - (tmp8),\"material.Hk[$cse1] - material.Hk[$cse1 - 1]\",equationIndexes)) * ((sign((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[3]] /* H DUMMY_STATE */))) * (5e4) - (real_get(_OMC_LIT6, ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[0]] /* $cse1 DISCRETE */) - ((modelica_integer) 1))-1))) + (DIVISION_SIM((real_get(_OMC_LIT6, ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[0]] /* $cse1 DISCRETE */))-1) - (real_get(_OMC_LIT6, ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[0]] /* $cse1 DISCRETE */) - ((modelica_integer) 1))-1))) * (tmp9 - (tmp10) - (tmp11 - (tmp12))),(tmp15 * tmp15),\"(material.Hk[$cse1] - material.Hk[$cse1 - 1]) ^ 2.0\",equationIndexes)) * (fabs((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[3]] /* H DUMMY_STATE */)) - (tmp16))); ~~~~ ^ ~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic/508.fmutmp/sources/util/division.h:45:67: note: expanded from macro 'DIVISION_SIM' #define DIVISION_SIM(a,b,msg,equation) (__OMC_DIV_SIM(threadData, a, b, msg, equationIndexes, data->simulationInfo->noThrowDivZero, data->localData[0]->timeValue, initial())) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic/508.fmutmp/sources/FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic.c:207:971: error: invalid operands to binary expression ('real_array' (aka 'struct base_array_s') and 'real_array') tmp18 = (((modelica_real)sign((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[3]] /* H DUMMY_STATE */)))) * (real_get(_OMC_LIT6, ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[0]] /* $cse1 DISCRETE */) - ((modelica_integer) 1))-1) + (DIVISION_SIM(tmp5 - (tmp6),tmp7 - (tmp8),\"material.Hk[$cse1] - material.Hk[$cse1 - 1]\",equationIndexes)) * ((sign((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[3]] /* H DUMMY_STATE */))) * (5e4) - (real_get(_OMC_LIT6, ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[0]] /* $cse1 DISCRETE */) - ((modelica_integer) 1))-1))) + (DIVISION_SIM((real_get(_OMC_LIT6, ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[0]] /* $cse1 DISCRETE */))-1) - (real_get(_OMC_LIT6, ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[0]] /* $cse1 DISCRETE */) - ((modelica_integer) 1))-1))) * (tmp9 - (tmp10) - (tmp11 - (tmp12))),(tmp15 * tmp15),\"(material.Hk[$cse1] - material.Hk[$cse1 - 1]) ^ 2.0\",equationIndexes)) * (fabs((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[3]] /* H DUMMY_STATE */)) - (tmp16))); ~~~~~ ^ ~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic/508.fmutmp/sources/util/division.h:45:67: note: expanded from macro 'DIVISION_SIM' #define DIVISION_SIM(a,b,msg,equation) (__OMC_DIV_SIM(threadData, a, b, msg, equationIndexes, data->simulationInfo->noThrowDivZero, data->localData[0]->timeValue, initial())) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic/508.fmutmp/sources/FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic.c:207:1171: error: invalid operands to binary expression ('double' and 'real_array' (aka 'struct base_array_s')) tmp18 = (((modelica_real)sign((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[3]] /* H DUMMY_STATE */)))) * (real_get(_OMC_LIT6, ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[0]] /* $cse1 DISCRETE */) - ((modelica_integer) 1))-1) + (DIVISION_SIM(tmp5 - (tmp6),tmp7 - (tmp8),\"material.Hk[$cse1] - material.Hk[$cse1 - 1]\",equationIndexes)) * ((sign((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[3]] /* H DUMMY_STATE */))) * (5e4) - (real_get(_OMC_LIT6, ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[0]] /* $cse1 DISCRETE */) - ((modelica_integer) 1))-1))) + (DIVISION_SIM((real_get(_OMC_LIT6, ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[0]] /* $cse1 DISCRETE */))-1) - (real_get(_OMC_LIT6, ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[0]] /* $cse1 DISCRETE */) - ((modelica_integer) 1))-1))) * (tmp9 - (tmp10) - (tmp11 - (tmp12))),(tmp15 * tmp15),\"(material.Hk[$cse1] - material.Hk[$cse1 - 1]) ^ 2.0\",equationIndexes)) * (fabs((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[3]] /* H DUMMY_STATE */)) - (tmp16))); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~ 6 errors generated. gmake[2]: *** [CMakeFiles/508.dir/build.make:1210: CMakeFiles/508.dir/FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic.c.o] Error 1 gmake[1]: *** [CMakeFiles/Makefile2:84: CMakeFiles/508.dir/all] Error 2 gmake: *** [Makefile:136: all] Error 2 " [Timeout remaining time 651] [Calling sys.exit(0), Time elapsed: 11.054677662003087] Failed to read output from testmodel.py, exit status != 0: 8.552666119001515 8.770169795 8.661601293 Calling exit ...