Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Machines.DCPM_SpeedControlled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.Machines.DCPM_SpeedControlled,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_Machines_DCPM_SpeedControlled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.Machines.DCPM_SpeedControlled,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_Machines_DCPM_SpeedControlled",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009972/0.0009972, allocations: 196.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.287/1.287, allocations: 225.4 MB / 240.1 MB, free: 15.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009123/0.0009123, allocations: 83.98 kB / 292.1 MB, free: 6.008 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1924/0.1924, allocations: 45.15 MB / 389.3 MB, free: 11.87 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.653e-05/3.656e-05, allocations: 4 kB / 460.5 MB, free: 69.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1109, allocations: 63.24 MB / 0.5115 GB, free: 6.711 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3798/0.4907, allocations: 98.4 MB / 0.6075 GB, free: 11.57 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001839/0.4909, allocations: 74.52 kB / 0.6076 GB, free: 11.53 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03416/0.5251, allocations: 13.68 MB / 0.621 GB, free: 15.96 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.5251, allocations: 0 / 0.621 GB, free: 15.96 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.34e-05/0.5252, allocations: 20 kB / 0.621 GB, free: 15.95 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.001247/0.5264, allocations: 0.8329 MB / 0.6218 GB, free: 15.11 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.5265, allocations: 11.97 kB / 0.6218 GB, free: 15.1 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001059/0.5266, allocations: 104.7 kB / 0.6219 GB, free: 15.02 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001152/0.5267, allocations: 87.8 kB / 0.622 GB, free: 14.94 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006568/0.5274, allocations: 481.1 kB / 0.6225 GB, free: 14.5 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.928e-05/0.5274, allocations: 47.19 kB / 0.6225 GB, free: 14.48 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.001e-05/0.5275, allocations: 60.62 kB / 0.6226 GB, free: 14.44 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008393/0.5284, allocations: 0.5492 MB / 0.6231 GB, free: 14.05 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.363e-05/0.5284, allocations: 7.984 kB / 0.6231 GB, free: 14.04 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.542e-05/0.5285, allocations: 24.81 kB / 0.6231 GB, free: 14.04 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.527e-05/0.5285, allocations: 16 kB / 0.6231 GB, free: 14.02 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005762/0.5291, allocations: 355.2 kB / 0.6235 GB, free: 13.8 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002809/0.5319, allocations: 2.196 MB / 0.6256 GB, free: 11.98 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008235/0.5327, allocations: 0.5281 MB / 0.6261 GB, free: 11.51 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002008/0.5329, allocations: 138.1 kB / 0.6263 GB, free: 11.43 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.611e-05/0.533, allocations: 7.969 kB / 0.6263 GB, free: 11.42 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.533, allocations: 42.39 kB / 0.6263 GB, free: 11.37 MB / 426.7 MB Notification: Performance of pre-optimization done (n=32): time 3.737e-06/0.533, allocations: 4 kB / 0.6263 GB, free: 11.37 MB / 426.7 MB Notification: Performance of matching and sorting (n=33): time 0.001222/0.5342, allocations: 0.8202 MB / 0.6271 GB, free: 10.64 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.254e-05/0.5343, allocations: 55.41 kB / 0.6272 GB, free: 10.57 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005012/0.5348, allocations: 459 kB / 0.6276 GB, free: 10.23 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/0.5348, allocations: 29.14 kB / 0.6276 GB, free: 10.2 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002077/0.535, allocations: 350.1 kB / 0.628 GB, free: 9.945 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.068e-05/0.5351, allocations: 126.7 kB / 0.6281 GB, free: 9.836 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.498e-05/0.5351, allocations: 10.81 kB / 0.6281 GB, free: 9.832 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.5353, allocations: 362.8 kB / 0.6285 GB, free: 9.492 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001678/0.5355, allocations: 102.9 kB / 0.6286 GB, free: 9.43 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002163/0.5357, allocations: 184.6 kB / 0.6287 GB, free: 9.27 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001995/0.5359, allocations: 136.2 kB / 0.6289 GB, free: 9.18 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.5359, allocations: 4 kB / 0.6289 GB, free: 9.176 MB / 426.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005952/0.5365, allocations: 411.7 kB / 0.6293 GB, free: 8.863 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003153/0.5368, allocations: 0.879 MB / 0.6301 GB, free: 7.934 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.5369, allocations: 4 kB / 0.6301 GB, free: 7.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001301/0.537, allocations: 23.59 kB / 0.6301 GB, free: 7.906 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004043/0.5374, allocations: 107.4 kB / 0.6302 GB, free: 7.805 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008874/0.5383, allocations: 1.284 MB / 0.6315 GB, free: 6.434 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002529/0.5386, allocations: 26.61 kB / 0.6315 GB, free: 6.414 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.707e-05/0.5386, allocations: 17.88 kB / 0.6315 GB, free: 6.402 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.112e-06/0.5386, allocations: 7.938 kB / 0.6316 GB, free: 6.395 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005011/0.5391, allocations: 332.4 kB / 0.6319 GB, free: 6.164 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.5391, allocations: 4 kB / 0.6319 GB, free: 6.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.06e-05/0.5392, allocations: 30.86 kB / 0.6319 GB, free: 6.133 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000331/0.5395, allocations: 91.22 kB / 0.632 GB, free: 6.047 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007978/0.5404, allocations: 1.293 MB / 0.6332 GB, free: 4.672 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001993/0.5406, allocations: 19.34 kB / 0.6333 GB, free: 4.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.139e-05/0.5406, allocations: 15.94 kB / 0.6333 GB, free: 4.648 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 2 (speedController.integrator.local_reset,currentController.integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001193/0.5407, allocations: 121.8 kB / 0.6334 GB, free: 4.535 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.711e-05/0.5408, allocations: 51.34 kB / 0.6334 GB, free: 4.484 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001102/0.5409, allocations: 63.8 kB / 0.6335 GB, free: 4.445 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.5409, allocations: 4 kB / 0.6335 GB, free: 4.441 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.5409, allocations: 0 / 0.6335 GB, free: 4.441 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.541, allocations: 3.984 kB / 0.6335 GB, free: 4.438 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001278/0.5422, allocations: 1.013 MB / 0.6345 GB, free: 3.617 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.155e-06/0.5422, allocations: 0 / 0.6345 GB, free: 3.617 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003394/0.5426, allocations: 79.95 kB / 0.6346 GB, free: 3.539 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.089e-05/0.5427, allocations: 24.16 kB / 0.6346 GB, free: 3.516 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.98e-05/0.5427, allocations: 6.562 kB / 0.6346 GB, free: 3.516 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007056/0.5434, allocations: 1.281 MB / 0.6359 GB, free: 2.152 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.5434, allocations: 4.031 kB / 0.6359 GB, free: 2.148 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006325/0.5441, allocations: 0.5652 MB / 0.6364 GB, free: 1.676 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.5442, allocations: 136.6 kB / 0.6365 GB, free: 1.535 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.84e-05/0.5442, allocations: 10.89 kB / 0.6366 GB, free: 1.527 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000263/0.5445, allocations: 38.53 kB / 0.6366 GB, free: 1.496 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.565e-05/0.5446, allocations: 23.72 kB / 0.6366 GB, free: 1.477 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.5446, allocations: 4 kB / 0.6366 GB, free: 1.473 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003497/0.5449, allocations: 357.6 kB / 0.637 GB, free: 1.211 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.545, allocations: 0 / 0.637 GB, free: 1.211 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005772/0.5455, allocations: 197.2 kB / 0.6372 GB, free: 1.039 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (dcpm.inductor.i,dcpm.inertia.w,inertiaLoad.phi,deadTime.y,currentController.integrator.y,preFilter.y,speedController.integrator.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001077/0.5466, allocations: 1.341 MB / 0.6385 GB, free: 15.8 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0009215/0.5476, allocations: 0.6773 MB / 0.6391 GB, free: 15.24 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.5476, allocations: 4.25 kB / 0.6391 GB, free: 15.24 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002718/0.5479, allocations: 250.9 kB / 0.6394 GB, free: 15.02 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004711/0.5483, allocations: 86.08 kB / 0.6394 GB, free: 14.96 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001765/0.5501, allocations: 1.064 MB / 0.6405 GB, free: 13.95 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004328/0.5506, allocations: 0.9068 MB / 0.6414 GB, free: 13.01 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003315/0.5509, allocations: 90.38 kB / 0.6415 GB, free: 12.92 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002462/0.5512, allocations: 219.5 kB / 0.6417 GB, free: 12.87 MB / 442.7 MB Notification: Performance of SimCode: time 3.41e-07/0.5512, allocations: 4 kB / 0.6417 GB, free: 12.87 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02637/0.5775, allocations: 12.19 MB / 0.6536 GB, free: 0.8633 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001958/0.5778, allocations: 189.8 kB / 0.6538 GB, free: 0.6328 MB / 442.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o ModelicaTest_trunk_ModelicaTest_Electrical_Machines_DCPM_SpeedControlled.o ModelicaTest_trunk_ModelicaTest_Electrical_Machines_DCPM_SpeedControlled.c In file included from ModelicaTest_trunk_ModelicaTest_Electrical_Machines_DCPM_SpeedControlled.c:7: In file included from ./ModelicaTest_trunk_ModelicaTest_Electrical_Machines_DCPM_SpeedControlled_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o ModelicaTest_trunk_ModelicaTest_Electrical_Machines_DCPM_SpeedControlled_functions.o ModelicaTest_trunk_ModelicaTest_Electrical_Machines_DCPM_SpeedControlled_functions.c In file included from ModelicaTest_trunk_ModelicaTest_Electrical_Machines_DCPM_SpeedControlled_functions.c:2: In file included from ./ModelicaTest_trunk_ModelicaTest_Electrical_Machines_DCPM_SpeedControlled_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o ModelicaTest_trunk_ModelicaTest_Electrical_Machines_DCPM_SpeedControlled_records.o ModelicaTest_trunk_ModelicaTest_Electrical_Machines_DCPM_SpeedControlled_records.c In file included from ModelicaTest_trunk_ModelicaTest_Electrical_Machines_DCPM_SpeedControlled_records.c:4: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ ModelicaTest_trunk_ModelicaTest_Electrical_Machines_DCPM_SpeedControlled_records.c:317:15: error: no member named '_RA' in 'ModelicaTest_Electrical_Machines_DCPM__Utilities_DriveData' tmp4 = ths->_RA; ~~~ ^ ModelicaTest_trunk_ModelicaTest_Electrical_Machines_DCPM_SpeedControlled_records.c:318:15: error: no member named '_Tsub' in 'ModelicaTest_Electrical_Machines_DCPM__Utilities_DriveData' tmp5 = ths->_Tsub; ~~~ ^ ModelicaTest_trunk_ModelicaTest_Electrical_Machines_DCPM_SpeedControlled_records.c:319:154: error: no member named '_LA' in 'ModelicaTest_Electrical_Machines_DCPM__Utilities_DriveData' ModelicaTest_Electrical_Machines_DCPM__Utilities_D_ControllerData24controllerData_1_2_3_4_5_construct(threadData, ths->_controllerData, (0.5) * ((ths->_LA) / tmp3), (ths->_LA) / tmp4, (2.0) * (ths->_Td), (0.5) * ((ths->_J + ths->_JL) / tmp5), (4.0) * (ths->_Tsub)); // ths->_controllerData has no default value. ~~~ ^ ./ModelicaTest_trunk_ModelicaTest_Electrical_Machines_DCPM_SpeedControlled_functions.h:156:277: note: expanded from macro 'ModelicaTest_Electrical_Machines_DCPM__Utilities_D_ControllerData24controllerData_1_2_3_4_5_construct' #define ModelicaTest_Electrical_Machines_DCPM__Utilities_D_ControllerData24controllerData_1_2_3_4_5_construct(td, ths , in_kpI, in_TiI, in_Tsub, in_kpw, in_Tiw) ModelicaTest_Electrical_Machines_DCPM__Utilities_D_ControllerData24controllerData_1_2_3_4_5_construct_p(td, &ths , in_kpI, in_TiI, in_Tsub, in_kpw, in_Tiw) ^~~~~~ ModelicaTest_trunk_ModelicaTest_Electrical_Machines_DCPM_SpeedControlled_records.c:319:174: error: no member named '_LA' in 'ModelicaTest_Electrical_Machines_DCPM__Utilities_DriveData' ModelicaTest_Electrical_Machines_DCPM__Utilities_D_ControllerData24controllerData_1_2_3_4_5_construct(threadData, ths->_controllerData, (0.5) * ((ths->_LA) / tmp3), (ths->_LA) / tmp4, (2.0) * (ths->_Td), (0.5) * ((ths->_J + ths->_JL) / tmp5), (4.0) * (ths->_Tsub)); // ths->_controllerData has no default value. ~~~ ^ ./ModelicaTest_trunk_ModelicaTest_Electrical_Machines_DCPM_SpeedControlled_functions.h:156:285: note: expanded from macro 'ModelicaTest_Electrical_Machines_DCPM__Utilities_D_ControllerData24controllerData_1_2_3_4_5_construct' #define ModelicaTest_Electrical_Machines_DCPM__Utilities_D_ControllerData24controllerData_1_2_3_4_5_construct(td, ths , in_kpI, in_TiI, in_Tsub, in_kpw, in_Tiw) ModelicaTest_Electrical_Machines_DCPM__Utilities_D_ControllerData24controllerData_1_2_3_4_5_construct_p(td, &ths , in_kpI, in_TiI, in_Tsub, in_kpw, in_Tiw) ^~~~~~ ModelicaTest_trunk_ModelicaTest_Electrical_Machines_DCPM_SpeedControlled_records.c:319:222: error: no member named '_J' in 'ModelicaTest_Electrical_Machines_DCPM__Utilities_DriveData' ModelicaTest_Electrical_Machines_DCPM__Utilities_D_ControllerData24controllerData_1_2_3_4_5_construct(threadData, ths->_controllerData, (0.5) * ((ths->_LA) / tmp3), (ths->_LA) / tmp4, (2.0) * (ths->_Td), (0.5) * ((ths->_J + ths->_JL) / tmp5), (4.0) * (ths->_Tsub)); // ths->_controllerData has no default value. ~~~ ^ ./ModelicaTest_trunk_ModelicaTest_Electrical_Machines_DCPM_SpeedControlled_functions.h:156:302: note: expanded from macro 'ModelicaTest_Electrical_Machines_DCPM__Utilities_D_ControllerData24controllerData_1_2_3_4_5_construct' #define ModelicaTest_Electrical_Machines_DCPM__Utilities_D_ControllerData24controllerData_1_2_3_4_5_construct(td, ths , in_kpI, in_TiI, in_Tsub, in_kpw, in_Tiw) ModelicaTest_Electrical_Machines_DCPM__Utilities_D_ControllerData24controllerData_1_2_3_4_5_construct_p(td, &ths , in_kpI, in_TiI, in_Tsub, in_kpw, in_Tiw) ^~~~~~ ModelicaTest_trunk_ModelicaTest_Electrical_Machines_DCPM_SpeedControlled_records.c:319:260: error: no member named '_Tsub' in 'ModelicaTest_Electrical_Machines_DCPM__Utilities_DriveData' ModelicaTest_Electrical_Machines_DCPM__Utilities_D_ControllerData24controllerData_1_2_3_4_5_construct(threadData, ths->_controllerData, (0.5) * ((ths->_LA) / tmp3), (ths->_LA) / tmp4, (2.0) * (ths->_Td), (0.5) * ((ths->_J + ths->_JL) / tmp5), (4.0) * (ths->_Tsub)); // ths->_controllerData has no default value. ~~~ ^ ./ModelicaTest_trunk_ModelicaTest_Electrical_Machines_DCPM_SpeedControlled_functions.h:156:310: note: expanded from macro 'ModelicaTest_Electrical_Machines_DCPM__Utilities_D_ControllerData24controllerData_1_2_3_4_5_construct' #define ModelicaTest_Electrical_Machines_DCPM__Utilities_D_ControllerData24controllerData_1_2_3_4_5_construct(td, ths , in_kpI, in_TiI, in_Tsub, in_kpw, in_Tiw) ModelicaTest_Electrical_Machines_DCPM__Utilities_D_ControllerData24controllerData_1_2_3_4_5_construct_p(td, &ths , in_kpI, in_TiI, in_Tsub, in_kpw, in_Tiw) ^~~~~~ ModelicaTest_trunk_ModelicaTest_Electrical_Machines_DCPM_SpeedControlled_records.c:382:15: error: no member named '_RA' in 'ModelicaTest_Electrical_Machines_DCPM__Utilities_DriveData' tmp8 = ths->_RA; ~~~ ^ ModelicaTest_trunk_ModelicaTest_Electrical_Machines_DCPM_SpeedControlled_records.c:383:15: error: no member named '_Tsub' in 'ModelicaTest_Electrical_Machines_DCPM__Utilities_DriveData' tmp9 = ths->_Tsub; ~~~ ^ ModelicaTest_trunk_ModelicaTest_Electrical_Machines_DCPM_SpeedControlled_records.c:384:154: error: no member named '_LA' in 'ModelicaTest_Electrical_Machines_DCPM__Utilities_DriveData' ModelicaTest_Electrical_Machines_DCPM__Utilities_D_ControllerData24controllerData_1_2_3_4_5_construct(threadData, ths->_controllerData, (0.5) * ((ths->_LA) / tmp7), (ths->_LA) / tmp8, (2.0) * (ths->_Td), (0.5) * ((ths->_J + ths->_JL) / tmp9), (4.0) * (ths->_Tsub)); // ths->_controllerData has no default value. ~~~ ^ ./ModelicaTest_trunk_ModelicaTest_Electrical_Machines_DCPM_SpeedControlled_functions.h:156:277: note: expanded from macro 'ModelicaTest_Electrical_Machines_DCPM__Utilities_D_ControllerData24controllerData_1_2_3_4_5_construct' #define ModelicaTest_Electrical_Machines_DCPM__Utilities_D_ControllerData24controllerData_1_2_3_4_5_construct(td, ths , in_kpI, in_TiI, in_Tsub, in_kpw, in_Tiw) ModelicaTest_Electrical_Machines_DCPM__Utilities_D_ControllerData24controllerData_1_2_3_4_5_construct_p(td, &ths , in_kpI, in_TiI, in_Tsub, in_kpw, in_Tiw) ^~~~~~ ModelicaTest_trunk_ModelicaTest_Electrical_Machines_DCPM_SpeedControlled_records.c:384:174: error: no member named '_LA' in 'ModelicaTest_Electrical_Machines_DCPM__Utilities_DriveData' ModelicaTest_Electrical_Machines_DCPM__Utilities_D_ControllerData24controllerData_1_2_3_4_5_construct(threadData, ths->_controllerData, (0.5) * ((ths->_LA) / tmp7), (ths->_LA) / tmp8, (2.0) * (ths->_Td), (0.5) * ((ths->_J + ths->_JL) / tmp9), (4.0) * (ths->_Tsub)); // ths->_controllerData has no default value. ~~~ ^ ./ModelicaTest_trunk_ModelicaTest_Electrical_Machines_DCPM_SpeedControlled_functions.h:156:285: note: expanded from macro 'ModelicaTest_Electrical_Machines_DCPM__Utilities_D_ControllerData24controllerData_1_2_3_4_5_construct' #define ModelicaTest_Electrical_Machines_DCPM__Utilities_D_ControllerData24controllerData_1_2_3_4_5_construct(td, ths , in_kpI, in_TiI, in_Tsub, in_kpw, in_Tiw) ModelicaTest_Electrical_Machines_DCPM__Utilities_D_ControllerData24controllerData_1_2_3_4_5_construct_p(td, &ths , in_kpI, in_TiI, in_Tsub, in_kpw, in_Tiw) ^~~~~~ ModelicaTest_trunk_ModelicaTest_Electrical_Machines_DCPM_SpeedControlled_records.c:384:222: error: no member named '_J' in 'ModelicaTest_Electrical_Machines_DCPM__Utilities_DriveData' ModelicaTest_Electrical_Machines_DCPM__Utilities_D_ControllerData24controllerData_1_2_3_4_5_construct(threadData, ths->_controllerData, (0.5) * ((ths->_LA) / tmp7), (ths->_LA) / tmp8, (2.0) * (ths->_Td), (0.5) * ((ths->_J + ths->_JL) / tmp9), (4.0) * (ths->_Tsub)); // ths->_controllerData has no default value. ~~~ ^ ./ModelicaTest_trunk_ModelicaTest_Electrical_Machines_DCPM_SpeedControlled_functions.h:156:302: note: expanded from macro 'ModelicaTest_Electrical_Machines_DCPM__Utilities_D_ControllerData24controllerData_1_2_3_4_5_construct' #define ModelicaTest_Electrical_Machines_DCPM__Utilities_D_ControllerData24controllerData_1_2_3_4_5_construct(td, ths , in_kpI, in_TiI, in_Tsub, in_kpw, in_Tiw) ModelicaTest_Electrical_Machines_DCPM__Utilities_D_ControllerData24controllerData_1_2_3_4_5_construct_p(td, &ths , in_kpI, in_TiI, in_Tsub, in_kpw, in_Tiw) ^~~~~~ ModelicaTest_trunk_ModelicaTest_Electrical_Machines_DCPM_SpeedControlled_records.c:384:260: error: no member named '_Tsub' in 'ModelicaTest_Electrical_Machines_DCPM__Utilities_DriveData' ModelicaTest_Electrical_Machines_DCPM__Utilities_D_ControllerData24controllerData_1_2_3_4_5_construct(threadData, ths->_controllerData, (0.5) * ((ths->_LA) / tmp7), (ths->_LA) / tmp8, (2.0) * (ths->_Td), (0.5) * ((ths->_J + ths->_JL) / tmp9), (4.0) * (ths->_Tsub)); // ths->_controllerData has no default value. ~~~ ^ ./ModelicaTest_trunk_ModelicaTest_Electrical_Machines_DCPM_SpeedControlled_functions.h:156:310: note: expanded from macro 'ModelicaTest_Electrical_Machines_DCPM__Utilities_D_ControllerData24controllerData_1_2_3_4_5_construct' #define ModelicaTest_Electrical_Machines_DCPM__Utilities_D_ControllerData24controllerData_1_2_3_4_5_construct(td, ths , in_kpI, in_TiI, in_Tsub, in_kpw, in_Tiw) ModelicaTest_Electrical_Machines_DCPM__Utilities_D_ControllerData24controllerData_1_2_3_4_5_construct_p(td, &ths , in_kpI, in_TiI, in_Tsub, in_kpw, in_Tiw) ^~~~~~ 2 warnings and 12 errors generated. make: *** [: ModelicaTest_trunk_ModelicaTest_Electrical_Machines_DCPM_SpeedControlled_records.o] Error 1