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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo", uses=false) Using package FluxTubesExtension with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005926/0.005926, allocations: 100.1 kB / 15.73 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 195.6 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.008074/0.008074, allocations: 1.232 MB / 291.8 MB, free: 13.63 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00209/0.00209, allocations: 65.02 kB / 402.8 MB, free: 32.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1058, allocations: 49.7 MB / 452.5 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic): time 0.002598/0.1084, allocations: 1.226 MB / 453.7 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00115/0.1096, allocations: 0.6662 MB / 454.4 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.769e-05/0.1097, allocations: 0 / 454.4 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002918/0.11, allocations: 31.89 kB / 454.4 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004008/0.1104, allocations: 103.4 kB / 454.5 MB, free: 12.26 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.546e-06/0.1104, allocations: 4 kB / 454.5 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.134e-05/0.1105, allocations: 23.91 kB / 454.5 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.846e-05/0.1106, allocations: 0 / 454.5 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.036e-05/0.1107, allocations: 23.86 kB / 454.6 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.938e-05/0.1108, allocations: 7.984 kB / 454.6 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.152e-05/0.1108, allocations: 4 kB / 454.6 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003809/0.1112, allocations: 223.4 kB / 454.8 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.003e-05/0.1112, allocations: 11.98 kB / 454.8 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.28e-05/0.1113, allocations: 15.88 kB / 454.8 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002976/0.1116, allocations: 158.4 kB / 455 MB, free: 11.8 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1116, allocations: 0 / 455 MB, free: 11.8 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1116, allocations: 0 / 455 MB, free: 11.8 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.1116, allocations: 0 / 455 MB, free: 11.8 MB / 334.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.0004531/0.1121, allocations: 352.2 kB / 455.3 MB, free: 11.41 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.1121, allocations: 15.89 kB / 455.3 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.734e-05/0.1122, allocations: 30.75 kB / 455.4 MB, free: 11.35 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.291e-05/0.1122, allocations: 8.844 kB / 455.4 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002392/0.1124, allocations: 188.2 kB / 455.6 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.712e-06/0.1125, allocations: 384 / 455.6 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.56e-05/0.1125, allocations: 4.359 kB / 455.6 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001102/0.1126, allocations: 53.75 kB / 455.6 MB, free: 11.06 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.1126, allocations: 0 / 455.6 MB, free: 11.06 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.1126, allocations: 0 / 455.6 MB, free: 11.06 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.1126, allocations: 0 / 455.6 MB, free: 11.06 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.359e-05/0.1127, allocations: 39.91 kB / 455.7 MB, free: 11.02 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001845/0.1129, allocations: 165.7 kB / 455.8 MB, free: 10.81 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002526/0.1132, allocations: 74.47 kB / 455.9 MB, free: 10.73 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.768e-05/0.1132, allocations: 16.95 kB / 455.9 MB, free: 10.71 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.686e-05/0.1133, allocations: 11.98 kB / 455.9 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.132e-05/0.1133, allocations: 34.5 kB / 455.9 MB, free: 10.65 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.1133, allocations: 4 kB / 456 MB, free: 10.65 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.002121/0.1154, allocations: 0.6065 MB / 456.6 MB, free: 10.04 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/0.1155, allocations: 51.41 kB / 456.6 MB, free: 9.973 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.1156, allocations: 129.8 kB / 456.7 MB, free: 9.836 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.1156, allocations: 25.7 kB / 456.8 MB, free: 9.805 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.292e-05/0.1157, allocations: 84.14 kB / 456.8 MB, free: 9.719 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.093e-05/0.1157, allocations: 19.75 kB / 456.9 MB, free: 9.699 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.973e-05/0.1158, allocations: 41.67 kB / 456.9 MB, free: 9.652 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.1159, allocations: 318.8 kB / 457.2 MB, free: 9.332 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002276/0.1162, allocations: 155.8 kB / 457.4 MB, free: 9.18 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002171/0.1164, allocations: 155.8 kB / 457.5 MB, free: 9.027 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004368/0.1168, allocations: 308.6 kB / 457.8 MB, free: 8.723 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.1169, allocations: 0 / 457.8 MB, free: 8.723 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0005465/0.1174, allocations: 377.1 kB / 458.2 MB, free: 8.348 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.1174, allocations: 4 kB / 458.2 MB, free: 8.344 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.1174, allocations: 0 / 458.2 MB, free: 8.344 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.217e-05/0.1175, allocations: 4 kB / 458.2 MB, free: 8.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001874/0.1177, allocations: 32.2 kB / 458.2 MB, free: 8.309 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.1177, allocations: 4 kB / 458.2 MB, free: 8.305 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001192/0.1178, allocations: 12 kB / 458.2 MB, free: 8.293 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.106e-05/0.1179, allocations: 27.97 kB / 458.3 MB, free: 8.266 MB / 334.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.0001127/0.118, allocations: 117.8 kB / 458.4 MB, free: 8.141 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.26e-05/0.118, allocations: 7.938 kB / 458.4 MB, free: 8.133 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004753/0.1185, allocations: 293.2 kB / 458.7 MB, free: 7.836 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.1185, allocations: 0 / 458.7 MB, free: 7.836 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.1185, allocations: 0 / 458.7 MB, free: 7.836 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.1185, allocations: 7.938 kB / 458.7 MB, free: 7.828 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009675/0.1195, allocations: 0.5906 MB / 459.3 MB, free: 7.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.1195, allocations: 0 / 459.3 MB, free: 7.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001468/0.1197, allocations: 27.97 kB / 459.3 MB, free: 7.152 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.1197, allocations: 0 / 459.3 MB, free: 7.152 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.288e-05/0.1197, allocations: 11.98 kB / 459.3 MB, free: 7.141 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.1197, allocations: 0 / 459.3 MB, free: 7.141 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.1197, allocations: 0 / 459.3 MB, free: 7.141 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004324/0.1202, allocations: 336.1 kB / 459.6 MB, free: 6.793 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.652e-05/0.1202, allocations: 85 kB / 459.7 MB, free: 6.691 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.718e-05/0.1203, allocations: 4 kB / 459.7 MB, free: 6.688 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.1204, allocations: 4 kB / 459.7 MB, free: 6.684 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.193e-05/0.1205, allocations: 7.984 kB / 459.7 MB, free: 6.676 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.31e-05/0.1205, allocations: 19.98 kB / 459.8 MB, free: 6.656 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.375e-05/0.1206, allocations: 99.2 kB / 459.9 MB, free: 6.559 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.1206, allocations: 4 kB / 459.9 MB, free: 6.555 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003115/0.1209, allocations: 32 kB / 459.9 MB, free: 6.523 MB / 334.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.0008706/0.1218, allocations: 0.85 MB / 460.7 MB, free: 5.645 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003745/0.1222, allocations: 215.9 kB / 461 MB, free: 5.434 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.1222, allocations: 3.938 kB / 461 MB, free: 5.43 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001313/0.1223, allocations: 87.88 kB / 461 MB, free: 5.344 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002484/0.1226, allocations: 10.66 kB / 461.1 MB, free: 5.336 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002194/0.1248, allocations: 2.173 MB / 463.2 MB, free: 3.078 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002236/0.125, allocations: 0.6884 MB / 463.9 MB, free: 2.363 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.363e-05/0.1251, allocations: 28.11 kB / 463.9 MB, free: 2.336 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.1252, allocations: 35.34 kB / 464 MB, free: 2.301 MB / 334.1 MB Notification: Performance of SimCode: time 7.01e-07/0.1252, allocations: 0 / 464 MB, free: 2.301 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03416/0.1594, allocations: 3.068 MB / 467 MB, free: 15.4 MB / 350.1 MB Error: Error building simulator. Build log: cmd: cd 'FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic.fmutmp/sources/' && mkdir build_cmake_dynamic && cd build_cmake_dynamic && cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER='clang' -DCMAKE_CXX_COMPILER='clang++ -std=c++17' .. && cmake --build . --parallel -j1 --target install && cd .. && rm -rf build_cmake_dynamic -- 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/OpenModelica/OMCompiler/build/bin/../include/omc/c/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/FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic.fmutmp/sources/../binaries/linux64 -- CVODE: Not linked -- Not using FMI2_FUNCTION_PREFIX -- Installing dynamic dependencies from list: -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_COMPILER -- Build files have been written to: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic/FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic.fmutmp/sources/build_cmake_dynamic [ 1%] Building C object CMakeFiles/FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic.dir/gc/memory_pool.c.o [ 2%] Building C object CMakeFiles/FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic.dir/gc/omc_gc.c.o [ 4%] Building C object CMakeFiles/FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic.dir/math-support/pivot.c.o [ 5%] Building C object CMakeFiles/FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic.dir/meta/meta_modelica_catch.c.o [ 7%] Building C object CMakeFiles/FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic.dir/simulation/jacobian_util.c.o [ 8%] Building C object CMakeFiles/FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic.dir/simulation/omc_simulation_util.c.o [ 10%] Building C object CMakeFiles/FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic.dir/simulation/options.c.o [ 11%] Building C object CMakeFiles/FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic.dir/simulation/simulation_info_json.c.o [ 13%] Building C object CMakeFiles/FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic.dir/simulation/simulation_omc_assert.c.o [ 14%] Building C object CMakeFiles/FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic.dir/simulation/solver/delay.c.o [ 16%] Building C object CMakeFiles/FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic.dir/simulation/solver/fmi_events.c.o [ 17%] Building C object CMakeFiles/FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic.dir/simulation/solver/initialization/initialization.c.o [ 19%] Building C object CMakeFiles/FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic.dir/simulation/solver/model_help.c.o [ 20%] Building C object CMakeFiles/FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic.dir/simulation/solver/omc_math.c.o [ 22%] Building C object CMakeFiles/FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic.dir/simulation/solver/spatialDistribution.c.o [ 23%] Building C object CMakeFiles/FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic.dir/simulation/solver/stateset.c.o [ 25%] Building C object CMakeFiles/FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic.dir/simulation/solver/synchronous.c.o [ 26%] Building C object CMakeFiles/FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic.dir/util/ModelicaUtilities.c.o [ 28%] Building C object CMakeFiles/FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic.dir/util/base_array.c.o [ 29%] Building C object CMakeFiles/FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic.dir/util/boolean_array.c.o [ 31%] Building C object CMakeFiles/FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic.dir/util/context.c.o [ 32%] Building C object CMakeFiles/FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic.dir/util/division.c.o [ 34%] Building C object CMakeFiles/FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic.dir/util/doubleEndedList.c.o [ 35%] Building C object CMakeFiles/FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic.dir/util/generic_array.c.o [ 37%] Building C object CMakeFiles/FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic.dir/util/index_spec.c.o [ 38%] Building C object CMakeFiles/FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic.dir/util/integer_array.c.o [ 40%] Building C object CMakeFiles/FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic.dir/util/list.c.o [ 41%] Building C object CMakeFiles/FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic.dir/util/modelica_string.c.o [ 43%] Building C object CMakeFiles/FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic.dir/util/modelica_string_lit.c.o [ 44%] Building C object CMakeFiles/FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic.dir/util/omc_error.c.o [ 46%] Building C object CMakeFiles/FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic.dir/util/omc_file.c.o [ 47%] Building C object CMakeFiles/FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic.dir/util/omc_init.c.o [ 49%] Building C object CMakeFiles/FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic.dir/util/omc_mmap.c.o [ 50%] Building C object CMakeFiles/FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic.dir/util/omc_msvc.c.o [ 52%] Building C object CMakeFiles/FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic.dir/util/omc_numbers.c.o [ 53%] Building C object CMakeFiles/FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic.dir/util/parallel_helper.c.o [ 55%] Building C object CMakeFiles/FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic.dir/util/rational.c.o [ 56%] Building C object CMakeFiles/FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic.dir/util/real_array.c.o [ 58%] Building C object CMakeFiles/FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic.dir/util/ringbuffer.c.o [ 59%] Building C object CMakeFiles/FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic.dir/util/simulation_options.c.o [ 61%] Building C object CMakeFiles/FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic.dir/util/string_array.c.o [ 62%] Building C object CMakeFiles/FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic.dir/util/utility.c.o [ 64%] Building C object CMakeFiles/FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic.dir/util/varinfo.c.o [ 65%] Building C object CMakeFiles/FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic.dir/FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic.c.o /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic/FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic.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/FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic.fmutmp/sources/FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic.c:207:224: error: invalid operands to binary expression ('real_array' (aka 'struct base_array_s') and 'real_array') tmp18 = (((modelica_real)sign((data->localData[0]->realVars[3] /* H DUMMY_STATE */)))) * (real_get(_OMC_LIT6, ((data->localData[0]->integerVars[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[3] /* H DUMMY_STATE */))) * (5e4) - (real_get(_OMC_LIT6, ((data->localData[0]->integerVars[0] /* $cse1 DISCRETE */) - ((modelica_integer) 1))-1))) + (DIVISION_SIM((real_get(_OMC_LIT6, ((data->localData[0]->integerVars[0] /* $cse1 DISCRETE */))-1) - (real_get(_OMC_LIT6, ((data->localData[0]->integerVars[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[3] /* H DUMMY_STATE */)) - (tmp16))); ~~~~ ^ ~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic/FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic.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/FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic.fmutmp/sources/FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic.c:207:238: error: invalid operands to binary expression ('real_array' (aka 'struct base_array_s') and 'real_array') tmp18 = (((modelica_real)sign((data->localData[0]->realVars[3] /* H DUMMY_STATE */)))) * (real_get(_OMC_LIT6, ((data->localData[0]->integerVars[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[3] /* H DUMMY_STATE */))) * (5e4) - (real_get(_OMC_LIT6, ((data->localData[0]->integerVars[0] /* $cse1 DISCRETE */) - ((modelica_integer) 1))-1))) + (DIVISION_SIM((real_get(_OMC_LIT6, ((data->localData[0]->integerVars[0] /* $cse1 DISCRETE */))-1) - (real_get(_OMC_LIT6, ((data->localData[0]->integerVars[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[3] /* H DUMMY_STATE */)) - (tmp16))); ~~~~ ^ ~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic/FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic.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/FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic.fmutmp/sources/FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic.c:207:718: error: invalid operands to binary expression ('real_array' (aka 'struct base_array_s') and 'real_array') tmp18 = (((modelica_real)sign((data->localData[0]->realVars[3] /* H DUMMY_STATE */)))) * (real_get(_OMC_LIT6, ((data->localData[0]->integerVars[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[3] /* H DUMMY_STATE */))) * (5e4) - (real_get(_OMC_LIT6, ((data->localData[0]->integerVars[0] /* $cse1 DISCRETE */) - ((modelica_integer) 1))-1))) + (DIVISION_SIM((real_get(_OMC_LIT6, ((data->localData[0]->integerVars[0] /* $cse1 DISCRETE */))-1) - (real_get(_OMC_LIT6, ((data->localData[0]->integerVars[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[3] /* H DUMMY_STATE */)) - (tmp16))); ~~~~ ^ ~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic/FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic.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/FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic.fmutmp/sources/FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic.c:207:737: error: invalid operands to binary expression ('real_array' (aka 'struct base_array_s') and 'real_array') tmp18 = (((modelica_real)sign((data->localData[0]->realVars[3] /* H DUMMY_STATE */)))) * (real_get(_OMC_LIT6, ((data->localData[0]->integerVars[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[3] /* H DUMMY_STATE */))) * (5e4) - (real_get(_OMC_LIT6, ((data->localData[0]->integerVars[0] /* $cse1 DISCRETE */) - ((modelica_integer) 1))-1))) + (DIVISION_SIM((real_get(_OMC_LIT6, ((data->localData[0]->integerVars[0] /* $cse1 DISCRETE */))-1) - (real_get(_OMC_LIT6, ((data->localData[0]->integerVars[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[3] /* H DUMMY_STATE */)) - (tmp16))); ~~~~~ ^ ~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic/FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic.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/FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic.fmutmp/sources/FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic.c:207:900: error: invalid operands to binary expression ('double' and 'real_array' (aka 'struct base_array_s')) tmp18 = (((modelica_real)sign((data->localData[0]->realVars[3] /* H DUMMY_STATE */)))) * (real_get(_OMC_LIT6, ((data->localData[0]->integerVars[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[3] /* H DUMMY_STATE */))) * (5e4) - (real_get(_OMC_LIT6, ((data->localData[0]->integerVars[0] /* $cse1 DISCRETE */) - ((modelica_integer) 1))-1))) + (DIVISION_SIM((real_get(_OMC_LIT6, ((data->localData[0]->integerVars[0] /* $cse1 DISCRETE */))-1) - (real_get(_OMC_LIT6, ((data->localData[0]->integerVars[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[3] /* H DUMMY_STATE */)) - (tmp16))); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~ 6 errors generated. gmake[2]: *** [CMakeFiles/FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic.dir/build.make:678: CMakeFiles/FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic.dir/FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic.c.o] Error 1 gmake[1]: *** [CMakeFiles/Makefile2:84: CMakeFiles/FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic.dir/all] Error 2 gmake: *** [Makefile:136: all] Error 2