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.001608/0.001608, allocations: 79.44 kB / 19.18 MB, free: 2.516 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.002258/0.002258, allocations: 162.8 kB / 22.46 MB, free: 5.375 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.541/1.541, allocations: 177.1 MB / 202.8 MB, free: 9.168 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.008964/0.008964, allocations: 0.9507 MB / 260.1 MB, free: 15.83 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: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 383 MB, free: 3.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.061e-05/5.262e-05, allocations: 5.938 kB / 383 MB, free: 3.602 MB / 302.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic): time 0.002921/0.002973, allocations: 1.255 MB / 384.3 MB, free: 2.328 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001506/0.00448, allocations: 0.6464 MB / 384.9 MB, free: 1.676 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.69e-05/0.004537, allocations: 3.938 kB / 384.9 MB, free: 1.672 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003492/0.004886, allocations: 27.91 kB / 385 MB, free: 1.645 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004466/0.005332, allocations: 103.4 kB / 385.1 MB, free: 1.543 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.568e-06/0.005337, allocations: 4 kB / 385.1 MB, free: 1.539 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.059e-05/0.005418, allocations: 23.86 kB / 385.1 MB, free: 1.516 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.885e-05/0.005476, allocations: 7.984 kB / 385.1 MB, free: 1.508 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.549e-05/0.005522, allocations: 4 kB / 385.1 MB, free: 1.504 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001102/0.005632, allocations: 15.92 kB / 385.1 MB, free: 1.488 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.147e-05/0.005644, allocations: 0 / 385.1 MB, free: 1.488 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003121/0.005956, allocations: 175.5 kB / 385.3 MB, free: 1.316 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.834e-05/0.006024, allocations: 19.97 kB / 385.3 MB, free: 1.297 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.662e-05/0.006051, allocations: 11.94 kB / 385.3 MB, free: 1.285 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000316/0.006367, allocations: 155.5 kB / 385.5 MB, free: 1.133 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.006372, allocations: 0 / 385.5 MB, free: 1.133 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.006373, allocations: 0 / 385.5 MB, free: 1.133 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.006379, allocations: 0 / 385.5 MB, free: 1.133 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.000473/0.006852, allocations: 274.1 kB / 385.7 MB, free: 0.8359 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.006891, allocations: 8.031 kB / 385.8 MB, free: 0.8281 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.418e-05/0.006926, allocations: 4.938 kB / 385.8 MB, free: 0.8242 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002655/0.007191, allocations: 129.7 kB / 385.9 MB, free: 0.6719 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.758e-06/0.007201, allocations: 384 / 385.9 MB, free: 0.6719 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.00722, allocations: 4.375 kB / 385.9 MB, free: 0.668 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.007343, allocations: 54.17 kB / 385.9 MB, free: 0.6094 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.007358, allocations: 4.172 kB / 385.9 MB, free: 0.6055 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.00737, allocations: 4.375 kB / 386 MB, free: 0.6016 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.007378, allocations: 3.938 kB / 386 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001235/0.007502, allocations: 27.97 kB / 386 MB, free: 0.5703 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001987/0.007701, allocations: 117.3 kB / 386.1 MB, free: 436 kB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002934/0.007994, allocations: 70.53 kB / 386.2 MB, free: 356 kB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.682e-05/0.008041, allocations: 28.81 kB / 386.2 MB, free: 324 kB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.887e-05/0.00809, allocations: 4 kB / 386.2 MB, free: 320 kB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.008121, allocations: 42.56 kB / 386.2 MB, free: 268 kB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.008123, allocations: 0 / 386.2 MB, free: 268 kB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.002599/0.01072, allocations: 0.6258 MB / 386.9 MB, free: 15.63 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.405e-05/0.01078, allocations: 55.41 kB / 386.9 MB, free: 15.56 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001707/0.01095, allocations: 125.8 kB / 387 MB, free: 15.43 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.063e-05/0.01099, allocations: 29.7 kB / 387.1 MB, free: 15.39 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.777e-05/0.01104, allocations: 84.14 kB / 387.2 MB, free: 15.31 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.062e-05/0.0111, allocations: 15.84 kB / 387.2 MB, free: 15.29 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.0112, allocations: 45.67 kB / 387.2 MB, free: 15.24 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001893/0.01139, allocations: 318.8 kB / 387.5 MB, free: 14.92 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002634/0.01166, allocations: 155.8 kB / 387.7 MB, free: 14.77 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002753/0.01193, allocations: 163.8 kB / 387.8 MB, free: 14.61 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005235/0.01245, allocations: 312.6 kB / 388.1 MB, free: 14.3 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.01246, allocations: 0 / 388.1 MB, free: 14.3 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000654/0.01311, allocations: 377.2 kB / 388.5 MB, free: 13.93 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.01313, allocations: 8 kB / 388.5 MB, free: 13.92 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.01314, allocations: 256 / 388.5 MB, free: 13.92 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.01316, allocations: 3.938 kB / 388.5 MB, free: 13.91 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002166/0.01338, allocations: 39.95 kB / 388.6 MB, free: 13.88 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.01339, allocations: 4 kB / 388.6 MB, free: 13.87 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001339/0.01352, allocations: 4 kB / 388.6 MB, free: 13.87 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.882e-05/0.01358, allocations: 35.97 kB / 388.6 MB, free: 13.83 MB / 318.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.0001377/0.01372, allocations: 118.5 kB / 388.7 MB, free: 13.71 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.997e-05/0.01375, allocations: 4 kB / 388.7 MB, free: 13.7 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005419/0.01429, allocations: 293.4 kB / 389 MB, free: 13.41 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.01429, allocations: 7.938 kB / 389 MB, free: 13.4 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.0143, allocations: 0 / 389 MB, free: 13.4 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.0143, allocations: 0 / 389 MB, free: 13.4 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001145/0.01545, allocations: 0.5356 MB / 389.6 MB, free: 12.82 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.01545, allocations: 3.938 kB / 389.6 MB, free: 12.82 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001831/0.01563, allocations: 31.97 kB / 389.6 MB, free: 12.79 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.01564, allocations: 7.969 kB / 389.6 MB, free: 12.78 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.31e-05/0.01566, allocations: 7.984 kB / 389.6 MB, free: 12.77 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.01566, allocations: 0 / 389.6 MB, free: 12.77 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.01567, allocations: 4 kB / 389.6 MB, free: 12.77 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000481/0.01615, allocations: 332.2 kB / 389.9 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.984e-05/0.01617, allocations: 15.86 kB / 389.9 MB, free: 12.41 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.889e-05/0.0162, allocations: 0 / 389.9 MB, free: 12.41 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001458/0.01634, allocations: 8 kB / 390 MB, free: 12.4 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.498e-05/0.01639, allocations: 11.98 kB / 390 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.242e-05/0.01642, allocations: 19.98 kB / 390 MB, free: 12.37 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.082e-05/0.0165, allocations: 99.64 kB / 390.1 MB, free: 12.27 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.0165, allocations: 4 kB / 390.1 MB, free: 12.27 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003108/0.01681, allocations: 35.88 kB / 390.1 MB, free: 12.23 MB / 318.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.000369/0.01718, allocations: 123.4 kB / 390.2 MB, free: 12.11 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004118/0.01759, allocations: 228 kB / 390.5 MB, free: 11.88 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.0176, allocations: 0 / 390.5 MB, free: 11.88 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001408/0.01774, allocations: 83.94 kB / 390.5 MB, free: 11.8 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002519/0.01799, allocations: 12.06 kB / 390.6 MB, free: 11.79 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005426/0.01853, allocations: 233.4 kB / 390.8 MB, free: 11.53 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.718e-05/0.01863, allocations: 71.34 kB / 390.9 MB, free: 11.44 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.302e-05/0.01871, allocations: 27.91 kB / 390.9 MB, free: 11.41 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/0.01883, allocations: 36.47 kB / 390.9 MB, free: 11.38 MB / 318.1 MB Notification: Performance of SimCode: time 3e-07/0.01883, allocations: 0 / 390.9 MB, free: 11.38 MB / 318.1 MB Notification: Performance of Templates: time 0.005416/0.02424, allocations: 1.831 MB / 392.8 MB, free: 9.605 MB / 318.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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/division.h:42: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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/division.h:42: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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/division.h:42: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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/division.h:42: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.5471455231308937] Failed to read output from testmodel.py, exit status != 0: 0.03408809006214142 0.049455431 0.039889608 Calling exit ...