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: translateModel(FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic") translateModel(FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001768/0.001768, allocations: 117.3 kB / 16.37 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001625/0.001625, allocations: 193.3 kB / 17.31 MB, free: 5.613 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.429/1.429, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.007984/0.007984, allocations: 1.235 MB / 292.4 MB, free: 13.65 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 55.91 kB / 353.8 MB, free: 236 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2945/0.2959, allocations: 49.7 MB / 403.5 MB, free: 35.24 MB / 302.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic): time 0.002568/0.2985, allocations: 1.223 MB / 404.7 MB, free: 34.03 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009129/0.2995, allocations: 0.6692 MB / 405.4 MB, free: 33.36 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.625e-05/0.2995, allocations: 0 / 405.4 MB, free: 33.36 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002699/0.2998, allocations: 31.89 kB / 405.4 MB, free: 33.33 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002967/0.3001, allocations: 95.58 kB / 405.5 MB, free: 33.23 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.789e-06/0.3002, allocations: 0 / 405.5 MB, free: 33.23 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.219e-05/0.3002, allocations: 31.84 kB / 405.5 MB, free: 33.2 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.404e-05/0.3003, allocations: 0 / 405.5 MB, free: 33.2 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.562e-05/0.3003, allocations: 18.36 kB / 405.5 MB, free: 33.19 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.67e-05/0.3004, allocations: 15.92 kB / 405.6 MB, free: 33.17 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.595e-06/0.3004, allocations: 0 / 405.6 MB, free: 33.17 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002756/0.3007, allocations: 219.5 kB / 405.8 MB, free: 32.96 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.538e-05/0.3008, allocations: 7.984 kB / 405.8 MB, free: 32.95 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.868e-05/0.3008, allocations: 19.88 kB / 405.8 MB, free: 32.93 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002424/0.3011, allocations: 157.4 kB / 406 MB, free: 32.78 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.3011, allocations: 3.906 kB / 406 MB, free: 32.78 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3011, allocations: 0 / 406 MB, free: 32.78 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.3011, allocations: 0 / 406 MB, free: 32.78 MB / 302.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.0003881/0.3015, allocations: 359 kB / 406.3 MB, free: 32.38 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.3015, allocations: 11.89 kB / 406.3 MB, free: 32.37 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.56e-05/0.3016, allocations: 8.844 kB / 406.3 MB, free: 32.36 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001795/0.3018, allocations: 180.3 kB / 406.5 MB, free: 32.15 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.808e-06/0.3018, allocations: 384 / 406.5 MB, free: 32.15 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.371e-05/0.3018, allocations: 4.375 kB / 406.5 MB, free: 32.14 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.099e-05/0.3019, allocations: 57.92 kB / 406.6 MB, free: 32.08 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.3019, allocations: 0 / 406.6 MB, free: 32.08 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.916e-06/0.3019, allocations: 0 / 406.6 MB, free: 32.08 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.3019, allocations: 4 kB / 406.6 MB, free: 32.08 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.36e-05/0.302, allocations: 23.97 kB / 406.6 MB, free: 32.05 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001613/0.3022, allocations: 169.7 kB / 406.8 MB, free: 31.84 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002156/0.3024, allocations: 70.53 kB / 406.8 MB, free: 31.76 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.004e-05/0.3024, allocations: 24.8 kB / 406.9 MB, free: 31.73 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.804e-05/0.3025, allocations: 12.08 kB / 406.9 MB, free: 31.72 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.345e-05/0.3025, allocations: 38.5 kB / 406.9 MB, free: 31.68 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 1.312e-06/0.3025, allocations: 0 / 406.9 MB, free: 31.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.001821/0.3043, allocations: 0.6023 MB / 407.5 MB, free: 31.07 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.159e-05/0.3044, allocations: 55.41 kB / 407.6 MB, free: 31 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.669e-05/0.3044, allocations: 129.8 kB / 407.7 MB, free: 30.86 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.3045, allocations: 29.7 kB / 407.7 MB, free: 30.83 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.558e-05/0.3045, allocations: 88.14 kB / 407.8 MB, free: 30.74 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.318e-05/0.3045, allocations: 7.812 kB / 407.8 MB, free: 30.73 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.589e-05/0.3046, allocations: 45.67 kB / 407.9 MB, free: 30.68 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.62e-05/0.3047, allocations: 318.8 kB / 408.2 MB, free: 30.36 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001761/0.3049, allocations: 151.8 kB / 408.3 MB, free: 30.21 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001687/0.305, allocations: 155.8 kB / 408.5 MB, free: 30.06 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003478/0.3054, allocations: 312.6 kB / 408.8 MB, free: 29.75 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.3054, allocations: 3.938 kB / 408.8 MB, free: 29.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004429/0.3058, allocations: 377.1 kB / 409.1 MB, free: 29.37 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.3059, allocations: 8 kB / 409.2 MB, free: 29.36 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.3059, allocations: 0 / 409.2 MB, free: 29.36 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.3059, allocations: 288 / 409.2 MB, free: 29.36 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000192/0.3061, allocations: 31.95 kB / 409.2 MB, free: 29.33 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.523e-06/0.3061, allocations: 0 / 409.2 MB, free: 29.33 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000113/0.3062, allocations: 4.25 kB / 409.2 MB, free: 29.33 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.914e-05/0.3063, allocations: 39.97 kB / 409.2 MB, free: 29.29 MB / 302.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.836e-05/0.3064, allocations: 113.8 kB / 409.3 MB, free: 29.17 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.657e-05/0.3064, allocations: 11.92 kB / 409.4 MB, free: 29.16 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003952/0.3068, allocations: 285.3 kB / 409.6 MB, free: 28.87 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.3068, allocations: 3.984 kB / 409.6 MB, free: 28.86 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.3068, allocations: 4 kB / 409.6 MB, free: 28.86 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.3068, allocations: 0 / 409.6 MB, free: 28.86 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008188/0.3077, allocations: 0.5944 MB / 410.2 MB, free: 28.2 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.3077, allocations: 0 / 410.2 MB, free: 28.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001327/0.3078, allocations: 23.97 kB / 410.3 MB, free: 28.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.3078, allocations: 4.031 kB / 410.3 MB, free: 28.17 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.952e-05/0.3079, allocations: 7.984 kB / 410.3 MB, free: 28.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.3079, allocations: 4 kB / 410.3 MB, free: 28.16 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3079, allocations: 0 / 410.3 MB, free: 28.16 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003224/0.3082, allocations: 328.1 kB / 410.6 MB, free: 27.82 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.467e-05/0.3082, allocations: 85.02 kB / 410.7 MB, free: 27.72 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.857e-05/0.3083, allocations: 7.984 kB / 410.7 MB, free: 27.71 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.3084, allocations: 8 kB / 410.7 MB, free: 27.7 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.77e-05/0.3084, allocations: 11.98 kB / 410.7 MB, free: 27.69 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.206e-05/0.3085, allocations: 15.98 kB / 410.7 MB, free: 27.68 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.265e-05/0.3085, allocations: 99.27 kB / 410.8 MB, free: 27.58 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3085, allocations: 0 / 410.8 MB, free: 27.58 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002624/0.3088, allocations: 27.94 kB / 410.8 MB, free: 27.55 MB / 302.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.0002452/0.309, allocations: 135.1 kB / 411 MB, free: 27.41 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002647/0.3093, allocations: 223.7 kB / 411.2 MB, free: 27.19 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3093, allocations: 0 / 411.2 MB, free: 27.19 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.835e-05/0.3094, allocations: 80.27 kB / 411.3 MB, free: 27.11 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002375/0.3097, allocations: 11.98 kB / 411.3 MB, free: 27.1 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004201/0.3101, allocations: 220.2 kB / 411.5 MB, free: 26.86 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001706/0.3103, allocations: 0.6924 MB / 412.2 MB, free: 26.14 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.976e-05/0.3103, allocations: 23.84 kB / 412.2 MB, free: 26.12 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.634e-05/0.3104, allocations: 23.41 kB / 412.2 MB, free: 26.09 MB / 302.1 MB Notification: Performance of SimCode: time 2e-07/0.3104, allocations: 0 / 412.2 MB, free: 26.09 MB / 302.1 MB Notification: Performance of Templates: time 0.004032/0.3145, allocations: 1.897 MB / 414.1 MB, free: 24.23 MB / 302.1 MB make -j1 -f FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic.makefile 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:212: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:214:224: error: invalid operands to binary expression ('real_array' (aka 'struct base_array_s') and 'real_array') tmp20 = (((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(tmp7 - (tmp8),tmp9 - (tmp10),"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))) * (tmp11 - (tmp12) - (tmp13 - (tmp14))),(tmp17 * tmp17),"(material.Hk[$cse1] - material.Hk[$cse1 - 1]) ^ 2.0",equationIndexes)) * (fabs((data->localData[0]->realVars[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:214:238: error: invalid operands to binary expression ('real_array' (aka 'struct base_array_s') and 'real_array') tmp20 = (((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(tmp7 - (tmp8),tmp9 - (tmp10),"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))) * (tmp11 - (tmp12) - (tmp13 - (tmp14))),(tmp17 * tmp17),"(material.Hk[$cse1] - material.Hk[$cse1 - 1]) ^ 2.0",equationIndexes)) * (fabs((data->localData[0]->realVars[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:214:720: error: invalid operands to binary expression ('real_array' (aka 'struct base_array_s') and 'real_array') tmp20 = (((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(tmp7 - (tmp8),tmp9 - (tmp10),"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))) * (tmp11 - (tmp12) - (tmp13 - (tmp14))),(tmp17 * tmp17),"(material.Hk[$cse1] - material.Hk[$cse1 - 1]) ^ 2.0",equationIndexes)) * (fabs((data->localData[0]->realVars[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:214:739: error: invalid operands to binary expression ('real_array' (aka 'struct base_array_s') and 'real_array') tmp20 = (((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(tmp7 - (tmp8),tmp9 - (tmp10),"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))) * (tmp11 - (tmp12) - (tmp13 - (tmp14))),(tmp17 * tmp17),"(material.Hk[$cse1] - material.Hk[$cse1 - 1]) ^ 2.0",equationIndexes)) * (fabs((data->localData[0]->realVars[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:214:902: error: invalid operands to binary expression ('double' and 'real_array' (aka 'struct base_array_s')) tmp20 = (((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(tmp7 - (tmp8),tmp9 - (tmp10),"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))) * (tmp11 - (tmp12) - (tmp13 - (tmp14))),(tmp17 * tmp17),"(material.Hk[$cse1] - material.Hk[$cse1 - 1]) ^ 2.0",equationIndexes)) * (fabs((data->localData[0]->realVars[3] /* H DUMMY_STATE */)) - (tmp18))); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~ 6 errors generated. make: *** [: FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic.o] Error 1