Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_Mains",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_Mains",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002156/0.002156, allocations: 179 kB / 8.364 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.097/2.097, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001114/0.001114, allocations: 86.83 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.638e-05/2.639e-05, allocations: 3.984 kB / 314.9 MB, free: 9.027 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3452/0.3452, allocations: 47.56 MB / 362.5 MB, free: 45.75 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5468/0.8921, allocations: 157.8 MB / 0.508 GB, free: 80.02 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003142/0.8925, allocations: 100.3 kB / 0.5081 GB, free: 80.02 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.838/2.731, allocations: 383.8 MB / 0.883 GB, free: 32.89 MB / 443.1 MB Notification: Performance of FrontEnd: time 2.485e-06/2.731, allocations: 0 / 0.883 GB, free: 32.89 MB / 443.1 MB Notification: Performance of Transformations before backend: time 0.00119/2.732, allocations: 277.9 kB / 0.8832 GB, free: 32.86 MB / 443.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3387 * Number of variables: 3387 Notification: Performance of Generate backend data structure: time 0.05826/2.791, allocations: 11.23 MB / 0.8942 GB, free: 29.3 MB / 443.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.904e-05/2.791, allocations: 7.719 kB / 0.8942 GB, free: 29.3 MB / 443.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04426/2.835, allocations: 5.195 MB / 0.8993 GB, free: 28.61 MB / 443.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03594/2.871, allocations: 9.629 MB / 0.9087 GB, free: 27.41 MB / 443.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001108/2.872, allocations: 410.4 kB / 0.9091 GB, free: 27.41 MB / 443.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00586/2.878, allocations: 0.6955 MB / 0.9097 GB, free: 27.39 MB / 443.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04529/2.923, allocations: 15.15 MB / 0.9245 GB, free: 27.34 MB / 443.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06066/2.984, allocations: 17.45 MB / 0.9416 GB, free: 23.59 MB / 443.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006886/2.985, allocations: 21.17 kB / 0.9416 GB, free: 23.58 MB / 443.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004492/2.989, allocations: 9.75 kB / 0.9416 GB, free: 23.58 MB / 443.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001232/2.991, allocations: 0.7682 MB / 0.9424 GB, free: 23.42 MB / 443.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5617/3.552, allocations: 61.69 MB / 1.003 GB, free: 38.25 MB / 459.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03722/3.59, allocations: 22.44 MB / 1.025 GB, free: 26.54 MB / 459.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01987/3.609, allocations: 7.354 MB / 1.032 GB, free: 26.46 MB / 459.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06935/3.679, allocations: 23.07 MB / 1.054 GB, free: 25.38 MB / 459.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001073/3.679, allocations: 108.3 kB / 1.054 GB, free: 25.34 MB / 459.1 MB Notification: Performance of pre-optimization done (n=744): time 1.196e-05/3.679, allocations: 2.734 kB / 1.054 GB, free: 25.34 MB / 459.1 MB Notification: Performance of matching and sorting (n=754): time 0.09082/3.77, allocations: 28.43 MB / 1.082 GB, free: 20.81 MB / 459.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.625e-05/3.77, allocations: 146.1 kB / 1.082 GB, free: 20.71 MB / 459.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01272/3.783, allocations: 3.278 MB / 1.085 GB, free: 19.42 MB / 459.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001778/3.785, allocations: 25.7 kB / 1.085 GB, free: 19.39 MB / 459.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00374/3.788, allocations: 4.562 MB / 1.09 GB, free: 15.85 MB / 459.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.004307/3.793, allocations: 2.414 MB / 1.092 GB, free: 13.94 MB / 459.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002394/3.795, allocations: 2 kB / 1.092 GB, free: 13.94 MB / 459.1 MB Notification: Performance of setup shared object (initialization): time 0.001314/3.797, allocations: 0.6391 MB / 1.093 GB, free: 13.48 MB / 459.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01412/3.811, allocations: 4.712 MB / 1.098 GB, free: 11.45 MB / 459.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01505/3.826, allocations: 6.522 MB / 1.104 GB, free: 7.258 MB / 459.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02185/3.848, allocations: 7.02 MB / 1.111 GB, free: 4.594 MB / 459.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001167/3.848, allocations: 15.19 kB / 1.111 GB, free: 4.594 MB / 459.1 MB Notification: Performance of matching and sorting (n=1040) (initialization): time 0.04802/3.896, allocations: 14.76 MB / 1.125 GB, free: 15.16 MB / 475.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.418e-05/3.896, allocations: 28.84 kB / 1.125 GB, free: 15.16 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001416/3.896, allocations: 57.09 kB / 1.125 GB, free: 15.16 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0117/3.908, allocations: 3.318 MB / 1.128 GB, free: 14.14 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0121/3.92, allocations: 1.514 MB / 1.13 GB, free: 14.1 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02192/3.942, allocations: 13.89 MB / 1.144 GB, free: 4.133 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00982/3.952, allocations: 285.4 kB / 1.144 GB, free: 4.125 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002526/3.955, allocations: 339.2 kB / 1.144 GB, free: 4.062 MB / 475.1 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: smpmQS.rotorCage.resistor.resistor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [2] smpmQS.rotorCage.resistor.resistor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [2] smpmQS.rotorCage.resistor.resistor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [2] smpmQS.rotorCage.resistor.resistor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [2] smpmQS.stator.resistor.resistor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] smpmQS.stator.resistor.resistor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] smpmQS.stator.resistor.resistor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] smpmQS.stator.resistor.resistor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] smpmQS.stator.resistor.resistor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] smpmQS.stator.resistor.resistor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: terminalBoxQS.multiStar.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] terminalBoxQS.multiStar.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] terminalBoxQS.multiStar.plugToPins_p.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] terminalBoxQS.multiStar.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] terminalBoxQS.multiStar.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] terminalBoxQS.multiStar.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: currentQuasiRMSSensorQS.currentSensor[3].y.re:VARIABLE() "Real part of complex number" type: Real [3] currentQuasiRMSSensorQS.currentSensor[1].y.im:VARIABLE() "Imaginary part of complex number" type: Real [3] currentQuasiRMSSensorQS.currentSensor[2].y.re:VARIABLE() "Real part of complex number" type: Real [3] currentQuasiRMSSensorQS.currentSensor[2].y.im:VARIABLE() "Imaginary part of complex number" type: Real [3] currentQuasiRMSSensorQS.currentSensor[1].y.re:VARIABLE() "Real part of complex number" type: Real [3] currentQuasiRMSSensorQS.currentSensor[3].y.im:VARIABLE() "Imaginary part of complex number" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: powerSensorQS.powerSensor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] powerSensorQS.powerSensor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] powerSensorQS.powerSensor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] powerSensorQS.powerSensor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] powerSensorQS.powerSensor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] powerSensorQS.powerSensor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: starQS.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] starQS.plugToPins_p.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] starQS.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] starQS.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] starQS.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] starQS.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: smpmQS.rotorCage.star.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [2] smpmQS.rotorCage.star.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [2] smpmQS.rotorCage.star.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [2] smpmQS.rotorCage.star.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 243 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (783): * Single equations (assignments): 718 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 55 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 6 {4 4,6 9,6 9,6 9,6 9,10 69} Notification: Performance of prepare postOptimizeDAE: time 0.004334/3.959, allocations: 403 kB / 1.145 GB, free: 3.891 MB / 475.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04436/4.003, allocations: 13.1 MB / 1.157 GB, free: 8.902 MB / 491.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003608/4.007, allocations: 0.5546 MB / 1.158 GB, free: 8.348 MB / 491.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4598/4.467, allocations: 14.83 MB / 1.172 GB, free: 71.03 MB / 491.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03346/4.5, allocations: 11.09 MB / 1.183 GB, free: 70.75 MB / 491.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.065e-05/4.5, allocations: 4.844 kB / 1.183 GB, free: 70.75 MB / 491.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002423/4.501, allocations: 31.61 kB / 1.183 GB, free: 70.75 MB / 491.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08403/4.585, allocations: 26.82 MB / 1.209 GB, free: 69.61 MB / 491.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000119/4.585, allocations: 12.77 kB / 1.209 GB, free: 69.61 MB / 491.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008927/4.594, allocations: 0.9763 MB / 1.21 GB, free: 69.61 MB / 491.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0115/4.605, allocations: 3.408 MB / 1.214 GB, free: 69.5 MB / 491.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001973/4.607, allocations: 89.55 kB / 1.214 GB, free: 69.5 MB / 491.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02524/4.633, allocations: 18.09 MB / 1.231 GB, free: 60.25 MB / 491.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-05/4.633, allocations: 9.344 kB / 1.231 GB, free: 60.25 MB / 491.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05632/4.689, allocations: 21.56 MB / 1.252 GB, free: 55.69 MB / 491.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007451/4.697, allocations: 1.717 MB / 1.254 GB, free: 54.99 MB / 491.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003411/4.7, allocations: 16.61 kB / 1.254 GB, free: 54.98 MB / 491.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00835/4.709, allocations: 247.1 kB / 1.254 GB, free: 54.98 MB / 491.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003007/4.712, allocations: 0.5481 MB / 1.255 GB, free: 54.88 MB / 491.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002095/4.714, allocations: 209.1 kB / 1.255 GB, free: 54.82 MB / 491.1 MB Notification: Performance of sorting global known variables: time 0.007263/4.721, allocations: 2.391 MB / 1.257 GB, free: 53.84 MB / 491.1 MB Notification: Performance of sort global known variables: time 8.81e-07/4.721, allocations: 0 / 1.257 GB, free: 53.84 MB / 491.1 MB Notification: Performance of remove unused functions: time 0.0144/4.736, allocations: 1.886 MB / 1.259 GB, free: 53.81 MB / 491.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 10 (smpmQS.inertiaRotor.w,smpmQS.permanentMagnet.port_p.reference.gamma,loadInertiaMQS.phi,smpm.inertiaRotor.w,smpm.stator.core.Phi.re,smpm.stator.core.Phi.im,smpm.stator.zeroInductor.i0,smpm.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smpm.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,loadInertiaM.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (503): * Single equations (assignments): 437 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 55 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 14} * Non-linear torn systems: 6 {4 4,6 9,6 9,6 9,6 9,10 69} Notification: Performance of Backend phase and start with SimCode phase: time 0.06138/4.797, allocations: 23.62 MB / 1.282 GB, free: 42.46 MB / 491.1 MB Notification: Performance of simCode: created initialization part: time 0.03129/4.828, allocations: 11.85 MB / 1.294 GB, free: 37.55 MB / 491.1 MB Notification: Performance of simCode: created event and clocks part: time 1.397e-05/4.828, allocations: 2.469 kB / 1.294 GB, free: 37.55 MB / 491.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01855/4.847, allocations: 6.514 MB / 1.3 GB, free: 34.65 MB / 491.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01196/4.859, allocations: 1.026 MB / 1.301 GB, free: 34.43 MB / 491.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08135/4.94, allocations: 23.86 MB / 1.325 GB, free: 14.06 MB / 491.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01738/4.958, allocations: 7.533 MB / 1.332 GB, free: 8.391 MB / 491.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01249/4.97, allocations: 4.464 MB / 1.336 GB, free: 4.238 MB / 491.1 MB Notification: Performance of SimCode: time 1.943e-06/4.97, allocations: 0 / 1.336 GB, free: 4.238 MB / 491.1 MB Error: Error building simulator. Build log: clang++ -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DSUNDIALS_MAJOR_VERSION=2 -DSUNDIALS_MINOR_VERSION=6 -DPMC_USE_SUNDIALS -DFMU_BUILD -DRUNTIME_STATIC_LINKING -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/cpp" -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c/sundials" -I"." -DUSE_LOGGER -c -o OMCppModelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_MainsCalcHelperMain.o OMCppModelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_MainsCalcHelperMain.cpp In file included from OMCppModelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_MainsCalcHelperMain.cpp:28: ./OMCppModelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_MainsFunctions.cpp:637:43: error: use of undeclared identifier 'UNKNOWN_SUBSCRIPT' tmp343 = std::sqrt((std::pow(u_(UNKNOWN_SUBSCRIPT).re_, 2.0) + std::pow(u_(UNKNOWN_SUBSCRIPT).im_, 2.0))); ^ ./OMCppModelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_MainsFunctions.cpp:637:86: error: use of undeclared identifier 'UNKNOWN_SUBSCRIPT' tmp343 = std::sqrt((std::pow(u_(UNKNOWN_SUBSCRIPT).re_, 2.0) + std::pow(u_(UNKNOWN_SUBSCRIPT).im_, 2.0))); ^ In file included from OMCppModelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_MainsCalcHelperMain.cpp:35: In file included from ./OMCppModelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_MainsFMU.cpp:11: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/cpp/FMU2/FMU2Wrapper.cpp:93:11: warning: 6 enumeration values not handled in switch: 'LC_INIT', 'LC_LS', 'LC_SOLVER'... [-Wswitch] switch (cat) { ^ 1 warning and 2 errors generated. : recipe for target 'OMCppModelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_MainsCalcHelperMain.o' failed make: *** [OMCppModelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_MainsCalcHelperMain.o] Error 1