Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00136/0.00136, allocations: 182 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.937/1.937, allocations: 194.3 MB / 208.4 MB, free: 6.707 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001777/0.001777, allocations: 124.6 kB / 253.5 MB, free: 9.578 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.2062/0.2062, allocations: 37.91 MB / 336.4 MB, free: 14.26 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 5.356e-05/5.389e-05, allocations: 4 kB / 397.6 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3433/0.3434, allocations: 53.21 MB / 450.9 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5715/0.9149, allocations: 118.6 MB / 0.5561 GB, free: 28.99 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003245/0.9153, allocations: 99.14 kB / 0.5562 GB, free: 28.99 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1042/1.02, allocations: 42.34 MB / 0.5976 GB, free: 13.59 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.577e-06/1.02, allocations: 0 / 0.5976 GB, free: 13.59 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.1e-05/1.02, allocations: 33.53 kB / 0.5976 GB, free: 13.58 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.002705/1.022, allocations: 1.409 MB / 0.599 GB, free: 12.48 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.936e-05/1.023, allocations: 8.031 kB / 0.599 GB, free: 12.48 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000259/1.023, allocations: 203.2 kB / 0.5992 GB, free: 12.34 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001548/1.024, allocations: 274 kB / 0.5994 GB, free: 12.07 MB / 378.7 MB Error: Variable generator.par.V_nom in package PowerSystems.AC3ph.Generation.TurboGenerator$turboGen is not constant. Error: Variable generator.Vf_nom in package PowerSystems.AC3ph.Generation.TurboGenerator$turboGen is not constant. Notification: Performance of preOpt evaluateParameters (simulation): time 0.004132/1.029, allocations: 1.723 MB / 0.6011 GB, free: 10.64 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.73e-05/1.029, allocations: 86.03 kB / 0.6012 GB, free: 10.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002538/1.029, allocations: 135.2 kB / 0.6013 GB, free: 10.5 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002546/1.031, allocations: 1.624 MB / 0.6029 GB, free: 9.301 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.478e-05/1.031, allocations: 7.938 kB / 0.6029 GB, free: 9.293 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001271/1.032, allocations: 48.25 kB / 0.603 GB, free: 9.281 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001253/1.032, allocations: 93.8 kB / 0.6031 GB, free: 9.195 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001916/1.034, allocations: 1.333 MB / 0.6044 GB, free: 8.289 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007892/1.042, allocations: 6.117 MB / 0.6103 GB, free: 2.973 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001016/1.043, allocations: 0.6782 MB / 0.611 GB, free: 2.492 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005833/1.043, allocations: 428.4 kB / 0.6114 GB, free: 2.219 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.518e-05/1.043, allocations: 19.06 kB / 0.6114 GB, free: 2.203 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.877e-05/1.043, allocations: 43.91 kB / 0.6115 GB, free: 2.152 MB / 378.7 MB Notification: Performance of pre-optimization done (n=73): time 3.617e-06/1.043, allocations: 0 / 0.6115 GB, free: 2.152 MB / 378.7 MB Notification: Performance of matching and sorting (n=84): time 0.008723/1.052, allocations: 3.664 MB / 0.6151 GB, free: 15.09 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001333/1.052, allocations: 174.8 kB / 0.6152 GB, free: 14.89 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001509/1.054, allocations: 0.7326 MB / 0.6159 GB, free: 14.27 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.746e-05/1.054, allocations: 41.7 kB / 0.616 GB, free: 14.23 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005916/1.055, allocations: 0.6273 MB / 0.6166 GB, free: 13.59 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003571/1.055, allocations: 303.7 kB / 0.6169 GB, free: 13.29 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.756e-05/1.055, allocations: 20 kB / 0.6169 GB, free: 13.27 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001427/1.055, allocations: 357.9 kB / 0.6172 GB, free: 12.91 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007791/1.056, allocations: 466.5 kB / 0.6177 GB, free: 12.46 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001056/1.057, allocations: 0.7504 MB / 0.6184 GB, free: 11.59 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/1.058, allocations: 0.5985 MB / 0.619 GB, free: 10.99 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.085e-05/1.058, allocations: 4 kB / 0.619 GB, free: 10.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=153) (initialization): time 0.004023/1.062, allocations: 1.874 MB / 0.6208 GB, free: 9.082 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001612/1.064, allocations: 3.223 MB / 0.624 GB, free: 5.609 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003108/1.067, allocations: 1.483 MB / 0.6254 GB, free: 4.105 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002081/1.069, allocations: 0.5694 MB / 0.626 GB, free: 3.523 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001776/1.071, allocations: 0.4955 MB / 0.6265 GB, free: 3.027 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01749/1.088, allocations: 19.84 MB / 0.6458 GB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001751/1.09, allocations: 67.8 kB / 0.6459 GB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003359/1.09, allocations: 55.98 kB / 0.646 GB, free: 13.76 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/1.09, allocations: 0 / 0.646 GB, free: 13.76 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004257/1.095, allocations: 1.761 MB / 0.6477 GB, free: 11.99 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003199/1.098, allocations: 1.464 MB / 0.6491 GB, free: 10.51 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002047/1.1, allocations: 0.574 MB / 0.6497 GB, free: 9.922 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009085/1.101, allocations: 243.6 kB / 0.6499 GB, free: 9.684 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01573/1.117, allocations: 18.52 MB / 0.668 GB, free: 5.926 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001306/1.118, allocations: 55.95 kB / 0.668 GB, free: 5.871 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000234/1.118, allocations: 44 kB / 0.6681 GB, free: 5.828 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (127): * Single equations (assignments): 117 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,2,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(2,100.0%) 8,(1,100.0%) 1} * Non-linear torn systems: 1 {2 11} Notification: Performance of prepare postOptimizeDAE: time 0.0005603/1.119, allocations: 189.2 kB / 0.6683 GB, free: 5.637 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003858/1.119, allocations: 102.7 kB / 0.6684 GB, free: 5.535 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002901/1.122, allocations: 1.346 MB / 0.6697 GB, free: 4.16 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/1.122, allocations: 8 kB / 0.6697 GB, free: 4.152 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-05/1.122, allocations: 4 kB / 0.6697 GB, free: 4.148 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/1.122, allocations: 7.922 kB / 0.6697 GB, free: 4.141 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006059/1.128, allocations: 2.851 MB / 0.6725 GB, free: 1.184 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.407e-06/1.128, allocations: 4 kB / 0.6725 GB, free: 1.18 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006041/1.129, allocations: 144.1 kB / 0.6726 GB, free: 1.039 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001161/1.13, allocations: 383.9 kB / 0.673 GB, free: 0.6484 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.937e-05/1.13, allocations: 27.98 kB / 0.673 GB, free: 0.6211 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008251/1.139, allocations: 8.674 MB / 0.6815 GB, free: 7.27 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.738e-06/1.139, allocations: 7.953 kB / 0.6815 GB, free: 7.262 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003644/1.142, allocations: 1.988 MB / 0.6834 GB, free: 5.129 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008327/1.143, allocations: 263.8 kB / 0.6837 GB, free: 4.852 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004161/1.143, allocations: 27.98 kB / 0.6837 GB, free: 4.824 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009228/1.144, allocations: 47.95 kB / 0.6838 GB, free: 4.777 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002209/1.145, allocations: 68.62 kB / 0.6838 GB, free: 4.711 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.261e-05/1.145, allocations: 27.95 kB / 0.6838 GB, free: 4.684 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00132/1.146, allocations: 0.5659 MB / 0.6844 GB, free: 4.102 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.31e-07/1.146, allocations: 0 / 0.6844 GB, free: 4.102 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004149/1.15, allocations: 0.6602 MB / 0.685 GB, free: 3.441 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 8 (turboGen.generator.phi_el,turboGen.generator.i_s[1],turboGen.generator.i_s[2],turboGen.generator.i_s[3],turboGen.rotor.w,RLgen1.i[1],RLgen1.i[2],RLgen1.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(2,100.0%) 10,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 1,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00478/1.155, allocations: 3.476 MB / 0.6884 GB, free: 15.84 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007277/1.162, allocations: 3.47 MB / 0.6918 GB, free: 12.23 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.087e-05/1.162, allocations: 0.625 kB / 0.6918 GB, free: 12.23 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002214/1.165, allocations: 1.146 MB / 0.6929 GB, free: 11.02 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001761/1.166, allocations: 199.5 kB / 0.6931 GB, free: 10.82 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008632/1.175, allocations: 2.87 MB / 0.6959 GB, free: 7.871 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001991/1.177, allocations: 1.364 MB / 0.6973 GB, free: 6.48 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001727/1.179, allocations: 416 kB / 0.6977 GB, free: 6.07 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008762/1.18, allocations: 487.3 kB / 0.6981 GB, free: 5.594 MB / 474.7 MB Notification: Performance of SimCode: time 1.813e-06/1.18, allocations: 0 / 0.6981 GB, free: 5.594 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3979/1.578, allocations: 33.27 MB / 0.7306 GB, free: 143.1 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001882/1.578, allocations: 187.8 kB / 0.7308 GB, free: 142.9 MB / 490.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 PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine.o PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine.c In file included from PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine.c:7: In file included from ./PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_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 PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_functions.o PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_functions.c In file included from PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_functions.c:2: In file included from ./PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_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 PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_records.o PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_records.c In file included from PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_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); ^ 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 PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_01exo.o PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_01exo.c In file included from PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_01exo.c:2: In file included from ./PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_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 PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_02nls.o PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_02nls.c In file included from PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_02nls.c:2: In file included from ./PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_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 PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_03lsy.o PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_03lsy.c In file included from PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_03lsy.c:2: In file included from ./PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_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 PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_04set.o PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_04set.c In file included from PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_04set.c:2: In file included from ./PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_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 PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_05evt.o PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_05evt.c In file included from PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_05evt.c:2: In file included from ./PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_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 PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_06inz.o PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_06inz.c In file included from PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_06inz.c:2: In file included from ./PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_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); ^ PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_06inz.c:176:84: error: use of undeclared identifier 'turboGen' data->simulationInfo->realParameter[110] /* turboGen.excitation.V_nom PARAM */ = turboGen.excitation.generator.par.V_nom; ^ PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_06inz.c:189:85: error: use of undeclared identifier 'turboGen' data->simulationInfo->realParameter[111] /* turboGen.excitation.Vf_nom PARAM */ = turboGen.excitation.generator.Vf_nom; ^ PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_06inz.c:266:79: error: use of undeclared identifier 'turboGen' data->simulationInfo->realParameter[156] /* turboGen.rotor.P_nom PARAM */ = turboGen.rotor.generator.par.S_nom; ^ 2 warnings and 3 errors generated. make: *** [: PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_06inz.o] Error 1