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.001378/0.001378, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.00148/0.00148, allocations: 159.7 kB / 23.01 MB, free: 4.594 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.439/1.439, allocations: 177.2 MB / 203.4 MB, free: 8.988 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension main/package.mo): time 0.008765/0.008765, allocations: 0.9521 MB / 260.7 MB, free: 15.84 MB / 254.1 MB " [Timeout remaining time 180] Using package FluxTubesExtension with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic") translateModel(FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic") [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.002126/0.002126, allocations: 71.89 kB / 383.5 MB, free: 3.863 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1072, allocations: 53.61 MB / 437.1 MB, free: 14.16 MB / 366.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic): time 0.002685/0.1099, allocations: 1.25 MB / 438.4 MB, free: 12.89 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001469/0.1114, allocations: 0.6387 MB / 439 MB, free: 12.25 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.429e-05/0.1114, allocations: 7.938 kB / 439 MB, free: 12.24 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002918/0.1117, allocations: 31.91 kB / 439.1 MB, free: 12.21 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003749/0.1121, allocations: 95.62 kB / 439.2 MB, free: 12.12 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.908e-06/0.1121, allocations: 4 kB / 439.2 MB, free: 12.11 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 8.365e-05/0.1122, allocations: 27.84 kB / 439.2 MB, free: 12.09 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.809e-05/0.1123, allocations: 4 kB / 439.2 MB, free: 12.08 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.023e-05/0.1123, allocations: 7.938 kB / 439.2 MB, free: 12.07 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.73e-05/0.1124, allocations: 11.92 kB / 439.2 MB, free: 12.06 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.496e-06/0.1124, allocations: 0 / 439.2 MB, free: 12.06 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003754/0.1127, allocations: 175.5 kB / 439.4 MB, free: 11.89 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.868e-05/0.1128, allocations: 15.92 kB / 439.4 MB, free: 11.88 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.47e-05/0.1128, allocations: 7.938 kB / 439.4 MB, free: 11.87 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002882/0.1131, allocations: 155.4 kB / 439.6 MB, free: 11.71 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.064e-06/0.1131, allocations: 4 kB / 439.6 MB, free: 11.71 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.1131, allocations: 0 / 439.6 MB, free: 11.71 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.1131, allocations: 0 / 439.6 MB, free: 11.71 MB / 366.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.000499/0.1136, allocations: 282.1 kB / 439.8 MB, free: 11.41 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.1137, allocations: 8.031 kB / 439.8 MB, free: 11.4 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.573e-05/0.1137, allocations: 4.891 kB / 439.9 MB, free: 11.39 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002564/0.114, allocations: 130.4 kB / 440 MB, free: 11.24 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.114, allocations: 8.375 kB / 440 MB, free: 11.23 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.505e-05/0.114, allocations: 4.328 kB / 440 MB, free: 11.23 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001153/0.1141, allocations: 49.98 kB / 440 MB, free: 11.18 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.1141, allocations: 0 / 440 MB, free: 11.18 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.1141, allocations: 4 kB / 440 MB, free: 11.17 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.1141, allocations: 0 / 440 MB, free: 11.17 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.758e-05/0.1142, allocations: 19.98 kB / 440.1 MB, free: 11.15 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000202/0.1144, allocations: 121.3 kB / 440.2 MB, free: 11 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002579/0.1147, allocations: 74.47 kB / 440.3 MB, free: 10.92 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.059e-05/0.1147, allocations: 20.86 kB / 440.3 MB, free: 10.9 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.081e-05/0.1148, allocations: 16.08 kB / 440.3 MB, free: 10.88 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.1148, allocations: 30.56 kB / 440.3 MB, free: 10.84 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 9.61e-07/0.1148, allocations: 0 / 440.3 MB, free: 10.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.002461/0.1172, allocations: 0.6339 MB / 441 MB, free: 10.2 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/0.1173, allocations: 51.41 kB / 441 MB, free: 10.14 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/0.1174, allocations: 126.2 kB / 441.1 MB, free: 10.01 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.059e-05/0.1175, allocations: 25.7 kB / 441.2 MB, free: 9.977 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001461/0.1176, allocations: 88.14 kB / 441.2 MB, free: 9.887 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.403e-05/0.1176, allocations: 19.83 kB / 441.3 MB, free: 9.867 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001305/0.1178, allocations: 49.67 kB / 441.3 MB, free: 9.812 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.118, allocations: 314.8 kB / 441.6 MB, free: 9.496 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002703/0.1182, allocations: 159.8 kB / 441.8 MB, free: 9.34 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002472/0.1185, allocations: 155.8 kB / 441.9 MB, free: 9.188 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005375/0.119, allocations: 316.5 kB / 442.2 MB, free: 8.875 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.119, allocations: 0 / 442.2 MB, free: 8.875 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0006397/0.1197, allocations: 381.3 kB / 442.6 MB, free: 8.496 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.1197, allocations: 7.938 kB / 442.6 MB, free: 8.488 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.1197, allocations: 0 / 442.6 MB, free: 8.488 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.1197, allocations: 0 / 442.6 MB, free: 8.488 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002159/0.1199, allocations: 44.19 kB / 442.7 MB, free: 8.445 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.1199, allocations: 0 / 442.7 MB, free: 8.445 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001287/0.12, allocations: 12 kB / 442.7 MB, free: 8.434 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.525e-05/0.1201, allocations: 31.97 kB / 442.7 MB, free: 8.402 MB / 366.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.0001137/0.1202, allocations: 113.8 kB / 442.8 MB, free: 8.281 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.375e-05/0.1203, allocations: 11.89 kB / 442.8 MB, free: 8.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005404/0.1208, allocations: 297.4 kB / 443.1 MB, free: 7.969 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.1208, allocations: 3.984 kB / 443.1 MB, free: 7.965 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1208, allocations: 0 / 443.1 MB, free: 7.965 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.1208, allocations: 0 / 443.1 MB, free: 7.965 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001113/0.1219, allocations: 0.5242 MB / 443.6 MB, free: 7.402 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.1219, allocations: 0 / 443.6 MB, free: 7.402 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001662/0.1221, allocations: 32 kB / 443.7 MB, free: 7.371 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.1221, allocations: 0 / 443.7 MB, free: 7.371 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.861e-05/0.1221, allocations: 15.98 kB / 443.7 MB, free: 7.355 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.1221, allocations: 0 / 443.7 MB, free: 7.355 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.1221, allocations: 3.938 kB / 443.7 MB, free: 7.352 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006647/0.1228, allocations: 344.1 kB / 444 MB, free: 6.996 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.31e-05/0.1228, allocations: 0 / 444 MB, free: 6.996 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.913e-05/0.1228, allocations: 7.984 kB / 444 MB, free: 6.988 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001381/0.123, allocations: 4 kB / 444 MB, free: 6.984 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.092e-05/0.123, allocations: 15.92 kB / 444.1 MB, free: 6.969 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-05/0.123, allocations: 19.98 kB / 444.1 MB, free: 6.949 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001727/0.1232, allocations: 103.3 kB / 444.2 MB, free: 6.848 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1232, allocations: 4 kB / 444.2 MB, free: 6.844 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003104/0.1235, allocations: 27.94 kB / 444.2 MB, free: 6.816 MB / 366.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.0003318/0.1239, allocations: 115.2 kB / 444.3 MB, free: 6.695 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003935/0.1243, allocations: 224 kB / 444.5 MB, free: 6.477 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1243, allocations: 0 / 444.5 MB, free: 6.477 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001386/0.1244, allocations: 92.06 kB / 444.6 MB, free: 6.387 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002453/0.1246, allocations: 11.88 kB / 444.6 MB, free: 6.375 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005289/0.1252, allocations: 244.2 kB / 444.9 MB, free: 6.109 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.133e-05/0.1253, allocations: 75.33 kB / 444.9 MB, free: 6.016 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.687e-05/0.1254, allocations: 23.98 kB / 445 MB, free: 5.992 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.1255, allocations: 32.47 kB / 445 MB, free: 5.961 MB / 366.1 MB Notification: Performance of SimCode: time 7.51e-07/0.1255, allocations: 4 kB / 445 MB, free: 5.957 MB / 366.1 MB Notification: Performance of Templates: time 0.005457/0.1309, allocations: 1.96 MB / 447 MB, free: 4.035 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic.makefile [Timeout 660] make -j1 -f FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=FluxTubesExtension_FluxTubesExtension_TestRecordFunctionInput_Examples_ShowSoftMagneticCharacteristic -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic.o FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic.c FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic.c:182:19: error: invalid operands to binary expression ('real_array' (aka 'struct base_array_s') and 'real_array') tmp17 = tmp15 - (tmp16); ~~~~~ ^ ~~~~~~~ FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic.c:184:301: error: invalid operands to binary expression ('real_array' (aka 'struct base_array_s') and 'real_array') tmp20 = (((modelica_real)sign((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[3]] /* H DUMMY_STATE */)))) * (real_get(_OMC_LIT6, ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[0]] /* $cse1 DISCRETE */) - ((modelica_integer) 1))-1) + (DIVISION_SIM(tmp7 - (tmp8),tmp9 - (tmp10),"material.Hk[$cse1] - material.Hk[$cse1 - 1]",equationIndexes)) * ((sign((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[3]] /* H DUMMY_STATE */))) * (5e4) - (real_get(_OMC_LIT6, ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[0]] /* $cse1 DISCRETE */) - ((modelica_integer) 1))-1))) + (DIVISION_SIM((real_get(_OMC_LIT6, ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[0]] /* $cse1 DISCRETE */))-1) - (real_get(_OMC_LIT6, ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[0]] /* $cse1 DISCRETE */) - ((modelica_integer) 1))-1))) * (tmp11 - (tmp12) - (tmp13 - (tmp14))),(tmp17 * tmp17),"(material.Hk[$cse1] - material.Hk[$cse1 - 1]) ^ 2.0",equationIndexes)) * (fabs((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[3]] /* H DUMMY_STATE */)) - (tmp18))); ~~~~ ^ ~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/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())) ^ FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic.c:184:315: error: invalid operands to binary expression ('real_array' (aka 'struct base_array_s') and 'real_array') tmp20 = (((modelica_real)sign((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[3]] /* H DUMMY_STATE */)))) * (real_get(_OMC_LIT6, ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[0]] /* $cse1 DISCRETE */) - ((modelica_integer) 1))-1) + (DIVISION_SIM(tmp7 - (tmp8),tmp9 - (tmp10),"material.Hk[$cse1] - material.Hk[$cse1 - 1]",equationIndexes)) * ((sign((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[3]] /* H DUMMY_STATE */))) * (5e4) - (real_get(_OMC_LIT6, ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[0]] /* $cse1 DISCRETE */) - ((modelica_integer) 1))-1))) + (DIVISION_SIM((real_get(_OMC_LIT6, ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[0]] /* $cse1 DISCRETE */))-1) - (real_get(_OMC_LIT6, ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[0]] /* $cse1 DISCRETE */) - ((modelica_integer) 1))-1))) * (tmp11 - (tmp12) - (tmp13 - (tmp14))),(tmp17 * tmp17),"(material.Hk[$cse1] - material.Hk[$cse1 - 1]) ^ 2.0",equationIndexes)) * (fabs((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[3]] /* H DUMMY_STATE */)) - (tmp18))); ~~~~ ^ ~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/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())) ^ FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic.c:184:954: error: invalid operands to binary expression ('real_array' (aka 'struct base_array_s') and 'real_array') tmp20 = (((modelica_real)sign((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[3]] /* H DUMMY_STATE */)))) * (real_get(_OMC_LIT6, ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[0]] /* $cse1 DISCRETE */) - ((modelica_integer) 1))-1) + (DIVISION_SIM(tmp7 - (tmp8),tmp9 - (tmp10),"material.Hk[$cse1] - material.Hk[$cse1 - 1]",equationIndexes)) * ((sign((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[3]] /* H DUMMY_STATE */))) * (5e4) - (real_get(_OMC_LIT6, ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[0]] /* $cse1 DISCRETE */) - ((modelica_integer) 1))-1))) + (DIVISION_SIM((real_get(_OMC_LIT6, ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[0]] /* $cse1 DISCRETE */))-1) - (real_get(_OMC_LIT6, ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[0]] /* $cse1 DISCRETE */) - ((modelica_integer) 1))-1))) * (tmp11 - (tmp12) - (tmp13 - (tmp14))),(tmp17 * tmp17),"(material.Hk[$cse1] - material.Hk[$cse1 - 1]) ^ 2.0",equationIndexes)) * (fabs((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[3]] /* H DUMMY_STATE */)) - (tmp18))); ~~~~~ ^ ~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/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())) ^ FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic.c:184:973: error: invalid operands to binary expression ('real_array' (aka 'struct base_array_s') and 'real_array') tmp20 = (((modelica_real)sign((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[3]] /* H DUMMY_STATE */)))) * (real_get(_OMC_LIT6, ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[0]] /* $cse1 DISCRETE */) - ((modelica_integer) 1))-1) + (DIVISION_SIM(tmp7 - (tmp8),tmp9 - (tmp10),"material.Hk[$cse1] - material.Hk[$cse1 - 1]",equationIndexes)) * ((sign((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[3]] /* H DUMMY_STATE */))) * (5e4) - (real_get(_OMC_LIT6, ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[0]] /* $cse1 DISCRETE */) - ((modelica_integer) 1))-1))) + (DIVISION_SIM((real_get(_OMC_LIT6, ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[0]] /* $cse1 DISCRETE */))-1) - (real_get(_OMC_LIT6, ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[0]] /* $cse1 DISCRETE */) - ((modelica_integer) 1))-1))) * (tmp11 - (tmp12) - (tmp13 - (tmp14))),(tmp17 * tmp17),"(material.Hk[$cse1] - material.Hk[$cse1 - 1]) ^ 2.0",equationIndexes)) * (fabs((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[3]] /* H DUMMY_STATE */)) - (tmp18))); ~~~~~ ^ ~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/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())) ^ FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic.c:184:1173: error: invalid operands to binary expression ('double' and 'real_array' (aka 'struct base_array_s')) tmp20 = (((modelica_real)sign((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[3]] /* H DUMMY_STATE */)))) * (real_get(_OMC_LIT6, ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[0]] /* $cse1 DISCRETE */) - ((modelica_integer) 1))-1) + (DIVISION_SIM(tmp7 - (tmp8),tmp9 - (tmp10),"material.Hk[$cse1] - material.Hk[$cse1 - 1]",equationIndexes)) * ((sign((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[3]] /* H DUMMY_STATE */))) * (5e4) - (real_get(_OMC_LIT6, ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[0]] /* $cse1 DISCRETE */) - ((modelica_integer) 1))-1))) + (DIVISION_SIM((real_get(_OMC_LIT6, ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[0]] /* $cse1 DISCRETE */))-1) - (real_get(_OMC_LIT6, ((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[0]] /* $cse1 DISCRETE */) - ((modelica_integer) 1))-1))) * (tmp11 - (tmp12) - (tmp13 - (tmp14))),(tmp17 * tmp17),"(material.Hk[$cse1] - material.Hk[$cse1 - 1]) ^ 2.0",equationIndexes)) * (fabs((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[3]] /* H DUMMY_STATE */)) - (tmp18))); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~ 6 errors generated. make: *** [: FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic.o] Error 1 [Calling os._exit(0), Time elapsed: 2.59818281698972] Failed to read output from testmodel.py, exit status != 0: 0.14019106898922473 0.30398816100000003 0.187979366 Calling exit ...