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.001904/0.001904, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002416/0.002416, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.479/1.479, allocations: 230.6 MB / 256 MB, free: 7.785 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.009141/0.009141, allocations: 1.233 MB / 313.7 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="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.002067/0.002067, allocations: 71.89 kB / 436 MB, free: 16.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1059, allocations: 53.64 MB / 489.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic): time 0.00245/0.1084, allocations: 1.243 MB / 490.9 MB, free: 9.293 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001183/0.1095, allocations: 0.6404 MB / 491.5 MB, free: 8.648 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.869e-05/0.1096, allocations: 4 kB / 491.5 MB, free: 8.645 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002571/0.1098, allocations: 31.89 kB / 491.5 MB, free: 8.613 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000341/0.1102, allocations: 99.56 kB / 491.6 MB, free: 8.516 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.238e-06/0.1102, allocations: 0 / 491.6 MB, free: 8.516 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.6e-05/0.1103, allocations: 27.86 kB / 491.7 MB, free: 8.488 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.199e-05/0.1103, allocations: 7.984 kB / 491.7 MB, free: 8.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.422e-05/0.1103, allocations: 4 kB / 491.7 MB, free: 8.477 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.005e-05/0.1104, allocations: 19.84 kB / 491.7 MB, free: 8.457 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.293e-06/0.1104, allocations: 0 / 491.7 MB, free: 8.457 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002945/0.1107, allocations: 175.5 kB / 491.9 MB, free: 8.285 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.165e-05/0.1107, allocations: 11.92 kB / 491.9 MB, free: 8.273 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.461e-05/0.1108, allocations: 15.94 kB / 491.9 MB, free: 8.258 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002551/0.111, allocations: 143.8 kB / 492 MB, free: 8.117 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.111, allocations: 0 / 492 MB, free: 8.117 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.111, allocations: 3.938 kB / 492 MB, free: 8.113 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.111, allocations: 0 / 492 MB, free: 8.113 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.0004306/0.1115, allocations: 282.1 kB / 492.3 MB, free: 7.809 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.1115, allocations: 12.03 kB / 492.3 MB, free: 7.797 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.651e-05/0.1115, allocations: 30.75 kB / 492.3 MB, free: 7.758 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.795e-05/0.1116, allocations: 12.89 kB / 492.4 MB, free: 7.746 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002131/0.1118, allocations: 130.4 kB / 492.5 MB, free: 7.594 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.085e-06/0.1118, allocations: 4.375 kB / 492.5 MB, free: 7.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.308e-05/0.1118, allocations: 8.266 kB / 492.5 MB, free: 7.582 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001031/0.1119, allocations: 49.8 kB / 492.5 MB, free: 7.527 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.1119, allocations: 0 / 492.5 MB, free: 7.527 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.1119, allocations: 4 kB / 492.6 MB, free: 7.523 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1119, allocations: 0 / 492.6 MB, free: 7.523 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.636e-05/0.112, allocations: 31.91 kB / 492.6 MB, free: 7.492 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001852/0.1122, allocations: 136.8 kB / 492.7 MB, free: 7.316 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002616/0.1125, allocations: 74.53 kB / 492.8 MB, free: 7.234 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.487e-05/0.1125, allocations: 20.94 kB / 492.8 MB, free: 7.211 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.214e-05/0.1126, allocations: 4 kB / 492.8 MB, free: 7.207 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.1126, allocations: 38.5 kB / 492.9 MB, free: 7.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.1126, allocations: 0 / 492.9 MB, free: 7.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.002115/0.1147, allocations: 0.5947 MB / 493.4 MB, free: 6.559 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.935e-05/0.1147, allocations: 51.41 kB / 493.5 MB, free: 6.496 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.1149, allocations: 129.8 kB / 493.6 MB, free: 6.359 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.52e-05/0.1149, allocations: 25.7 kB / 493.6 MB, free: 6.328 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.145e-05/0.1149, allocations: 88.14 kB / 493.7 MB, free: 6.238 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.963e-05/0.115, allocations: 15.83 kB / 493.8 MB, free: 6.223 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.826e-05/0.1151, allocations: 49.62 kB / 493.8 MB, free: 6.168 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.1152, allocations: 322.8 kB / 494.1 MB, free: 5.844 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002481/0.1155, allocations: 151.8 kB / 494.3 MB, free: 5.695 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002412/0.1157, allocations: 155.8 kB / 494.4 MB, free: 5.543 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005002/0.1162, allocations: 312.8 kB / 494.7 MB, free: 5.234 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1162, allocations: 0 / 494.7 MB, free: 5.234 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0005883/0.1168, allocations: 369.2 kB / 495.1 MB, free: 4.867 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.1168, allocations: 8 kB / 495.1 MB, free: 4.859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.1168, allocations: 7.969 kB / 495.1 MB, free: 4.852 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.1168, allocations: 0 / 495.1 MB, free: 4.852 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001957/0.117, allocations: 43.78 kB / 495.1 MB, free: 4.809 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.117, allocations: 0 / 495.1 MB, free: 4.809 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001171/0.1172, allocations: 4 kB / 495.1 MB, free: 4.805 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.583e-05/0.1172, allocations: 35.97 kB / 495.2 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.0001098/0.1173, allocations: 113.8 kB / 495.3 MB, free: 4.648 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.259e-05/0.1173, allocations: 11.88 kB / 495.3 MB, free: 4.637 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005178/0.1179, allocations: 277.5 kB / 495.6 MB, free: 4.355 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.1179, allocations: 0 / 495.6 MB, free: 4.355 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1179, allocations: 7.938 kB / 495.6 MB, free: 4.348 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.1179, allocations: 0 / 495.6 MB, free: 4.348 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001055/0.1189, allocations: 0.5468 MB / 496.1 MB, free: 3.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.1189, allocations: 0 / 496.1 MB, free: 3.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001493/0.1191, allocations: 24.2 kB / 496.2 MB, free: 3.727 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.702e-06/0.1191, allocations: 7.984 kB / 496.2 MB, free: 3.719 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.848e-05/0.1191, allocations: 4 kB / 496.2 MB, free: 3.715 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1191, allocations: 192 / 496.2 MB, free: 3.715 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.1191, allocations: 4 kB / 496.2 MB, free: 3.711 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004572/0.1196, allocations: 340.1 kB / 496.5 MB, free: 3.359 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.681e-05/0.1196, allocations: 8 kB / 496.5 MB, free: 3.352 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.621e-05/0.1196, allocations: 0 / 496.5 MB, free: 3.352 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00015/0.1198, allocations: 4 kB / 496.5 MB, free: 3.348 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.219e-05/0.1198, allocations: 12.02 kB / 496.5 MB, free: 3.336 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.944e-05/0.1198, allocations: 15.98 kB / 496.5 MB, free: 3.32 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.898e-05/0.1199, allocations: 111.6 kB / 496.6 MB, free: 3.211 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1199, allocations: 7.938 kB / 496.7 MB, free: 3.203 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002708/0.1202, allocations: 23.94 kB / 496.7 MB, free: 3.18 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.0008144/0.121, allocations: 0.846 MB / 497.5 MB, free: 2.305 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003625/0.1214, allocations: 219.8 kB / 497.7 MB, free: 2.09 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1214, allocations: 0 / 497.7 MB, free: 2.09 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001298/0.1215, allocations: 79.95 kB / 497.8 MB, free: 2.012 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002288/0.1217, allocations: 7.938 kB / 497.8 MB, free: 2.004 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002488/0.1242, allocations: 2.18 MB / 0.4883 GB, free: 15.74 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.116e-05/0.1243, allocations: 71.33 kB / 0.4884 GB, free: 15.65 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.745e-05/0.1244, allocations: 28.09 kB / 0.4884 GB, free: 15.62 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001061/0.1245, allocations: 31.41 kB / 0.4884 GB, free: 15.59 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1245, allocations: 0 / 0.4884 GB, free: 15.59 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02946/0.1539, allocations: 3.657 MB / 0.492 GB, free: 12.09 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 [ 12%] Building C object CMakeFiles/508.dir/external_solvers/dscal.c.o [ 13%] 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 [ 25%] Building C object CMakeFiles/508.dir/external_solvers/iparmq.c.o [ 26%] Building C object CMakeFiles/508.dir/external_solvers/lsame.c.o [ 27%] 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/fmi-export/fmu2_model_interface.c.o [ 37%] Building C object CMakeFiles/508.dir/fmi-export/fmu_read_flags.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 [ 41%] Building C object CMakeFiles/508.dir/simulation/arrayIndex.c.o [ 42%] Building C object CMakeFiles/508.dir/simulation/jacobian_util.c.o [ 43%] Building C object CMakeFiles/508.dir/simulation/omc_simulation_util.c.o [ 44%] Building C object CMakeFiles/508.dir/simulation/options.c.o [ 45%] Building C object CMakeFiles/508.dir/simulation/simulation_info_json.c.o [ 46%] Building C object CMakeFiles/508.dir/simulation/simulation_omc_assert.c.o [ 47%] Building C object CMakeFiles/508.dir/simulation/solver/delay.c.o [ 48%] Building C object CMakeFiles/508.dir/simulation/solver/fmi_events.c.o [ 49%] Building C object CMakeFiles/508.dir/simulation/solver/initialization/initialization.c.o [ 50%] Building C object CMakeFiles/508.dir/simulation/solver/model_help.c.o [ 50%] Building C object CMakeFiles/508.dir/simulation/solver/omc_math.c.o [ 51%] Building C object CMakeFiles/508.dir/simulation/solver/spatialDistribution.c.o [ 52%] Building C object CMakeFiles/508.dir/simulation/solver/stateset.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 [ 58%] Building C object CMakeFiles/508.dir/util/division.c.o [ 59%] Building C object CMakeFiles/508.dir/util/doubleEndedList.c.o [ 60%] Building C object CMakeFiles/508.dir/util/generic_array.c.o [ 61%] Building C object CMakeFiles/508.dir/util/index_spec.c.o [ 62%] 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 [ 72%] Building C object CMakeFiles/508.dir/util/rational.c.o [ 73%] Building C object CMakeFiles/508.dir/util/real_array.c.o [ 74%] Building C object CMakeFiles/508.dir/util/ringbuffer.c.o [ 75%] 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:175: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:177: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:177: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:177: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:177: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:177: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:1252: 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: 12.013165928889066] Failed to read output from testmodel.py, exit status != 0: 9.474009974859655 9.686922426 9.572044031 Calling exit ...