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_CurrentSource.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_CurrentSource,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSource",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.002451/0.00245, allocations: 178.4 kB / 8.362 MB, free: 0.7148 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.226/2.226, allocations: 205.3 MB / 214.1 MB, free: 14.16 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.001113/0.001112, allocations: 86.25 kB / 262.1 MB, free: 13.89 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.867e-05/2.878e-05, allocations: 4 kB / 314.9 MB, free: 9.039 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.3461, allocations: 47.56 MB / 362.5 MB, free: 45.77 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5606/0.9067, allocations: 162.4 MB / 0.5126 GB, free: 81.59 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003054/0.907, allocations: 105.5 kB / 0.5127 GB, free: 81.59 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.887/2.794, allocations: 391.2 MB / 0.8947 GB, free: 39.52 MB / 443.1 MB Notification: Performance of FrontEnd: time 2.144e-06/2.794, allocations: 4.047 kB / 0.8947 GB, free: 39.52 MB / 443.1 MB Notification: Performance of Transformations before backend: time 0.001065/2.795, allocations: 297.8 kB / 0.895 GB, free: 39.5 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: 3597 * Number of variables: 3597 Notification: Performance of Generate backend data structure: time 0.05531/2.851, allocations: 11.33 MB / 0.9061 GB, free: 35.79 MB / 443.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.583e-05/2.851, allocations: 8.406 kB / 0.9061 GB, free: 35.79 MB / 443.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05341/2.904, allocations: 6.406 MB / 0.9123 GB, free: 35.07 MB / 443.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03486/2.939, allocations: 9.658 MB / 0.9217 GB, free: 33.71 MB / 443.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001106/2.94, allocations: 431.1 kB / 0.9222 GB, free: 33.71 MB / 443.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007016/2.947, allocations: 0.7322 MB / 0.9229 GB, free: 33.7 MB / 443.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04919/2.997, allocations: 16.42 MB / 0.9389 GB, free: 31.24 MB / 443.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06386/3.061, allocations: 18.64 MB / 0.9571 GB, free: 20.14 MB / 443.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008672/3.062, allocations: 27.45 kB / 0.9571 GB, free: 20.12 MB / 443.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005331/3.067, allocations: 8 kB / 0.9571 GB, free: 20.11 MB / 443.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001314/3.068, allocations: 0.8529 MB / 0.958 GB, free: 19.34 MB / 443.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5847/3.653, allocations: 64.68 MB / 1.021 GB, free: 39.95 MB / 459.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.06199/3.715, allocations: 45.6 MB / 1.066 GB, free: 36.69 MB / 491.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02023/3.735, allocations: 7.753 MB / 1.073 GB, free: 36.58 MB / 491.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07502/3.81, allocations: 24.36 MB / 1.097 GB, free: 35.57 MB / 491.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001373/3.81, allocations: 102.8 kB / 1.097 GB, free: 35.53 MB / 491.1 MB Notification: Performance of pre-optimization done (n=776): time 1.293e-05/3.811, allocations: 0 / 1.097 GB, free: 35.53 MB / 491.1 MB Notification: Performance of matching and sorting (n=820): time 0.09206/3.903, allocations: 29.81 MB / 1.126 GB, free: 23.7 MB / 491.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001125/3.903, allocations: 124 kB / 1.126 GB, free: 23.63 MB / 491.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008546/3.911, allocations: 3.254 MB / 1.13 GB, free: 22.33 MB / 491.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001907/3.913, allocations: 25.7 kB / 1.13 GB, free: 22.3 MB / 491.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003838/3.917, allocations: 4.892 MB / 1.134 GB, free: 18.5 MB / 491.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.004585/3.922, allocations: 2.628 MB / 1.137 GB, free: 16.42 MB / 491.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001866/3.924, allocations: 0 / 1.137 GB, free: 16.42 MB / 491.1 MB Notification: Performance of setup shared object (initialization): time 0.001146/3.925, allocations: 0.6825 MB / 1.138 GB, free: 15.95 MB / 491.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01307/3.938, allocations: 5.138 MB / 1.143 GB, free: 13.77 MB / 491.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01748/3.956, allocations: 7.554 MB / 1.15 GB, free: 8.605 MB / 491.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02382/3.979, allocations: 7.569 MB / 1.157 GB, free: 5.797 MB / 491.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001356/3.98, allocations: 23.72 kB / 1.157 GB, free: 5.797 MB / 491.1 MB Notification: Performance of matching and sorting (n=1175) (initialization): time 0.06006/4.04, allocations: 16.52 MB / 1.174 GB, free: 15.35 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001018/4.04, allocations: 36 kB / 1.174 GB, free: 15.31 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001974/4.04, allocations: 78.94 kB / 1.174 GB, free: 15.24 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01451/4.055, allocations: 4.07 MB / 1.178 GB, free: 11.86 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01475/4.069, allocations: 1.737 MB / 1.179 GB, free: 10.54 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.43/4.499, allocations: 12.38 MB / 1.191 GB, free: 94.15 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01073/4.51, allocations: 338 kB / 1.192 GB, free: 94.15 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002877/4.513, allocations: 399.7 kB / 1.192 GB, free: 94.15 MB / 0.4952 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: starMQS.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] starMQS.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] starMQS.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] starMQS.plugToPins_p.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] starMQS.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] starMQS.plugToPins_p.pin_p[3].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: smpmQS.stator.Phi.im:VARIABLE(unit = "Wb" ) "Imaginary part of complex magnetic flux" type: Real smpmQS.stator.Phi.re:VARIABLE(unit = "Wb" ) "Real part of complex magnetic flux" type: Real resistorQS.resistor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] resistorQS.resistor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] resistorQS.resistor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] resistorQS.resistor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] resistorQS.resistor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] resistorQS.resistor[3].i.re:VARIABLE(unit = "A" ) "Real 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] smpmQS.stator.resistor.resistor[2].i.im:VARIABLE(unit = "A" ) "Imaginary 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[3].i.re:VARIABLE(unit = "A" ) "Real 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[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] currentRMSSensorQS.currentSensor[2].y.re:VARIABLE() "Real part of complex number" type: Real [3] currentRMSSensorQS.currentSensor[1].y.im:VARIABLE() "Imaginary part of complex number" type: Real [3] currentRMSSensorQS.currentSensor[1].y.re:VARIABLE() "Real part of complex number" type: Real [3] currentRMSSensorQS.currentSensor[2].y.im:VARIABLE() "Imaginary part of complex number" type: Real [3] currentRMSSensorQS.currentSensor[3].y.re:VARIABLE() "Real part of complex number" type: Real [3] currentRMSSensorQS.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: 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[1].i.re:VARIABLE(flow=true unit = "A" ) "Real 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] 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.re:VARIABLE(flow=true unit = "A" ) "Real 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] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: 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[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary 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[2].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] starQS.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 343 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (877): * Single equations (assignments): 821 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 48 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 4 {6 9,6 9,20 119,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.00473/4.518, allocations: 439.7 kB / 1.193 GB, free: 94.03 MB / 0.4952 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04122/4.559, allocations: 13.9 MB / 1.206 GB, free: 93.75 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003462/4.563, allocations: 0.581 MB / 1.207 GB, free: 93.75 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05172/4.614, allocations: 15.13 MB / 1.221 GB, free: 93.39 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003661/4.615, allocations: 197 kB / 1.222 GB, free: 93.39 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.38e-05/4.615, allocations: 3.625 kB / 1.222 GB, free: 93.39 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001872/4.615, allocations: 32.25 kB / 1.222 GB, free: 93.39 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0867/4.702, allocations: 28.39 MB / 1.249 GB, free: 92.5 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.786e-05/4.702, allocations: 2.125 kB / 1.249 GB, free: 92.5 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01044/4.712, allocations: 1.117 MB / 1.25 GB, free: 92.5 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01259/4.725, allocations: 3.94 MB / 1.254 GB, free: 91.55 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002036/4.727, allocations: 82.45 kB / 1.254 GB, free: 91.53 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01921/4.746, allocations: 12.22 MB / 1.266 GB, free: 83.71 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.216e-05/4.746, allocations: 8.594 kB / 1.266 GB, free: 83.71 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06/4.806, allocations: 22.95 MB / 1.289 GB, free: 73.45 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007414/4.814, allocations: 1.799 MB / 1.29 GB, free: 72.45 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003197/4.817, allocations: 7.625 kB / 1.29 GB, free: 72.45 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008482/4.826, allocations: 273.2 kB / 1.291 GB, free: 72.45 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002977/4.829, allocations: 0.5791 MB / 1.291 GB, free: 72.33 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00189/4.831, allocations: 224.2 kB / 1.292 GB, free: 72.28 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.00609/4.837, allocations: 2.349 MB / 1.294 GB, free: 71.32 MB / 0.4952 GB Notification: Performance of sort global known variables: time 9.42e-07/4.837, allocations: 3.781 kB / 1.294 GB, free: 71.32 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.01345/4.85, allocations: 1.933 MB / 1.296 GB, free: 71.3 MB / 0.4952 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 4 (inertiaLoad.w,quadraticSpeedDependentTorque.phi,inertiaLoadQS.w,quadraticSpeedDependentTorqueQS.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (556): * Single equations (assignments): 500 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 48 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 4 {6 9,6 9,20 119,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0609/4.911, allocations: 24.83 MB / 1.32 GB, free: 55.3 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.0339/4.945, allocations: 13.02 MB / 1.333 GB, free: 43.72 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 1.155e-05/4.945, allocations: 0 / 1.333 GB, free: 43.72 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.01911/4.964, allocations: 6.789 MB / 1.339 GB, free: 37.67 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01152/4.976, allocations: 1.035 MB / 1.34 GB, free: 36.91 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4983/5.474, allocations: 25.16 MB / 1.365 GB, free: 92.26 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01868/5.493, allocations: 7.848 MB / 1.373 GB, free: 91.36 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01299/5.506, allocations: 4.791 MB / 1.377 GB, free: 91.36 MB / 0.4952 GB Notification: Performance of SimCode: time 1.993e-06/5.506, allocations: 0 / 1.377 GB, free: 91.36 MB / 0.4952 GB 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_CurrentSourceCalcHelperMain.o OMCppModelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSourceCalcHelperMain.cpp In file included from OMCppModelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSourceCalcHelperMain.cpp:28: ./OMCppModelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSourceFunctions.cpp:547:43: error: use of undeclared identifier 'UNKNOWN_SUBSCRIPT' tmp311 = 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_CurrentSourceFunctions.cpp:547:86: error: use of undeclared identifier 'UNKNOWN_SUBSCRIPT' tmp311 = 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_CurrentSourceCalcHelperMain.cpp:35: In file included from ./OMCppModelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSourceFMU.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_CurrentSourceCalcHelperMain.o' failed make: *** [OMCppModelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_CurrentSourceCalcHelperMain.o] Error 1