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.001693/0.001693, allocations: 100.3 kB / 19.73 MB, free: 2.133 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.002174/0.002174, allocations: 220.5 kB / 23.03 MB, free: 4.945 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.473/1.473, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.009332/0.009332, allocations: 1.232 MB / 314.5 MB, free: 1.766 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.002014/0.002014, allocations: 63.89 kB / 436.8 MB, free: 16.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1028, allocations: 53.64 MB / 490.4 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic): time 0.003052/0.1058, allocations: 1.232 MB / 491.6 MB, free: 9.301 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001184/0.107, allocations: 0.6443 MB / 492.3 MB, free: 8.652 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.656e-05/0.1071, allocations: 0 / 492.3 MB, free: 8.652 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002595/0.1073, allocations: 31.86 kB / 492.3 MB, free: 8.621 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003547/0.1077, allocations: 107.6 kB / 492.4 MB, free: 8.516 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.597e-06/0.1077, allocations: 0 / 492.4 MB, free: 8.516 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.386e-05/0.1078, allocations: 23.92 kB / 492.4 MB, free: 8.492 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.998e-05/0.1078, allocations: 3.984 kB / 492.4 MB, free: 8.488 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.057e-05/0.1078, allocations: 11.88 kB / 492.5 MB, free: 8.477 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.53e-05/0.1079, allocations: 7.984 kB / 492.5 MB, free: 8.469 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.535e-06/0.1079, allocations: 4 kB / 492.5 MB, free: 8.465 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003184/0.1082, allocations: 187.5 kB / 492.7 MB, free: 8.281 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.462e-05/0.1083, allocations: 15.91 kB / 492.7 MB, free: 8.266 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.279e-05/0.1083, allocations: 7.938 kB / 492.7 MB, free: 8.258 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002657/0.1085, allocations: 155.7 kB / 492.8 MB, free: 8.105 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1086, allocations: 4 kB / 492.8 MB, free: 8.102 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1086, allocations: 0 / 492.8 MB, free: 8.102 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.1086, allocations: 0 / 492.8 MB, free: 8.102 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.0003977/0.109, allocations: 282.1 kB / 493.1 MB, free: 7.797 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.109, allocations: 8.031 kB / 493.1 MB, free: 7.789 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.605e-05/0.109, allocations: 8.172 kB / 493.1 MB, free: 7.781 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.953e-05/0.109, allocations: 30.75 kB / 493.2 MB, free: 7.742 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.667e-05/0.1091, allocations: 8.891 kB / 493.2 MB, free: 7.734 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002172/0.1093, allocations: 130.5 kB / 493.3 MB, free: 7.582 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.627e-06/0.1093, allocations: 384 / 493.3 MB, free: 7.582 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.312e-05/0.1093, allocations: 8.328 kB / 493.3 MB, free: 7.574 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/0.1094, allocations: 57.5 kB / 493.4 MB, free: 7.512 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.1094, allocations: 4 kB / 493.4 MB, free: 7.508 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.274e-06/0.1094, allocations: 0 / 493.4 MB, free: 7.508 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.1094, allocations: 0 / 493.4 MB, free: 7.508 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.962e-05/0.1095, allocations: 27.97 kB / 493.4 MB, free: 7.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001765/0.1097, allocations: 136.8 kB / 493.5 MB, free: 7.305 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000241/0.1099, allocations: 66.58 kB / 493.6 MB, free: 7.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.127e-05/0.11, allocations: 24.88 kB / 493.6 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.876e-05/0.11, allocations: 23.91 kB / 493.6 MB, free: 7.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.11, allocations: 30.56 kB / 493.7 MB, free: 7.141 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.11, allocations: 4 kB / 493.7 MB, free: 7.137 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.002224/0.1123, allocations: 0.5947 MB / 494.3 MB, free: 6.535 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.1123, allocations: 55.39 kB / 494.3 MB, free: 6.469 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.1124, allocations: 121.8 kB / 494.4 MB, free: 6.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.113e-05/0.1125, allocations: 25.7 kB / 494.5 MB, free: 6.309 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.665e-05/0.1125, allocations: 88.12 kB / 494.5 MB, free: 6.219 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.836e-05/0.1126, allocations: 19.84 kB / 494.6 MB, free: 6.199 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.985e-05/0.1127, allocations: 41.69 kB / 494.6 MB, free: 6.152 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.1128, allocations: 314.8 kB / 494.9 MB, free: 5.836 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002516/0.113, allocations: 155.8 kB / 495.1 MB, free: 5.684 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002592/0.1133, allocations: 163.8 kB / 495.2 MB, free: 5.523 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004895/0.1138, allocations: 308.6 kB / 495.5 MB, free: 5.219 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1138, allocations: 0 / 495.5 MB, free: 5.219 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0006203/0.1144, allocations: 377.2 kB / 495.9 MB, free: 4.844 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.1144, allocations: 4 kB / 495.9 MB, free: 4.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.1144, allocations: 4 kB / 495.9 MB, free: 4.836 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.1145, allocations: 0 / 495.9 MB, free: 4.836 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002077/0.1147, allocations: 31.95 kB / 495.9 MB, free: 4.805 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.1147, allocations: 3.938 kB / 495.9 MB, free: 4.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001354/0.1148, allocations: 8 kB / 495.9 MB, free: 4.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.278e-05/0.1149, allocations: 24.23 kB / 496 MB, free: 4.77 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.0001069/0.115, allocations: 125.8 kB / 496.1 MB, free: 4.637 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.887e-05/0.115, allocations: 8.234 kB / 496.1 MB, free: 4.629 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005136/0.1155, allocations: 285.4 kB / 496.4 MB, free: 4.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.1155, allocations: 3.984 kB / 496.4 MB, free: 4.336 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1155, allocations: 0 / 496.4 MB, free: 4.336 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.1155, allocations: 3.938 kB / 496.4 MB, free: 4.332 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/0.1165, allocations: 0.5468 MB / 496.9 MB, free: 3.734 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1165, allocations: 0 / 496.9 MB, free: 3.734 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001618/0.1167, allocations: 23.97 kB / 497 MB, free: 3.711 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1167, allocations: 4.031 kB / 497 MB, free: 3.707 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.427e-05/0.1167, allocations: 11.98 kB / 497 MB, free: 3.695 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.1167, allocations: 4 kB / 497 MB, free: 3.691 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1167, allocations: 0 / 497 MB, free: 3.691 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004681/0.1172, allocations: 336.1 kB / 497.3 MB, free: 3.344 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.121e-05/0.1172, allocations: 0 / 497.3 MB, free: 3.344 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.265e-05/0.1172, allocations: 4 kB / 497.3 MB, free: 3.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.1174, allocations: 4 kB / 497.3 MB, free: 3.336 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.156e-05/0.1174, allocations: 15.97 kB / 497.3 MB, free: 3.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.957e-05/0.1174, allocations: 19.92 kB / 497.3 MB, free: 3.301 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.744e-05/0.1175, allocations: 95.7 kB / 497.4 MB, free: 3.207 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1175, allocations: 4 kB / 497.4 MB, free: 3.203 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002843/0.1178, allocations: 35.88 kB / 497.5 MB, free: 3.168 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.0008904/0.1187, allocations: 0.842 MB / 498.3 MB, free: 2.297 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003671/0.1191, allocations: 220.1 kB / 498.5 MB, free: 2.082 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1191, allocations: 0 / 498.5 MB, free: 2.082 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001401/0.1192, allocations: 87.88 kB / 498.6 MB, free: 1.996 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002365/0.1194, allocations: 12 kB / 498.6 MB, free: 1.984 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002555/0.122, allocations: 2.173 MB / 0.4891 GB, free: 15.73 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.502e-05/0.1221, allocations: 75.33 kB / 0.4891 GB, free: 15.64 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.124e-05/0.1221, allocations: 24.03 kB / 0.4892 GB, free: 15.61 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.1223, allocations: 43.33 kB / 0.4892 GB, free: 15.57 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1223, allocations: 0 / 0.4892 GB, free: 15.57 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02377/0.146, allocations: 3.296 MB / 0.4924 GB, free: 12.45 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 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic/508.fmutmp/sources/simulation/solver/stateset.c:349:70: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] warningStreamPrint(OMC_LOG_DSS, 1, \"jacobian %dx%d [id: %ld]\", data->simulationInfo->analyticJacobians[set->jacobianIndex].sizeRows, data->simulationInfo->analyticJacobians[set->jacobianIndex].sizeCols, set->jacobianIndex); ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %zu /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic/508.fmutmp/sources/simulation/solver/stateset.c:349:140: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] warningStreamPrint(OMC_LOG_DSS, 1, \"jacobian %dx%d [id: %ld]\", data->simulationInfo->analyticJacobians[set->jacobianIndex].sizeRows, data->simulationInfo->analyticJacobians[set->jacobianIndex].sizeCols, set->jacobianIndex); ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %zu 2 warnings generated. [ 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:213: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:215: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:215: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:215: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:215: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:215: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.627727212035097] Failed to read output from testmodel.py, exit status != 0: 9.0336939599365 9.254057302 8.944095271 Calling exit ...