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.001879/0.001879, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002424/0.002424, allocations: 214.5 kB / 23.04 MB, free: 5.074 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.453/1.453, allocations: 230.6 MB / 256.8 MB, free: 7.965 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.009396/0.009396, allocations: 1.227 MB / 314.5 MB, free: 1.957 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic,fileNamePrefix="FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic",fmuType="cs",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.001949/0.001949, allocations: 59.91 kB / 436.8 MB, free: 16.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09757/0.09952, allocations: 53.65 MB / 490.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic): time 0.00252/0.102, allocations: 1.25 MB / 491.7 MB, free: 9.461 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001211/0.1033, allocations: 0.7105 MB / 492.4 MB, free: 8.746 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.191e-05/0.1033, allocations: 0 / 492.4 MB, free: 8.746 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002366/0.1035, allocations: 39.83 kB / 492.5 MB, free: 8.707 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003586/0.1039, allocations: 103.2 kB / 492.6 MB, free: 8.609 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.417e-06/0.1039, allocations: 4 kB / 492.6 MB, free: 8.605 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.773e-05/0.104, allocations: 27.86 kB / 492.6 MB, free: 8.578 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.267e-05/0.104, allocations: 0 / 492.6 MB, free: 8.578 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.552e-05/0.104, allocations: 11.92 kB / 492.6 MB, free: 8.566 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.315e-05/0.1041, allocations: 15.92 kB / 492.6 MB, free: 8.551 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.143e-06/0.1041, allocations: 0 / 492.6 MB, free: 8.551 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003902/0.1045, allocations: 255.4 kB / 492.9 MB, free: 8.301 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.981e-05/0.1045, allocations: 19.91 kB / 492.9 MB, free: 8.281 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.638e-05/0.1045, allocations: 11.88 kB / 492.9 MB, free: 8.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002952/0.1048, allocations: 163.8 kB / 493.1 MB, free: 8.109 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.1048, allocations: 4 kB / 493.1 MB, free: 8.105 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1048, allocations: 0 / 493.1 MB, free: 8.105 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.263e-06/0.1048, allocations: 0 / 493.1 MB, free: 8.105 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.0003891/0.1052, allocations: 290 kB / 493.4 MB, free: 7.793 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.1053, allocations: 12.03 kB / 493.4 MB, free: 7.781 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.095e-05/0.1053, allocations: 192 / 493.4 MB, free: 7.781 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.099e-05/0.1053, allocations: 34.69 kB / 493.4 MB, free: 7.738 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.43e-05/0.1053, allocations: 4.891 kB / 493.4 MB, free: 7.734 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001977/0.1055, allocations: 126.5 kB / 493.5 MB, free: 7.586 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.408e-06/0.1055, allocations: 8.375 kB / 493.5 MB, free: 7.578 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.977e-05/0.1056, allocations: 4.328 kB / 493.6 MB, free: 7.574 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.587e-05/0.1057, allocations: 49.61 kB / 493.6 MB, free: 7.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.1057, allocations: 0 / 493.6 MB, free: 7.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.443e-06/0.1057, allocations: 0 / 493.6 MB, free: 7.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.1057, allocations: 4 kB / 493.6 MB, free: 7.516 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.789e-05/0.1057, allocations: 23.98 kB / 493.6 MB, free: 7.492 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001785/0.1059, allocations: 140.7 kB / 493.8 MB, free: 7.312 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002365/0.1062, allocations: 74.52 kB / 493.8 MB, free: 7.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.878e-05/0.1062, allocations: 20.94 kB / 493.9 MB, free: 7.207 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.829e-05/0.1062, allocations: 15.92 kB / 493.9 MB, free: 7.191 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.1063, allocations: 34.56 kB / 493.9 MB, free: 7.148 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.1063, allocations: 0 / 493.9 MB, free: 7.148 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.002215/0.1085, allocations: 0.5908 MB / 494.5 MB, free: 6.551 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.527e-05/0.1085, allocations: 59.39 kB / 494.6 MB, free: 6.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.1086, allocations: 133.8 kB / 494.7 MB, free: 6.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.351e-05/0.1087, allocations: 25.7 kB / 494.7 MB, free: 6.309 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.909e-05/0.1087, allocations: 92.12 kB / 494.8 MB, free: 6.215 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.107e-05/0.1088, allocations: 15.78 kB / 494.8 MB, free: 6.199 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.906e-05/0.1089, allocations: 41.69 kB / 494.9 MB, free: 6.152 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.109, allocations: 322.8 kB / 495.2 MB, free: 5.828 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002553/0.1093, allocations: 151.9 kB / 495.3 MB, free: 5.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002506/0.1095, allocations: 167.7 kB / 495.5 MB, free: 5.516 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004986/0.11, allocations: 316.6 kB / 495.8 MB, free: 5.203 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.11, allocations: 0 / 495.8 MB, free: 5.203 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0006173/0.1106, allocations: 369.2 kB / 496.2 MB, free: 4.836 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.1107, allocations: 8 kB / 496.2 MB, free: 4.828 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.1107, allocations: 0 / 496.2 MB, free: 4.828 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.1107, allocations: 0 / 496.2 MB, free: 4.828 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00021/0.1109, allocations: 31.95 kB / 496.2 MB, free: 4.797 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.309e-06/0.1109, allocations: 0 / 496.2 MB, free: 4.797 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001349/0.111, allocations: 4 kB / 496.2 MB, free: 4.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.244e-05/0.1111, allocations: 31.98 kB / 496.2 MB, free: 4.762 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.0001158/0.1112, allocations: 129.7 kB / 496.4 MB, free: 4.625 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.2e-05/0.1112, allocations: 3.953 kB / 496.4 MB, free: 4.621 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005047/0.1117, allocations: 281.4 kB / 496.6 MB, free: 4.336 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.1117, allocations: 0 / 496.6 MB, free: 4.336 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1117, allocations: 0 / 496.6 MB, free: 4.336 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1117, allocations: 4 kB / 496.6 MB, free: 4.332 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.1128, allocations: 0.5663 MB / 497.2 MB, free: 3.715 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.1128, allocations: 4.344 kB / 497.2 MB, free: 3.711 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001577/0.1129, allocations: 19.98 kB / 497.2 MB, free: 3.691 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.1129, allocations: 7.984 kB / 497.2 MB, free: 3.684 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.873e-05/0.113, allocations: 4 kB / 497.2 MB, free: 3.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-06/0.113, allocations: 7.938 kB / 497.2 MB, free: 3.672 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.113, allocations: 0 / 497.2 MB, free: 3.672 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004488/0.1134, allocations: 336.1 kB / 497.6 MB, free: 3.324 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.382e-05/0.1134, allocations: 8 kB / 497.6 MB, free: 3.316 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.664e-05/0.1135, allocations: 0 / 497.6 MB, free: 3.316 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/0.1136, allocations: 4 kB / 497.6 MB, free: 3.312 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.663e-05/0.1136, allocations: 11.98 kB / 497.6 MB, free: 3.301 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.247e-05/0.1137, allocations: 23.92 kB / 497.6 MB, free: 3.277 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.831e-05/0.1137, allocations: 99.2 kB / 497.7 MB, free: 3.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1137, allocations: 0 / 497.7 MB, free: 3.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002834/0.114, allocations: 35.92 kB / 497.8 MB, free: 3.145 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.0008427/0.1149, allocations: 0.8382 MB / 498.6 MB, free: 2.277 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003599/0.1152, allocations: 215.8 kB / 498.8 MB, free: 2.066 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.1152, allocations: 4 kB / 498.8 MB, free: 2.062 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001413/0.1154, allocations: 83.95 kB / 498.9 MB, free: 1.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003073/0.1157, allocations: 13.62 kB / 498.9 MB, free: 1.969 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002531/0.1182, allocations: 2.178 MB / 0.4893 GB, free: 15.71 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000328/0.1185, allocations: 0.6885 MB / 0.49 GB, free: 14.99 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.066e-05/0.1186, allocations: 20.12 kB / 0.49 GB, free: 14.97 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.1187, allocations: 39.41 kB / 0.4901 GB, free: 14.93 MB / 366.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1187, allocations: 0 / 0.4901 GB, free: 14.93 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02228/0.141, allocations: 3.213 MB / 0.4932 GB, free: 11.89 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_DIRECTORY: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc -- SUNDIALS_CVODE_LIBRARY: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so -- SUNDIALS_NVECSERIAL_LIBRARY: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so -- CVODE: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so -- Not using FMI2_FUNCTION_PREFIX -- Installing dynamic dependencies from list: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so;/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so -- 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 [ 14%] Building C object CMakeFiles/508.dir/external_solvers/dtrmm.c.o [ 15%] Building C object CMakeFiles/508.dir/external_solvers/dtrmv.c.o [ 16%] Building C object CMakeFiles/508.dir/external_solvers/dtrsm.c.o [ 17%] Building C object CMakeFiles/508.dir/external_solvers/dtrti2.c.o [ 18%] Building C object CMakeFiles/508.dir/external_solvers/dtrtri.c.o [ 19%] 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 [ 28%] Building C object CMakeFiles/508.dir/external_solvers/qform_.c.o [ 29%] Building C object CMakeFiles/508.dir/external_solvers/qrfac_.c.o [ 30%] Building C object CMakeFiles/508.dir/external_solvers/r1mpyq_.c.o [ 31%] Building C object CMakeFiles/508.dir/external_solvers/r1updt_.c.o [ 32%] Building C object CMakeFiles/508.dir/external_solvers/s_cat.c.o [ 33%] Building C object CMakeFiles/508.dir/external_solvers/s_cmp.c.o [ 34%] Building C object CMakeFiles/508.dir/external_solvers/s_copy.c.o [ 35%] Building C object CMakeFiles/508.dir/external_solvers/xerbla.c.o [ 36%] Building C object CMakeFiles/508.dir/gc/memory_pool.c.o [ 37%] Building C object CMakeFiles/508.dir/gc/omc_gc.c.o [ 38%] Building C object CMakeFiles/508.dir/math-support/pivot.c.o [ 39%] 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 [ 42%] Building C object CMakeFiles/508.dir/simulation/simulation_info_json.c.o [ 43%] Building C object CMakeFiles/508.dir/simulation/simulation_omc_assert.c.o [ 44%] Building C object CMakeFiles/508.dir/simulation/solver/cvode_solver.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/sundials_error.c.o [ 53%] Building C object CMakeFiles/508.dir/simulation/solver/synchronous.c.o [ 54%] Building C object CMakeFiles/508.dir/util/ModelicaUtilities.c.o [ 55%] Building C object CMakeFiles/508.dir/util/base_array.c.o [ 56%] Building C object CMakeFiles/508.dir/util/boolean_array.c.o [ 57%] 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 [ 61%] Building C object CMakeFiles/508.dir/util/integer_array.c.o [ 62%] Building C object CMakeFiles/508.dir/util/list.c.o [ 63%] Building C object CMakeFiles/508.dir/util/modelica_string.c.o [ 64%] Building C object CMakeFiles/508.dir/util/modelica_string_lit.c.o [ 65%] Building C object CMakeFiles/508.dir/util/omc_error.c.o [ 66%] Building C object CMakeFiles/508.dir/util/omc_file.c.o [ 67%] Building C object CMakeFiles/508.dir/util/omc_init.c.o [ 68%] Building C object CMakeFiles/508.dir/util/omc_mmap.c.o [ 69%] Building C object CMakeFiles/508.dir/util/omc_msvc.c.o [ 70%] Building C object CMakeFiles/508.dir/util/omc_numbers.c.o [ 71%] 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:1238: 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.268666747026145] Failed to read output from testmodel.py, exit status != 0: 8.801322777057067 8.970136359 8.862145223 Calling exit ...