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.001134/0.001134, allocations: 107.5 kB / 16.41 MB, free: 6.512 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.00121/0.00121, allocations: 187 kB / 17.34 MB, free: 5.742 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.431/1.431, 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.008011/0.008012, allocations: 1.241 MB / 292.4 MB, free: 13.63 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 59.91 kB / 404 MB, free: 31.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09514/0.09639, allocations: 49.69 MB / 453.7 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic): time 0.002837/0.09927, allocations: 1.241 MB / 454.9 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001267/0.1006, allocations: 0.6624 MB / 455.6 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.223e-05/0.1007, allocations: 0 / 455.6 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002934/0.101, allocations: 35.83 kB / 455.6 MB, free: 11.87 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004438/0.1014, allocations: 99.25 kB / 455.7 MB, free: 11.78 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.28e-06/0.1014, allocations: 0 / 455.7 MB, free: 11.78 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.471e-05/0.1015, allocations: 27.86 kB / 455.7 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.151e-05/0.1016, allocations: 0 / 455.7 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.399e-05/0.1017, allocations: 15.92 kB / 455.7 MB, free: 11.73 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.766e-05/0.1018, allocations: 15.92 kB / 455.7 MB, free: 11.72 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.197e-06/0.1018, allocations: 4 kB / 455.8 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000385/0.1022, allocations: 219.5 kB / 456 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.436e-05/0.1022, allocations: 11.92 kB / 456 MB, free: 11.49 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.521e-05/0.1023, allocations: 15.94 kB / 456 MB, free: 11.47 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003237/0.1026, allocations: 159.5 kB / 456.1 MB, free: 11.32 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.922e-06/0.1026, allocations: 0 / 456.1 MB, free: 11.32 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.1026, allocations: 0 / 456.1 MB, free: 11.32 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.1027, allocations: 0 / 456.1 MB, free: 11.32 MB / 334.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.0004748/0.1031, allocations: 351.3 kB / 456.5 MB, free: 10.93 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.1032, allocations: 12.03 kB / 456.5 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.003e-05/0.1032, allocations: 12.78 kB / 456.5 MB, free: 10.9 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002563/0.1035, allocations: 188.2 kB / 456.7 MB, free: 10.68 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.1035, allocations: 8.359 kB / 456.7 MB, free: 10.67 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.543e-05/0.1036, allocations: 384 / 456.7 MB, free: 10.67 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001075/0.1037, allocations: 49.98 kB / 456.8 MB, free: 10.62 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.1037, allocations: 0 / 456.8 MB, free: 10.62 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.248e-06/0.1037, allocations: 3.938 kB / 456.8 MB, free: 10.61 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.1037, allocations: 4 kB / 456.8 MB, free: 10.61 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.012e-05/0.1038, allocations: 23.97 kB / 456.8 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002047/0.104, allocations: 173.7 kB / 457 MB, free: 10.37 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002747/0.1043, allocations: 74.47 kB / 457 MB, free: 10.29 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.993e-05/0.1043, allocations: 16.95 kB / 457 MB, free: 10.27 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.829e-05/0.1044, allocations: 11.98 kB / 457.1 MB, free: 10.25 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.854e-05/0.1044, allocations: 38.5 kB / 457.1 MB, free: 10.21 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.1044, allocations: 3.938 kB / 457.1 MB, free: 10.2 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.002278/0.1067, allocations: 0.5985 MB / 457.7 MB, free: 9.598 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.111e-05/0.1068, allocations: 51.41 kB / 457.7 MB, free: 9.535 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.1069, allocations: 125.8 kB / 457.9 MB, free: 9.402 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.123e-05/0.1069, allocations: 25.7 kB / 457.9 MB, free: 9.371 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.682e-05/0.107, allocations: 88.14 kB / 458 MB, free: 9.281 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.926e-05/0.1071, allocations: 15.75 kB / 458 MB, free: 9.266 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/0.1072, allocations: 41.67 kB / 458 MB, free: 9.219 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.1073, allocations: 322.8 kB / 458.4 MB, free: 8.895 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002423/0.1076, allocations: 151.8 kB / 458.5 MB, free: 8.746 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002461/0.1078, allocations: 155.8 kB / 458.7 MB, free: 8.594 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004776/0.1083, allocations: 316.5 kB / 459 MB, free: 8.281 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.1083, allocations: 0 / 459 MB, free: 8.281 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0006073/0.1089, allocations: 369.3 kB / 459.3 MB, free: 7.914 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.109, allocations: 4 kB / 459.3 MB, free: 7.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.109, allocations: 256 / 459.3 MB, free: 7.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.109, allocations: 0 / 459.3 MB, free: 7.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002126/0.1092, allocations: 35.95 kB / 459.4 MB, free: 7.875 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.1093, allocations: 8 kB / 459.4 MB, free: 7.867 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001259/0.1094, allocations: 0 / 459.4 MB, free: 7.867 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.635e-05/0.1095, allocations: 39.91 kB / 459.4 MB, free: 7.828 MB / 334.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.000118/0.1096, allocations: 117.8 kB / 459.5 MB, free: 7.703 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.408e-05/0.1096, allocations: 7.844 kB / 459.5 MB, free: 7.695 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005165/0.1101, allocations: 281.4 kB / 459.8 MB, free: 7.41 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.1102, allocations: 4 kB / 459.8 MB, free: 7.406 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.1102, allocations: 0 / 459.8 MB, free: 7.406 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.1102, allocations: 0 / 459.8 MB, free: 7.406 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001136/0.1113, allocations: 0.5984 MB / 460.4 MB, free: 6.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.1114, allocations: 3.938 kB / 460.4 MB, free: 6.746 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001559/0.1115, allocations: 23.97 kB / 460.4 MB, free: 6.723 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/0.1115, allocations: 4 kB / 460.4 MB, free: 6.719 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.306e-05/0.1116, allocations: 7.984 kB / 460.4 MB, free: 6.711 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.1116, allocations: 3.938 kB / 460.5 MB, free: 6.707 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/0.1116, allocations: 3.938 kB / 460.5 MB, free: 6.703 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000458/0.112, allocations: 332.2 kB / 460.8 MB, free: 6.359 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.272e-05/0.1121, allocations: 85 kB / 460.9 MB, free: 6.258 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.15e-05/0.1122, allocations: 4 kB / 460.9 MB, free: 6.254 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001384/0.1123, allocations: 4 kB / 460.9 MB, free: 6.25 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.245e-05/0.1124, allocations: 12.27 kB / 460.9 MB, free: 6.238 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.055e-05/0.1124, allocations: 16.17 kB / 460.9 MB, free: 6.223 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.009e-05/0.1125, allocations: 99.27 kB / 461 MB, free: 6.125 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1125, allocations: 0 / 461 MB, free: 6.125 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003322/0.1128, allocations: 31.94 kB / 461 MB, free: 6.094 MB / 334.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.000376/0.1132, allocations: 123.1 kB / 461.1 MB, free: 5.965 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004036/0.1136, allocations: 223.9 kB / 461.4 MB, free: 5.746 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.1136, allocations: 0 / 461.4 MB, free: 5.746 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001265/0.1138, allocations: 87.88 kB / 461.5 MB, free: 5.66 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000268/0.114, allocations: 12.06 kB / 461.5 MB, free: 5.648 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005527/0.1146, allocations: 257.6 kB / 461.7 MB, free: 5.359 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003281/0.1149, allocations: 0.6846 MB / 462.4 MB, free: 4.648 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/0.1151, allocations: 35.41 kB / 462.4 MB, free: 4.613 MB / 334.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1151, allocations: 0 / 462.4 MB, free: 4.613 MB / 334.1 MB Notification: Performance of Templates: time 0.004794/0.1199, allocations: 1.621 MB / 464.1 MB, free: 3 MB / 334.1 MB make -j1 -f FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic.makefile make -j1 -f FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppFluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristicCalcHelperMain.o OMCppFluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristicCalcHelperMain.cpp In file included from OMCppFluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristicCalcHelperMain.cpp:29: ./OMCppFluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristicInitialize.cpp:210:108: error: called object type 'double' is not a function or function pointer tmp28 = (((double)sgn(_H_)) * ((_functions->_OMC_LIT6)((tmp2 - 1)) + ((division(( _material_P_Bk_(tmp3)(tmp4) - _material_P_Bk_((tmp5 - 1))((tmp6 - 1)) ),( _material_P_Hk_(tmp7)(tmp8) - _material_P_Hk_((tmp9 - 1))((tmp10 - 1)) ),!_initial,"material.Hk[FluxTubesExtension.TestRecordFunctionInput.Material.findInterval(material.Hk, H)] - material.Hk[FluxTubesExtension.TestRecordFunctionInput.Material.findInterval(material.Hk, H) - 1]") * ((sgn(_H_) * __omcQ_24DER_P_H_) - (_functions->_OMC_LIT6)((tmp11 - 1)))) + (division((((_functions->_OMC_LIT6)(tmp12) - (_functions->_OMC_LIT6)((tmp13 - 1))) * (( _material_P_Hk_(tmp14)(tmp15) - _material_P_Hk_((tmp16 - 1))((tmp17 - 1)) ) - ( _material_P_Bk_(tmp18)(tmp19) - _material_P_Bk_((tmp20 - 1))((tmp21 - 1)) ))),std::pow(( _material_P_Hk_(tmp22)(tmp23) - _material_P_Hk_((tmp24 - 1))((tmp25 - 1)) ), 2.0),!_initial,"(material.Hk[FluxTubesExtension.TestRecordFunctionInput.Material.findInterval(material.Hk, H)] - material.Hk[FluxTubesExtension.TestRecordFunctionInput.Material.findInterval(material.Hk, H) - 1]) ^ 2.0") * (std::abs(_H_) - _material_P_Hk_((tmp26 - 1))((tmp27 - 1)) ))))); ~~~~~~~~~~~~~~~~~~~~~^ ./OMCppFluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristicInitialize.cpp:210:146: error: called object type 'double' is not a function or function pointer tmp28 = (((double)sgn(_H_)) * ((_functions->_OMC_LIT6)((tmp2 - 1)) + ((division(( _material_P_Bk_(tmp3)(tmp4) - _material_P_Bk_((tmp5 - 1))((tmp6 - 1)) ),( _material_P_Hk_(tmp7)(tmp8) - _material_P_Hk_((tmp9 - 1))((tmp10 - 1)) ),!_initial,"material.Hk[FluxTubesExtension.TestRecordFunctionInput.Material.findInterval(material.Hk, H)] - material.Hk[FluxTubesExtension.TestRecordFunctionInput.Material.findInterval(material.Hk, H) - 1]") * ((sgn(_H_) * __omcQ_24DER_P_H_) - (_functions->_OMC_LIT6)((tmp11 - 1)))) + (division((((_functions->_OMC_LIT6)(tmp12) - (_functions->_OMC_LIT6)((tmp13 - 1))) * (( _material_P_Hk_(tmp14)(tmp15) - _material_P_Hk_((tmp16 - 1))((tmp17 - 1)) ) - ( _material_P_Bk_(tmp18)(tmp19) - _material_P_Bk_((tmp20 - 1))((tmp21 - 1)) ))),std::pow(( _material_P_Hk_(tmp22)(tmp23) - _material_P_Hk_((tmp24 - 1))((tmp25 - 1)) ), 2.0),!_initial,"(material.Hk[FluxTubesExtension.TestRecordFunctionInput.Material.findInterval(material.Hk, H)] - material.Hk[FluxTubesExtension.TestRecordFunctionInput.Material.findInterval(material.Hk, H) - 1]) ^ 2.0") * (std::abs(_H_) - _material_P_Hk_((tmp26 - 1))((tmp27 - 1)) ))))); ~~~~~~~~~~~~~~~~~~~~~~~~~~~^ ./OMCppFluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristicInitialize.cpp:210:184: error: called object type 'double' is not a function or function pointer tmp28 = (((double)sgn(_H_)) * ((_functions->_OMC_LIT6)((tmp2 - 1)) + ((division(( _material_P_Bk_(tmp3)(tmp4) - _material_P_Bk_((tmp5 - 1))((tmp6 - 1)) ),( _material_P_Hk_(tmp7)(tmp8) - _material_P_Hk_((tmp9 - 1))((tmp10 - 1)) ),!_initial,"material.Hk[FluxTubesExtension.TestRecordFunctionInput.Material.findInterval(material.Hk, H)] - material.Hk[FluxTubesExtension.TestRecordFunctionInput.Material.findInterval(material.Hk, H) - 1]") * ((sgn(_H_) * __omcQ_24DER_P_H_) - (_functions->_OMC_LIT6)((tmp11 - 1)))) + (division((((_functions->_OMC_LIT6)(tmp12) - (_functions->_OMC_LIT6)((tmp13 - 1))) * (( _material_P_Hk_(tmp14)(tmp15) - _material_P_Hk_((tmp16 - 1))((tmp17 - 1)) ) - ( _material_P_Bk_(tmp18)(tmp19) - _material_P_Bk_((tmp20 - 1))((tmp21 - 1)) ))),std::pow(( _material_P_Hk_(tmp22)(tmp23) - _material_P_Hk_((tmp24 - 1))((tmp25 - 1)) ), 2.0),!_initial,"(material.Hk[FluxTubesExtension.TestRecordFunctionInput.Material.findInterval(material.Hk, H)] - material.Hk[FluxTubesExtension.TestRecordFunctionInput.Material.findInterval(material.Hk, H) - 1]) ^ 2.0") * (std::abs(_H_) - _material_P_Hk_((tmp26 - 1))((tmp27 - 1)) ))))); ~~~~~~~~~~~~~~~~~~~~~^ ./OMCppFluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristicInitialize.cpp:210:222: error: called object type 'double' is not a function or function pointer tmp28 = (((double)sgn(_H_)) * ((_functions->_OMC_LIT6)((tmp2 - 1)) + ((division(( _material_P_Bk_(tmp3)(tmp4) - _material_P_Bk_((tmp5 - 1))((tmp6 - 1)) ),( _material_P_Hk_(tmp7)(tmp8) - _material_P_Hk_((tmp9 - 1))((tmp10 - 1)) ),!_initial,"material.Hk[FluxTubesExtension.TestRecordFunctionInput.Material.findInterval(material.Hk, H)] - material.Hk[FluxTubesExtension.TestRecordFunctionInput.Material.findInterval(material.Hk, H) - 1]") * ((sgn(_H_) * __omcQ_24DER_P_H_) - (_functions->_OMC_LIT6)((tmp11 - 1)))) + (division((((_functions->_OMC_LIT6)(tmp12) - (_functions->_OMC_LIT6)((tmp13 - 1))) * (( _material_P_Hk_(tmp14)(tmp15) - _material_P_Hk_((tmp16 - 1))((tmp17 - 1)) ) - ( _material_P_Bk_(tmp18)(tmp19) - _material_P_Bk_((tmp20 - 1))((tmp21 - 1)) ))),std::pow(( _material_P_Hk_(tmp22)(tmp23) - _material_P_Hk_((tmp24 - 1))((tmp25 - 1)) ), 2.0),!_initial,"(material.Hk[FluxTubesExtension.TestRecordFunctionInput.Material.findInterval(material.Hk, H)] - material.Hk[FluxTubesExtension.TestRecordFunctionInput.Material.findInterval(material.Hk, H) - 1]) ^ 2.0") * (std::abs(_H_) - _material_P_Hk_((tmp26 - 1))((tmp27 - 1)) ))))); ~~~~~~~~~~~~~~~~~~~~~~~~~~~^ ./OMCppFluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristicInitialize.cpp:210:632: error: called object type 'double' is not a function or function pointer tmp28 = (((double)sgn(_H_)) * ((_functions->_OMC_LIT6)((tmp2 - 1)) + ((division(( _material_P_Bk_(tmp3)(tmp4) - _material_P_Bk_((tmp5 - 1))((tmp6 - 1)) ),( _material_P_Hk_(tmp7)(tmp8) - _material_P_Hk_((tmp9 - 1))((tmp10 - 1)) ),!_initial,"material.Hk[FluxTubesExtension.TestRecordFunctionInput.Material.findInterval(material.Hk, H)] - material.Hk[FluxTubesExtension.TestRecordFunctionInput.Material.findInterval(material.Hk, H) - 1]") * ((sgn(_H_) * __omcQ_24DER_P_H_) - (_functions->_OMC_LIT6)((tmp11 - 1)))) + (division((((_functions->_OMC_LIT6)(tmp12) - (_functions->_OMC_LIT6)((tmp13 - 1))) * (( _material_P_Hk_(tmp14)(tmp15) - _material_P_Hk_((tmp16 - 1))((tmp17 - 1)) ) - ( _material_P_Bk_(tmp18)(tmp19) - _material_P_Bk_((tmp20 - 1))((tmp21 - 1)) ))),std::pow(( _material_P_Hk_(tmp22)(tmp23) - _material_P_Hk_((tmp24 - 1))((tmp25 - 1)) ), 2.0),!_initial,"(material.Hk[FluxTubesExtension.TestRecordFunctionInput.Material.findInterval(material.Hk, H)] - material.Hk[FluxTubesExtension.TestRecordFunctionInput.Material.findInterval(material.Hk, H) - 1]) ^ 2.0") * (std::abs(_H_) - _material_P_Hk_((tmp26 - 1))((tmp27 - 1)) ))))); ~~~~~~~~~~~~~~~~~~~~~~^ ./OMCppFluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristicInitialize.cpp:210:672: error: called object type 'double' is not a function or function pointer tmp28 = (((double)sgn(_H_)) * ((_functions->_OMC_LIT6)((tmp2 - 1)) + ((division(( _material_P_Bk_(tmp3)(tmp4) - _material_P_Bk_((tmp5 - 1))((tmp6 - 1)) ),( _material_P_Hk_(tmp7)(tmp8) - _material_P_Hk_((tmp9 - 1))((tmp10 - 1)) ),!_initial,"material.Hk[FluxTubesExtension.TestRecordFunctionInput.Material.findInterval(material.Hk, H)] - material.Hk[FluxTubesExtension.TestRecordFunctionInput.Material.findInterval(material.Hk, H) - 1]") * ((sgn(_H_) * __omcQ_24DER_P_H_) - (_functions->_OMC_LIT6)((tmp11 - 1)))) + (division((((_functions->_OMC_LIT6)(tmp12) - (_functions->_OMC_LIT6)((tmp13 - 1))) * (( _material_P_Hk_(tmp14)(tmp15) - _material_P_Hk_((tmp16 - 1))((tmp17 - 1)) ) - ( _material_P_Bk_(tmp18)(tmp19) - _material_P_Bk_((tmp20 - 1))((tmp21 - 1)) ))),std::pow(( _material_P_Hk_(tmp22)(tmp23) - _material_P_Hk_((tmp24 - 1))((tmp25 - 1)) ), 2.0),!_initial,"(material.Hk[FluxTubesExtension.TestRecordFunctionInput.Material.findInterval(material.Hk, H)] - material.Hk[FluxTubesExtension.TestRecordFunctionInput.Material.findInterval(material.Hk, H) - 1]) ^ 2.0") * (std::abs(_H_) - _material_P_Hk_((tmp26 - 1))((tmp27 - 1)) ))))); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ ./OMCppFluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristicInitialize.cpp:210:714: error: called object type 'double' is not a function or function pointer tmp28 = (((double)sgn(_H_)) * ((_functions->_OMC_LIT6)((tmp2 - 1)) + ((division(( _material_P_Bk_(tmp3)(tmp4) - _material_P_Bk_((tmp5 - 1))((tmp6 - 1)) ),( _material_P_Hk_(tmp7)(tmp8) - _material_P_Hk_((tmp9 - 1))((tmp10 - 1)) ),!_initial,"material.Hk[FluxTubesExtension.TestRecordFunctionInput.Material.findInterval(material.Hk, H)] - material.Hk[FluxTubesExtension.TestRecordFunctionInput.Material.findInterval(material.Hk, H) - 1]") * ((sgn(_H_) * __omcQ_24DER_P_H_) - (_functions->_OMC_LIT6)((tmp11 - 1)))) + (division((((_functions->_OMC_LIT6)(tmp12) - (_functions->_OMC_LIT6)((tmp13 - 1))) * (( _material_P_Hk_(tmp14)(tmp15) - _material_P_Hk_((tmp16 - 1))((tmp17 - 1)) ) - ( _material_P_Bk_(tmp18)(tmp19) - _material_P_Bk_((tmp20 - 1))((tmp21 - 1)) ))),std::pow(( _material_P_Hk_(tmp22)(tmp23) - _material_P_Hk_((tmp24 - 1))((tmp25 - 1)) ), 2.0),!_initial,"(material.Hk[FluxTubesExtension.TestRecordFunctionInput.Material.findInterval(material.Hk, H)] - material.Hk[FluxTubesExtension.TestRecordFunctionInput.Material.findInterval(material.Hk, H) - 1]) ^ 2.0") * (std::abs(_H_) - _material_P_Hk_((tmp26 - 1))((tmp27 - 1)) ))))); ~~~~~~~~~~~~~~~~~~~~~~^ ./OMCppFluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristicInitialize.cpp:210:754: error: called object type 'double' is not a function or function pointer tmp28 = (((double)sgn(_H_)) * ((_functions->_OMC_LIT6)((tmp2 - 1)) + ((division(( _material_P_Bk_(tmp3)(tmp4) - _material_P_Bk_((tmp5 - 1))((tmp6 - 1)) ),( _material_P_Hk_(tmp7)(tmp8) - _material_P_Hk_((tmp9 - 1))((tmp10 - 1)) ),!_initial,"material.Hk[FluxTubesExtension.TestRecordFunctionInput.Material.findInterval(material.Hk, H)] - material.Hk[FluxTubesExtension.TestRecordFunctionInput.Material.findInterval(material.Hk, H) - 1]") * ((sgn(_H_) * __omcQ_24DER_P_H_) - (_functions->_OMC_LIT6)((tmp11 - 1)))) + (division((((_functions->_OMC_LIT6)(tmp12) - (_functions->_OMC_LIT6)((tmp13 - 1))) * (( _material_P_Hk_(tmp14)(tmp15) - _material_P_Hk_((tmp16 - 1))((tmp17 - 1)) ) - ( _material_P_Bk_(tmp18)(tmp19) - _material_P_Bk_((tmp20 - 1))((tmp21 - 1)) ))),std::pow(( _material_P_Hk_(tmp22)(tmp23) - _material_P_Hk_((tmp24 - 1))((tmp25 - 1)) ), 2.0),!_initial,"(material.Hk[FluxTubesExtension.TestRecordFunctionInput.Material.findInterval(material.Hk, H)] - material.Hk[FluxTubesExtension.TestRecordFunctionInput.Material.findInterval(material.Hk, H) - 1]) ^ 2.0") * (std::abs(_H_) - _material_P_Hk_((tmp26 - 1))((tmp27 - 1)) ))))); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ ./OMCppFluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristicInitialize.cpp:210:805: error: called object type 'double' is not a function or function pointer tmp28 = (((double)sgn(_H_)) * ((_functions->_OMC_LIT6)((tmp2 - 1)) + ((division(( _material_P_Bk_(tmp3)(tmp4) - _material_P_Bk_((tmp5 - 1))((tmp6 - 1)) ),( _material_P_Hk_(tmp7)(tmp8) - _material_P_Hk_((tmp9 - 1))((tmp10 - 1)) ),!_initial,"material.Hk[FluxTubesExtension.TestRecordFunctionInput.Material.findInterval(material.Hk, H)] - material.Hk[FluxTubesExtension.TestRecordFunctionInput.Material.findInterval(material.Hk, H) - 1]") * ((sgn(_H_) * __omcQ_24DER_P_H_) - (_functions->_OMC_LIT6)((tmp11 - 1)))) + (division((((_functions->_OMC_LIT6)(tmp12) - (_functions->_OMC_LIT6)((tmp13 - 1))) * (( _material_P_Hk_(tmp14)(tmp15) - _material_P_Hk_((tmp16 - 1))((tmp17 - 1)) ) - ( _material_P_Bk_(tmp18)(tmp19) - _material_P_Bk_((tmp20 - 1))((tmp21 - 1)) ))),std::pow(( _material_P_Hk_(tmp22)(tmp23) - _material_P_Hk_((tmp24 - 1))((tmp25 - 1)) ), 2.0),!_initial,"(material.Hk[FluxTubesExtension.TestRecordFunctionInput.Material.findInterval(material.Hk, H)] - material.Hk[FluxTubesExtension.TestRecordFunctionInput.Material.findInterval(material.Hk, H) - 1]) ^ 2.0") * (std::abs(_H_) - _material_P_Hk_((tmp26 - 1))((tmp27 - 1)) ))))); ~~~~~~~~~~~~~~~~~~~~~~^ ./OMCppFluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristicInitialize.cpp:210:845: error: called object type 'double' is not a function or function pointer tmp28 = (((double)sgn(_H_)) * ((_functions->_OMC_LIT6)((tmp2 - 1)) + ((division(( _material_P_Bk_(tmp3)(tmp4) - _material_P_Bk_((tmp5 - 1))((tmp6 - 1)) ),( _material_P_Hk_(tmp7)(tmp8) - _material_P_Hk_((tmp9 - 1))((tmp10 - 1)) ),!_initial,"material.Hk[FluxTubesExtension.TestRecordFunctionInput.Material.findInterval(material.Hk, H)] - material.Hk[FluxTubesExtension.TestRecordFunctionInput.Material.findInterval(material.Hk, H) - 1]") * ((sgn(_H_) * __omcQ_24DER_P_H_) - (_functions->_OMC_LIT6)((tmp11 - 1)))) + (division((((_functions->_OMC_LIT6)(tmp12) - (_functions->_OMC_LIT6)((tmp13 - 1))) * (( _material_P_Hk_(tmp14)(tmp15) - _material_P_Hk_((tmp16 - 1))((tmp17 - 1)) ) - ( _material_P_Bk_(tmp18)(tmp19) - _material_P_Bk_((tmp20 - 1))((tmp21 - 1)) ))),std::pow(( _material_P_Hk_(tmp22)(tmp23) - _material_P_Hk_((tmp24 - 1))((tmp25 - 1)) ), 2.0),!_initial,"(material.Hk[FluxTubesExtension.TestRecordFunctionInput.Material.findInterval(material.Hk, H)] - material.Hk[FluxTubesExtension.TestRecordFunctionInput.Material.findInterval(material.Hk, H) - 1]) ^ 2.0") * (std::abs(_H_) - _material_P_Hk_((tmp26 - 1))((tmp27 - 1)) ))))); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ ./OMCppFluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristicInitialize.cpp:210:1130: error: called object type 'double' is not a function or function pointer tmp28 = (((double)sgn(_H_)) * ((_functions->_OMC_LIT6)((tmp2 - 1)) + ((division(( _material_P_Bk_(tmp3)(tmp4) - _material_P_Bk_((tmp5 - 1))((tmp6 - 1)) ),( _material_P_Hk_(tmp7)(tmp8) - _material_P_Hk_((tmp9 - 1))((tmp10 - 1)) ),!_initial,"material.Hk[FluxTubesExtension.TestRecordFunctionInput.Material.findInterval(material.Hk, H)] - material.Hk[FluxTubesExtension.TestRecordFunctionInput.Material.findInterval(material.Hk, H) - 1]") * ((sgn(_H_) * __omcQ_24DER_P_H_) - (_functions->_OMC_LIT6)((tmp11 - 1)))) + (division((((_functions->_OMC_LIT6)(tmp12) - (_functions->_OMC_LIT6)((tmp13 - 1))) * (( _material_P_Hk_(tmp14)(tmp15) - _material_P_Hk_((tmp16 - 1))((tmp17 - 1)) ) - ( _material_P_Bk_(tmp18)(tmp19) - _material_P_Bk_((tmp20 - 1))((tmp21 - 1)) ))),std::pow(( _material_P_Hk_(tmp22)(tmp23) - _material_P_Hk_((tmp24 - 1))((tmp25 - 1)) ), 2.0),!_initial,"(material.Hk[FluxTubesExtension.TestRecordFunctionInput.Material.findInterval(material.Hk, H)] - material.Hk[FluxTubesExtension.TestRecordFunctionInput.Material.findInterval(material.Hk, H) - 1]) ^ 2.0") * (std::abs(_H_) - _material_P_Hk_((tmp26 - 1))((tmp27 - 1)) ))))); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ In file included from OMCppFluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristicCalcHelperMain.cpp:33: ./OMCppFluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic.cpp:195:128: error: called object type 'double' is not a function or function pointer tmp36 = (((double)sgn(_H_)) * ((_functions->_OMC_LIT6)((__omcQ_24cse1_ - 1)) + ((division(( _material_P_Bk_(__omcQ_24cse1_)(__omcQ_24cse1_) - _material_P_Bk_((__omcQ_24cse1_ - 1))((__omcQ_24cse1_ - 1)) ),( _material_P_Hk_(__omcQ_24cse1_)(__omcQ_24cse1_) - _material_P_Hk_((__omcQ_24cse1_ - 1))((__omcQ_24cse1_ - 1)) ),!_initial,"material.Hk[$cse1] - material.Hk[$cse1 - 1]") * ((sgn(_H_) * 5e4) - (_functions->_OMC_LIT6)((__omcQ_24cse1_ - 1)))) + (division((((_functions->_OMC_LIT6)(__omcQ_24cse1_) - (_functions->_OMC_LIT6)((__omcQ_24cse1_ - 1))) * (( _material_P_Hk_(__omcQ_24cse1_)(__omcQ_24cse1_) - _material_P_Hk_((__omcQ_24cse1_ - 1))((__omcQ_24cse1_ - 1)) ) - ( _material_P_Bk_(__omcQ_24cse1_)(__omcQ_24cse1_) - _material_P_Bk_((__omcQ_24cse1_ - 1))((__omcQ_24cse1_ - 1)) ))),std::pow(( _material_P_Hk_(__omcQ_24cse1_)(__omcQ_24cse1_) - _material_P_Hk_((__omcQ_24cse1_ - 1))((__omcQ_24cse1_ - 1)) ), 2.0),!_initial,"(material.Hk[$cse1] - material.Hk[$cse1 - 1]) ^ 2.0") * (std::abs(_H_) - _material_P_Hk_((__omcQ_24cse1_ - 1))((__omcQ_24cse1_ - 1)) ))))); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ ./OMCppFluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic.cpp:195:186: error: called object type 'double' is not a function or function pointer tmp36 = (((double)sgn(_H_)) * ((_functions->_OMC_LIT6)((__omcQ_24cse1_ - 1)) + ((division(( _material_P_Bk_(__omcQ_24cse1_)(__omcQ_24cse1_) - _material_P_Bk_((__omcQ_24cse1_ - 1))((__omcQ_24cse1_ - 1)) ),( _material_P_Hk_(__omcQ_24cse1_)(__omcQ_24cse1_) - _material_P_Hk_((__omcQ_24cse1_ - 1))((__omcQ_24cse1_ - 1)) ),!_initial,"material.Hk[$cse1] - material.Hk[$cse1 - 1]") * ((sgn(_H_) * 5e4) - (_functions->_OMC_LIT6)((__omcQ_24cse1_ - 1)))) + (division((((_functions->_OMC_LIT6)(__omcQ_24cse1_) - (_functions->_OMC_LIT6)((__omcQ_24cse1_ - 1))) * (( _material_P_Hk_(__omcQ_24cse1_)(__omcQ_24cse1_) - _material_P_Hk_((__omcQ_24cse1_ - 1))((__omcQ_24cse1_ - 1)) ) - ( _material_P_Bk_(__omcQ_24cse1_)(__omcQ_24cse1_) - _material_P_Bk_((__omcQ_24cse1_ - 1))((__omcQ_24cse1_ - 1)) ))),std::pow(( _material_P_Hk_(__omcQ_24cse1_)(__omcQ_24cse1_) - _material_P_Hk_((__omcQ_24cse1_ - 1))((__omcQ_24cse1_ - 1)) ), 2.0),!_initial,"(material.Hk[$cse1] - material.Hk[$cse1 - 1]) ^ 2.0") * (std::abs(_H_) - _material_P_Hk_((__omcQ_24cse1_ - 1))((__omcQ_24cse1_ - 1)) ))))); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ ./OMCppFluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic.cpp:195:244: error: called object type 'double' is not a function or function pointer tmp36 = (((double)sgn(_H_)) * ((_functions->_OMC_LIT6)((__omcQ_24cse1_ - 1)) + ((division(( _material_P_Bk_(__omcQ_24cse1_)(__omcQ_24cse1_) - _material_P_Bk_((__omcQ_24cse1_ - 1))((__omcQ_24cse1_ - 1)) ),( _material_P_Hk_(__omcQ_24cse1_)(__omcQ_24cse1_) - _material_P_Hk_((__omcQ_24cse1_ - 1))((__omcQ_24cse1_ - 1)) ),!_initial,"material.Hk[$cse1] - material.Hk[$cse1 - 1]") * ((sgn(_H_) * 5e4) - (_functions->_OMC_LIT6)((__omcQ_24cse1_ - 1)))) + (division((((_functions->_OMC_LIT6)(__omcQ_24cse1_) - (_functions->_OMC_LIT6)((__omcQ_24cse1_ - 1))) * (( _material_P_Hk_(__omcQ_24cse1_)(__omcQ_24cse1_) - _material_P_Hk_((__omcQ_24cse1_ - 1))((__omcQ_24cse1_ - 1)) ) - ( _material_P_Bk_(__omcQ_24cse1_)(__omcQ_24cse1_) - _material_P_Bk_((__omcQ_24cse1_ - 1))((__omcQ_24cse1_ - 1)) ))),std::pow(( _material_P_Hk_(__omcQ_24cse1_)(__omcQ_24cse1_) - _material_P_Hk_((__omcQ_24cse1_ - 1))((__omcQ_24cse1_ - 1)) ), 2.0),!_initial,"(material.Hk[$cse1] - material.Hk[$cse1 - 1]) ^ 2.0") * (std::abs(_H_) - _material_P_Hk_((__omcQ_24cse1_ - 1))((__omcQ_24cse1_ - 1)) ))))); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ ./OMCppFluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic.cpp:195:302: error: called object type 'double' is not a function or function pointer tmp36 = (((double)sgn(_H_)) * ((_functions->_OMC_LIT6)((__omcQ_24cse1_ - 1)) + ((division(( _material_P_Bk_(__omcQ_24cse1_)(__omcQ_24cse1_) - _material_P_Bk_((__omcQ_24cse1_ - 1))((__omcQ_24cse1_ - 1)) ),( _material_P_Hk_(__omcQ_24cse1_)(__omcQ_24cse1_) - _material_P_Hk_((__omcQ_24cse1_ - 1))((__omcQ_24cse1_ - 1)) ),!_initial,"material.Hk[$cse1] - material.Hk[$cse1 - 1]") * ((sgn(_H_) * 5e4) - (_functions->_OMC_LIT6)((__omcQ_24cse1_ - 1)))) + (division((((_functions->_OMC_LIT6)(__omcQ_24cse1_) - (_functions->_OMC_LIT6)((__omcQ_24cse1_ - 1))) * (( _material_P_Hk_(__omcQ_24cse1_)(__omcQ_24cse1_) - _material_P_Hk_((__omcQ_24cse1_ - 1))((__omcQ_24cse1_ - 1)) ) - ( _material_P_Bk_(__omcQ_24cse1_)(__omcQ_24cse1_) - _material_P_Bk_((__omcQ_24cse1_ - 1))((__omcQ_24cse1_ - 1)) ))),std::pow(( _material_P_Hk_(__omcQ_24cse1_)(__omcQ_24cse1_) - _material_P_Hk_((__omcQ_24cse1_ - 1))((__omcQ_24cse1_ - 1)) ), 2.0),!_initial,"(material.Hk[$cse1] - material.Hk[$cse1 - 1]) ^ 2.0") * (std::abs(_H_) - _material_P_Hk_((__omcQ_24cse1_ - 1))((__omcQ_24cse1_ - 1)) ))))); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ ./OMCppFluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic.cpp:195:593: error: called object type 'double' is not a function or function pointer tmp36 = (((double)sgn(_H_)) * ((_functions->_OMC_LIT6)((__omcQ_24cse1_ - 1)) + ((division(( _material_P_Bk_(__omcQ_24cse1_)(__omcQ_24cse1_) - _material_P_Bk_((__omcQ_24cse1_ - 1))((__omcQ_24cse1_ - 1)) ),( _material_P_Hk_(__omcQ_24cse1_)(__omcQ_24cse1_) - _material_P_Hk_((__omcQ_24cse1_ - 1))((__omcQ_24cse1_ - 1)) ),!_initial,"material.Hk[$cse1] - material.Hk[$cse1 - 1]") * ((sgn(_H_) * 5e4) - (_functions->_OMC_LIT6)((__omcQ_24cse1_ - 1)))) + (division((((_functions->_OMC_LIT6)(__omcQ_24cse1_) - (_functions->_OMC_LIT6)((__omcQ_24cse1_ - 1))) * (( _material_P_Hk_(__omcQ_24cse1_)(__omcQ_24cse1_) - _material_P_Hk_((__omcQ_24cse1_ - 1))((__omcQ_24cse1_ - 1)) ) - ( _material_P_Bk_(__omcQ_24cse1_)(__omcQ_24cse1_) - _material_P_Bk_((__omcQ_24cse1_ - 1))((__omcQ_24cse1_ - 1)) ))),std::pow(( _material_P_Hk_(__omcQ_24cse1_)(__omcQ_24cse1_) - _material_P_Hk_((__omcQ_24cse1_ - 1))((__omcQ_24cse1_ - 1)) ), 2.0),!_initial,"(material.Hk[$cse1] - material.Hk[$cse1 - 1]) ^ 2.0") * (std::abs(_H_) - _material_P_Hk_((__omcQ_24cse1_ - 1))((__omcQ_24cse1_ - 1)) ))))); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ ./OMCppFluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic.cpp:195:651: error: called object type 'double' is not a function or function pointer tmp36 = (((double)sgn(_H_)) * ((_functions->_OMC_LIT6)((__omcQ_24cse1_ - 1)) + ((division(( _material_P_Bk_(__omcQ_24cse1_)(__omcQ_24cse1_) - _material_P_Bk_((__omcQ_24cse1_ - 1))((__omcQ_24cse1_ - 1)) ),( _material_P_Hk_(__omcQ_24cse1_)(__omcQ_24cse1_) - _material_P_Hk_((__omcQ_24cse1_ - 1))((__omcQ_24cse1_ - 1)) ),!_initial,"material.Hk[$cse1] - material.Hk[$cse1 - 1]") * ((sgn(_H_) * 5e4) - (_functions->_OMC_LIT6)((__omcQ_24cse1_ - 1)))) + (division((((_functions->_OMC_LIT6)(__omcQ_24cse1_) - (_functions->_OMC_LIT6)((__omcQ_24cse1_ - 1))) * (( _material_P_Hk_(__omcQ_24cse1_)(__omcQ_24cse1_) - _material_P_Hk_((__omcQ_24cse1_ - 1))((__omcQ_24cse1_ - 1)) ) - ( _material_P_Bk_(__omcQ_24cse1_)(__omcQ_24cse1_) - _material_P_Bk_((__omcQ_24cse1_ - 1))((__omcQ_24cse1_ - 1)) ))),std::pow(( _material_P_Hk_(__omcQ_24cse1_)(__omcQ_24cse1_) - _material_P_Hk_((__omcQ_24cse1_ - 1))((__omcQ_24cse1_ - 1)) ), 2.0),!_initial,"(material.Hk[$cse1] - material.Hk[$cse1 - 1]) ^ 2.0") * (std::abs(_H_) - _material_P_Hk_((__omcQ_24cse1_ - 1))((__omcQ_24cse1_ - 1)) ))))); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ ./OMCppFluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic.cpp:195:711: error: called object type 'double' is not a function or function pointer tmp36 = (((double)sgn(_H_)) * ((_functions->_OMC_LIT6)((__omcQ_24cse1_ - 1)) + ((division(( _material_P_Bk_(__omcQ_24cse1_)(__omcQ_24cse1_) - _material_P_Bk_((__omcQ_24cse1_ - 1))((__omcQ_24cse1_ - 1)) ),( _material_P_Hk_(__omcQ_24cse1_)(__omcQ_24cse1_) - _material_P_Hk_((__omcQ_24cse1_ - 1))((__omcQ_24cse1_ - 1)) ),!_initial,"material.Hk[$cse1] - material.Hk[$cse1 - 1]") * ((sgn(_H_) * 5e4) - (_functions->_OMC_LIT6)((__omcQ_24cse1_ - 1)))) + (division((((_functions->_OMC_LIT6)(__omcQ_24cse1_) - (_functions->_OMC_LIT6)((__omcQ_24cse1_ - 1))) * (( _material_P_Hk_(__omcQ_24cse1_)(__omcQ_24cse1_) - _material_P_Hk_((__omcQ_24cse1_ - 1))((__omcQ_24cse1_ - 1)) ) - ( _material_P_Bk_(__omcQ_24cse1_)(__omcQ_24cse1_) - _material_P_Bk_((__omcQ_24cse1_ - 1))((__omcQ_24cse1_ - 1)) ))),std::pow(( _material_P_Hk_(__omcQ_24cse1_)(__omcQ_24cse1_) - _material_P_Hk_((__omcQ_24cse1_ - 1))((__omcQ_24cse1_ - 1)) ), 2.0),!_initial,"(material.Hk[$cse1] - material.Hk[$cse1 - 1]) ^ 2.0") * (std::abs(_H_) - _material_P_Hk_((__omcQ_24cse1_ - 1))((__omcQ_24cse1_ - 1)) ))))); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ ./OMCppFluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic.cpp:195:769: error: called object type 'double' is not a function or function pointer tmp36 = (((double)sgn(_H_)) * ((_functions->_OMC_LIT6)((__omcQ_24cse1_ - 1)) + ((division(( _material_P_Bk_(__omcQ_24cse1_)(__omcQ_24cse1_) - _material_P_Bk_((__omcQ_24cse1_ - 1))((__omcQ_24cse1_ - 1)) ),( _material_P_Hk_(__omcQ_24cse1_)(__omcQ_24cse1_) - _material_P_Hk_((__omcQ_24cse1_ - 1))((__omcQ_24cse1_ - 1)) ),!_initial,"material.Hk[$cse1] - material.Hk[$cse1 - 1]") * ((sgn(_H_) * 5e4) - (_functions->_OMC_LIT6)((__omcQ_24cse1_ - 1)))) + (division((((_functions->_OMC_LIT6)(__omcQ_24cse1_) - (_functions->_OMC_LIT6)((__omcQ_24cse1_ - 1))) * (( _material_P_Hk_(__omcQ_24cse1_)(__omcQ_24cse1_) - _material_P_Hk_((__omcQ_24cse1_ - 1))((__omcQ_24cse1_ - 1)) ) - ( _material_P_Bk_(__omcQ_24cse1_)(__omcQ_24cse1_) - _material_P_Bk_((__omcQ_24cse1_ - 1))((__omcQ_24cse1_ - 1)) ))),std::pow(( _material_P_Hk_(__omcQ_24cse1_)(__omcQ_24cse1_) - _material_P_Hk_((__omcQ_24cse1_ - 1))((__omcQ_24cse1_ - 1)) ), 2.0),!_initial,"(material.Hk[$cse1] - material.Hk[$cse1 - 1]) ^ 2.0") * (std::abs(_H_) - _material_P_Hk_((__omcQ_24cse1_ - 1))((__omcQ_24cse1_ - 1)) ))))); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: OMCppFluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristicCalcHelperMain.o] Error 1