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.001555/0.001554, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001915/0.001915, allocations: 193.9 kB / 16.53 MB, free: 6.664 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.387/1.387, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.007838/0.007838, allocations: 1.238 MB / 291.6 MB, free: 1.086 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 63.89 kB / 352.4 MB, free: 1.648 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.2567, allocations: 49.7 MB / 402.1 MB, free: 10.32 MB / 286.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic): time 0.002339/0.2591, allocations: 1.222 MB / 403.4 MB, free: 9.836 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008893/0.26, allocations: 0.6686 MB / 404 MB, free: 9.379 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.717e-05/0.26, allocations: 0 / 404 MB, free: 9.379 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002688/0.2603, allocations: 28.77 kB / 404.1 MB, free: 9.371 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003316/0.2607, allocations: 103.8 kB / 404.2 MB, free: 9.32 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.749e-06/0.2607, allocations: 4 kB / 404.2 MB, free: 9.316 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 6.936e-05/0.2607, allocations: 24.31 kB / 404.2 MB, free: 9.305 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.016e-05/0.2608, allocations: 2.734 kB / 404.2 MB, free: 9.305 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.619e-05/0.2609, allocations: 16.03 kB / 404.2 MB, free: 9.297 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.041e-05/0.2609, allocations: 15.17 kB / 404.2 MB, free: 9.289 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.789e-06/0.261, allocations: 0.9062 kB / 404.2 MB, free: 9.289 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003664/0.2613, allocations: 214.5 kB / 404.4 MB, free: 9.203 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.608e-05/0.2614, allocations: 12.11 kB / 404.4 MB, free: 9.199 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.943e-05/0.2614, allocations: 16.44 kB / 404.5 MB, free: 9.188 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000265/0.2617, allocations: 154.2 kB / 404.6 MB, free: 9.129 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.2617, allocations: 4 kB / 404.6 MB, free: 9.125 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2617, allocations: 0 / 404.6 MB, free: 9.125 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.2618, allocations: 0.9688 kB / 404.6 MB, free: 9.125 MB / 286.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.000305/0.2621, allocations: 360.5 kB / 405 MB, free: 8.746 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.436e-05/0.2621, allocations: 9.625 kB / 405 MB, free: 8.746 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.274e-05/0.2621, allocations: 31.84 kB / 405 MB, free: 8.707 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.557e-05/0.2622, allocations: 7.484 kB / 405 MB, free: 8.703 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000166/0.2623, allocations: 193 kB / 405.2 MB, free: 8.492 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.644e-06/0.2623, allocations: 384 / 405.2 MB, free: 8.492 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.881e-05/0.2624, allocations: 6.406 kB / 405.2 MB, free: 8.488 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.4e-05/0.2625, allocations: 48.69 kB / 405.3 MB, free: 8.449 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.2625, allocations: 1.672 kB / 405.3 MB, free: 8.449 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.845e-06/0.2625, allocations: 0 / 405.3 MB, free: 8.449 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.2625, allocations: 0.5312 kB / 405.3 MB, free: 8.449 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.61e-05/0.2626, allocations: 30.42 kB / 405.3 MB, free: 8.441 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001321/0.2627, allocations: 169.2 kB / 405.5 MB, free: 8.246 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000217/0.2629, allocations: 73.22 kB / 405.5 MB, free: 8.207 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.201e-05/0.263, allocations: 20.56 kB / 405.5 MB, free: 8.195 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.971e-05/0.263, allocations: 12.12 kB / 405.6 MB, free: 8.191 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.234e-05/0.263, allocations: 35.84 kB / 405.6 MB, free: 8.148 MB / 286.1 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.263, allocations: 0 / 405.6 MB, free: 8.148 MB / 286.1 MB Notification: Performance of matching and sorting (n=5): time 0.002133/0.2652, allocations: 0.5992 MB / 406.2 MB, free: 7.988 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.075e-05/0.2652, allocations: 52.5 kB / 406.2 MB, free: 7.926 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.839e-05/0.2653, allocations: 123.7 kB / 406.4 MB, free: 7.82 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/0.2653, allocations: 29.7 kB / 406.4 MB, free: 7.785 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.587e-05/0.2653, allocations: 88.75 kB / 406.5 MB, free: 7.699 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.24e-05/0.2654, allocations: 19.25 kB / 406.5 MB, free: 7.684 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.604e-05/0.2655, allocations: 39.36 kB / 406.5 MB, free: 7.668 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.568e-05/0.2655, allocations: 318.4 kB / 406.8 MB, free: 7.352 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002369/0.2658, allocations: 155.9 kB / 407 MB, free: 7.316 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002279/0.266, allocations: 153.2 kB / 407.1 MB, free: 7.285 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004664/0.2665, allocations: 320.2 kB / 407.5 MB, free: 7.199 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.2665, allocations: 4 kB / 407.5 MB, free: 7.195 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0005273/0.267, allocations: 373.3 kB / 407.8 MB, free: 7.086 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.2671, allocations: 4.406 kB / 407.8 MB, free: 7.086 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.2671, allocations: 0 / 407.8 MB, free: 7.086 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.2671, allocations: 256 / 407.8 MB, free: 7.086 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002028/0.2673, allocations: 33.08 kB / 407.9 MB, free: 7.086 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.2673, allocations: 4 kB / 407.9 MB, free: 7.082 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001302/0.2674, allocations: 12.75 kB / 407.9 MB, free: 7.074 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.908e-05/0.2675, allocations: 27.44 kB / 407.9 MB, free: 7.074 MB / 286.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 7.336e-05/0.2676, allocations: 123.3 kB / 408 MB, free: 6.949 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.075e-05/0.2676, allocations: 6.562 kB / 408 MB, free: 6.945 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004651/0.2681, allocations: 282 kB / 408.3 MB, free: 6.848 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.2681, allocations: 1.469 kB / 408.3 MB, free: 6.848 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.2681, allocations: 0 / 408.3 MB, free: 6.848 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.2681, allocations: 0.6094 kB / 408.3 MB, free: 6.848 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008743/0.269, allocations: 0.5929 MB / 408.9 MB, free: 6.449 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.269, allocations: 2.266 kB / 408.9 MB, free: 6.449 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001526/0.2692, allocations: 27.47 kB / 408.9 MB, free: 6.445 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.2692, allocations: 1.438 kB / 408.9 MB, free: 6.445 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.949e-05/0.2692, allocations: 11.45 kB / 408.9 MB, free: 6.441 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.2692, allocations: 0.6562 kB / 409 MB, free: 6.441 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.2692, allocations: 5.766 kB / 409 MB, free: 6.438 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003969/0.2696, allocations: 330.8 kB / 409.3 MB, free: 6.246 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.294e-05/0.2696, allocations: 84.17 kB / 409.4 MB, free: 6.148 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.984e-05/0.2697, allocations: 5.984 kB / 409.4 MB, free: 6.145 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000138/0.2698, allocations: 4.641 kB / 409.4 MB, free: 6.145 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.896e-05/0.2699, allocations: 9.188 kB / 409.4 MB, free: 6.145 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.853e-05/0.2699, allocations: 20.05 kB / 409.4 MB, free: 6.141 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.669e-05/0.27, allocations: 104.1 kB / 409.5 MB, free: 6.055 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.27, allocations: 0 / 409.5 MB, free: 6.055 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002875/0.2703, allocations: 28.39 kB / 409.5 MB, free: 6.051 MB / 286.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.0005777/0.2708, allocations: 0.8582 MB / 410.4 MB, free: 5.328 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003125/0.2712, allocations: 221 kB / 410.6 MB, free: 5.289 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2712, allocations: 0 / 410.6 MB, free: 5.289 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001141/0.2713, allocations: 84.91 kB / 410.7 MB, free: 5.273 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002258/0.2715, allocations: 9.312 kB / 410.7 MB, free: 5.27 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001938/0.2735, allocations: 2.174 MB / 412.9 MB, free: 3.848 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001138/0.2736, allocations: 0.6875 MB / 413.6 MB, free: 3.152 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 8.818e-05/0.2737, allocations: 21.36 kB / 413.6 MB, free: 3.145 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001059/0.2738, allocations: 33.3 kB / 413.6 MB, free: 3.129 MB / 286.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2738, allocations: 0 / 413.6 MB, free: 3.129 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01878/0.2926, allocations: 3.039 MB / 416.6 MB, free: 2.688 MB / 286.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 -- 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 */))) * (50000.0) - (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 */))) * (50000.0) - (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:722: 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 */))) * (50000.0) - (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:741: 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 */))) * (50000.0) - (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:904: 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 */))) * (50000.0) - (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