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.002031/0.002031, allocations: 103 kB / 16.45 MB, free: 6.5 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.002343/0.002343, allocations: 216 kB / 19.43 MB, free: 3.656 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.631/1.631, allocations: 230.6 MB / 252.8 MB, free: 8.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.01/0.01, allocations: 1.249 MB / 310.1 MB, free: 3.16 MB / 238.1 MB " [Timeout remaining time 180] 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.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.002971/0.002971, allocations: 67.89 kB / 430.9 MB, free: 17.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.136, allocations: 53.6 MB / 484.5 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic): time 0.003182/0.1392, allocations: 1.239 MB / 485.7 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00168/0.1409, allocations: 0.7052 MB / 486.4 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.229e-05/0.141, allocations: 4 kB / 486.4 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003543/0.1413, allocations: 39.83 kB / 486.5 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005208/0.1418, allocations: 87.64 kB / 486.6 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.23e-06/0.1418, allocations: 0 / 486.6 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001001/0.1419, allocations: 31.8 kB / 486.6 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.34e-05/0.142, allocations: 0 / 486.6 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.939e-05/0.142, allocations: 8 kB / 486.6 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.521e-05/0.1421, allocations: 15.91 kB / 486.6 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.387e-06/0.1421, allocations: 4 kB / 486.6 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000459/0.1426, allocations: 239.3 kB / 486.8 MB, free: 9.898 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.937e-05/0.1426, allocations: 7.984 kB / 486.9 MB, free: 9.891 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.852e-05/0.1427, allocations: 19.86 kB / 486.9 MB, free: 9.871 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003717/0.1431, allocations: 155.8 kB / 487 MB, free: 9.719 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/0.1431, allocations: 0 / 487 MB, free: 9.719 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1431, allocations: 0 / 487 MB, free: 9.719 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.054e-05/0.1431, allocations: 4 kB / 487 MB, free: 9.715 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.0006366/0.1437, allocations: 355.1 kB / 487.4 MB, free: 9.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.415e-05/0.1438, allocations: 16.03 kB / 487.4 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.98e-05/0.1439, allocations: 34.73 kB / 487.4 MB, free: 9.262 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.551e-05/0.1439, allocations: 4.891 kB / 487.4 MB, free: 9.258 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003917/0.1443, allocations: 184.3 kB / 487.6 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.1443, allocations: 384 / 487.6 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.943e-05/0.1443, allocations: 8.328 kB / 487.6 MB, free: 9.031 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.1445, allocations: 49.8 kB / 487.7 MB, free: 8.977 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.1445, allocations: 0 / 487.7 MB, free: 8.977 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.1445, allocations: 0 / 487.7 MB, free: 8.977 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.1445, allocations: 0 / 487.7 MB, free: 8.977 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.684e-05/0.1446, allocations: 35.92 kB / 487.7 MB, free: 8.941 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002838/0.1449, allocations: 173.7 kB / 487.9 MB, free: 8.723 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003193/0.1452, allocations: 62.55 kB / 487.9 MB, free: 8.652 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.096e-05/0.1453, allocations: 20.94 kB / 488 MB, free: 8.629 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.337e-05/0.1453, allocations: 11.98 kB / 488 MB, free: 8.617 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.1453, allocations: 34.5 kB / 488 MB, free: 8.574 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.543e-06/0.1453, allocations: 4 kB / 488 MB, free: 8.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.002508/0.1479, allocations: 0.5947 MB / 488.6 MB, free: 7.969 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.183e-05/0.1479, allocations: 55.41 kB / 488.6 MB, free: 7.902 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/0.1481, allocations: 121.8 kB / 488.8 MB, free: 7.773 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.364e-05/0.1481, allocations: 29.64 kB / 488.8 MB, free: 7.738 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.838e-05/0.1482, allocations: 92.12 kB / 488.9 MB, free: 7.645 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.561e-05/0.1482, allocations: 15.84 kB / 488.9 MB, free: 7.629 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.1483, allocations: 41.67 kB / 488.9 MB, free: 7.582 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.1485, allocations: 322.8 kB / 489.3 MB, free: 7.258 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002688/0.1488, allocations: 155.8 kB / 489.4 MB, free: 7.105 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002664/0.149, allocations: 159.8 kB / 489.6 MB, free: 6.949 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000554/0.1496, allocations: 308.8 kB / 489.9 MB, free: 6.645 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.1496, allocations: 4 kB / 489.9 MB, free: 6.641 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0007204/0.1503, allocations: 373.2 kB / 490.2 MB, free: 6.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.717e-05/0.1503, allocations: 4 kB / 490.2 MB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.1503, allocations: 4 kB / 490.2 MB, free: 6.262 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.652e-05/0.1504, allocations: 0 / 490.2 MB, free: 6.262 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002508/0.1506, allocations: 39.89 kB / 490.3 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.1506, allocations: 0 / 490.3 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001467/0.1508, allocations: 4 kB / 490.3 MB, free: 6.219 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-05/0.1508, allocations: 31.97 kB / 490.3 MB, free: 6.188 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.0001822/0.151, allocations: 121.8 kB / 490.4 MB, free: 6.059 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.677e-05/0.1511, allocations: 11.89 kB / 490.4 MB, free: 6.047 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006366/0.1517, allocations: 281.3 kB / 490.7 MB, free: 5.758 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.1517, allocations: 288 / 490.7 MB, free: 5.758 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.1517, allocations: 0 / 490.7 MB, free: 5.758 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.1517, allocations: 7.984 kB / 490.7 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001261/0.153, allocations: 0.5946 MB / 491.3 MB, free: 5.098 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.742e-06/0.153, allocations: 4 kB / 491.3 MB, free: 5.094 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000184/0.1532, allocations: 27.91 kB / 491.4 MB, free: 5.066 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.1532, allocations: 0 / 491.4 MB, free: 5.066 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.386e-05/0.1532, allocations: 7.984 kB / 491.4 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.1532, allocations: 0 / 491.4 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.1532, allocations: 0 / 491.4 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005645/0.1538, allocations: 340.3 kB / 491.7 MB, free: 4.707 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.789e-05/0.1538, allocations: 81.17 kB / 491.8 MB, free: 4.609 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.22e-05/0.1539, allocations: 4 kB / 491.8 MB, free: 4.605 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/0.154, allocations: 4 kB / 491.8 MB, free: 4.602 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.431e-05/0.1541, allocations: 11.97 kB / 491.8 MB, free: 4.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.723e-05/0.1541, allocations: 16 kB / 491.8 MB, free: 4.574 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001054/0.1542, allocations: 107.1 kB / 491.9 MB, free: 4.469 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1542, allocations: 8 kB / 491.9 MB, free: 4.461 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003538/0.1546, allocations: 27.94 kB / 492 MB, free: 4.434 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.001166/0.1557, allocations: 0.8421 MB / 492.8 MB, free: 3.562 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004612/0.1562, allocations: 215.8 kB / 493 MB, free: 3.352 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.1562, allocations: 0 / 493 MB, free: 3.352 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001305/0.1563, allocations: 83.95 kB / 493.1 MB, free: 3.27 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000294/0.1566, allocations: 4.75 kB / 493.1 MB, free: 3.266 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002904/0.1595, allocations: 2.181 MB / 495.3 MB, free: 1.004 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003619/0.1599, allocations: 0.6885 MB / 496 MB, free: 296 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.391e-05/0.16, allocations: 20 kB / 496 MB, free: 276 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000125/0.1601, allocations: 35.39 kB / 496 MB, free: 240 kB / 350.1 MB Notification: Performance of SimCode: time 1.603e-06/0.1601, allocations: 192 / 496 MB, free: 240 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02968/0.1898, allocations: 3.095 MB / 499.1 MB, free: 13.32 MB / 366.1 MB Error: Error building simulator. Build log: cmd: cd 'FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic.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/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 -- 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_static [ 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 " [Timeout remaining time 653] [Calling sys.exit(0), Time elapsed: 9.319821819197387] Failed to read output from testmodel.py, exit status != 0: 6.728792117908597 6.742051311 6.595870357 Calling exit ...