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.001404/0.001404, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001591/0.001591, allocations: 211.4 kB / 22.24 MB, free: 5.262 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.578/1.578, allocations: 230.6 MB / 256 MB, free: 7.82 MB / 206.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.009937/0.009937, allocations: 1.24 MB / 313.7 MB, free: 1.781 MB / 238.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.002098/0.002098, allocations: 75.89 kB / 436.5 MB, free: 15.8 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1217, allocations: 53.64 MB / 490.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic): time 0.004083/0.1257, allocations: 1.244 MB / 491.4 MB, free: 8.816 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001991/0.1277, allocations: 0.6482 MB / 492 MB, free: 8.164 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.102e-05/0.1278, allocations: 0 / 492 MB, free: 8.164 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000382/0.1282, allocations: 31.91 kB / 492 MB, free: 8.133 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000569/0.1287, allocations: 103.6 kB / 492.1 MB, free: 8.031 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.691e-06/0.1287, allocations: 0 / 492.1 MB, free: 8.031 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001125/0.1289, allocations: 23.91 kB / 492.2 MB, free: 8.008 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.773e-05/0.1289, allocations: 0 / 492.2 MB, free: 8.008 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.007e-05/0.129, allocations: 7.938 kB / 492.2 MB, free: 8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.1291, allocations: 19.86 kB / 492.2 MB, free: 7.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.026e-05/0.1291, allocations: 4 kB / 492.2 MB, free: 7.977 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000434/0.1295, allocations: 171.5 kB / 492.4 MB, free: 7.809 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.811e-05/0.1296, allocations: 11.98 kB / 492.4 MB, free: 7.797 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.435e-05/0.1296, allocations: 7.938 kB / 492.4 MB, free: 7.789 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003716/0.13, allocations: 155.4 kB / 492.5 MB, free: 7.637 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.13, allocations: 0 / 492.5 MB, free: 7.637 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.13, allocations: 0 / 492.5 MB, free: 7.637 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.5e-05/0.13, allocations: 0 / 492.5 MB, free: 7.637 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.0006279/0.1307, allocations: 286 kB / 492.8 MB, free: 7.328 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.465e-05/0.1307, allocations: 8.031 kB / 492.8 MB, free: 7.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.911e-05/0.1308, allocations: 8.891 kB / 492.8 MB, free: 7.312 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003192/0.1311, allocations: 126.5 kB / 493 MB, free: 7.164 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.1311, allocations: 4.375 kB / 493 MB, free: 7.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.472e-05/0.1311, allocations: 4.328 kB / 493 MB, free: 7.156 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.1313, allocations: 53.98 kB / 493 MB, free: 7.098 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.1313, allocations: 0 / 493 MB, free: 7.098 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.1313, allocations: 0 / 493 MB, free: 7.098 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.1313, allocations: 0 / 493 MB, free: 7.098 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001069/0.1314, allocations: 27.98 kB / 493 MB, free: 7.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002434/0.1317, allocations: 113.3 kB / 493.2 MB, free: 6.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003861/0.1321, allocations: 74.48 kB / 493.2 MB, free: 6.848 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.114e-05/0.1321, allocations: 20.94 kB / 493.2 MB, free: 6.824 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.263e-05/0.1322, allocations: 11.98 kB / 493.3 MB, free: 6.812 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.65e-05/0.1322, allocations: 34.5 kB / 493.3 MB, free: 6.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.452e-06/0.1322, allocations: 4 kB / 493.3 MB, free: 6.766 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.003186/0.1354, allocations: 0.6026 MB / 493.9 MB, free: 6.156 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.319e-05/0.1354, allocations: 51.41 kB / 493.9 MB, free: 6.094 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001647/0.1356, allocations: 129.7 kB / 494.1 MB, free: 5.957 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.25e-05/0.1357, allocations: 29.7 kB / 494.1 MB, free: 5.922 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.023e-05/0.1357, allocations: 92.12 kB / 494.2 MB, free: 5.828 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.888e-05/0.1358, allocations: 15.83 kB / 494.2 MB, free: 5.812 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001311/0.1359, allocations: 45.67 kB / 494.3 MB, free: 5.762 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000216/0.1362, allocations: 322.8 kB / 494.6 MB, free: 5.438 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000347/0.1365, allocations: 151.8 kB / 494.7 MB, free: 5.289 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003664/0.1369, allocations: 159.8 kB / 494.9 MB, free: 5.133 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007765/0.1376, allocations: 316.8 kB / 495.2 MB, free: 4.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-06/0.1376, allocations: 0 / 495.2 MB, free: 4.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0009955/0.1386, allocations: 369.3 kB / 495.5 MB, free: 4.453 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.872e-05/0.1387, allocations: 7.938 kB / 495.5 MB, free: 4.445 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.1387, allocations: 0 / 495.5 MB, free: 4.445 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.206e-05/0.1387, allocations: 0 / 495.5 MB, free: 4.445 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003226/0.139, allocations: 31.95 kB / 495.6 MB, free: 4.414 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.437e-05/0.139, allocations: 4 kB / 495.6 MB, free: 4.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001908/0.1392, allocations: 4 kB / 495.6 MB, free: 4.406 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-05/0.1393, allocations: 31.98 kB / 495.6 MB, free: 4.375 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.0001963/0.1395, allocations: 121.8 kB / 495.7 MB, free: 4.246 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.613e-05/0.1396, allocations: 7.891 kB / 495.7 MB, free: 4.238 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008123/0.1404, allocations: 281.4 kB / 496 MB, free: 3.953 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.1404, allocations: 4 kB / 496 MB, free: 3.949 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.1404, allocations: 0 / 496 MB, free: 3.949 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.1404, allocations: 0 / 496 MB, free: 3.949 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001523/0.1419, allocations: 0.52 MB / 496.5 MB, free: 3.391 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.1419, allocations: 4.031 kB / 496.5 MB, free: 3.387 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002161/0.1421, allocations: 23.97 kB / 496.6 MB, free: 3.363 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.1422, allocations: 0 / 496.6 MB, free: 3.363 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.908e-05/0.1422, allocations: 8 kB / 496.6 MB, free: 3.355 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.478e-06/0.1422, allocations: 7.922 kB / 496.6 MB, free: 3.348 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.1422, allocations: 0 / 496.6 MB, free: 3.348 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007186/0.1429, allocations: 340.3 kB / 496.9 MB, free: 2.996 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.502e-05/0.1429, allocations: 11.88 kB / 496.9 MB, free: 2.984 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.031e-05/0.143, allocations: 0 / 496.9 MB, free: 2.984 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002186/0.1432, allocations: 8 kB / 496.9 MB, free: 2.977 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.977e-05/0.1433, allocations: 11.97 kB / 497 MB, free: 2.965 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.483e-05/0.1433, allocations: 19.98 kB / 497 MB, free: 2.945 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001212/0.1434, allocations: 99.27 kB / 497.1 MB, free: 2.848 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1434, allocations: 0 / 497.1 MB, free: 2.848 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000521/0.1439, allocations: 27.94 kB / 497.1 MB, free: 2.82 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.0003921/0.1443, allocations: 119.2 kB / 497.2 MB, free: 2.695 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005562/0.1449, allocations: 211.9 kB / 497.4 MB, free: 2.488 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.092e-06/0.1449, allocations: 4 kB / 497.4 MB, free: 2.484 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001999/0.1451, allocations: 87.89 kB / 497.5 MB, free: 2.398 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000419/0.1455, allocations: 9.812 kB / 497.5 MB, free: 2.391 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006643/0.1462, allocations: 232.3 kB / 497.7 MB, free: 2.137 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001089/0.1463, allocations: 75.33 kB / 497.8 MB, free: 2.043 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001253/0.1464, allocations: 20 kB / 497.8 MB, free: 2.023 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001388/0.1466, allocations: 27.41 kB / 497.9 MB, free: 1.996 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1466, allocations: 0 / 497.9 MB, free: 1.996 MB / 350.1 MB Notification: Performance of Templates: time 0.008067/0.1546, allocations: 1.993 MB / 499.9 MB, free: 36 kB / 350.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: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/jenkins/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/jenkins/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/jenkins/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.8215313591063023] Failed to read output from testmodel.py, exit status != 0: 0.16499289125204086 0.192096665 0.056758057 Calling exit ...