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"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001433/0.001433, allocations: 182.8 kB / 8.137 MB, free: 2.223 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 0.9953/0.9953, allocations: 194.2 MB / 202.8 MB, free: 8.656 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.001675/0.001675, allocations: 115.1 kB / 247.7 MB, free: 6.375 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1607/0.1607, allocations: 37.92 MB / 330.5 MB, free: 6.914 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1682/0.3289, allocations: 59.34 MB / 389.9 MB, free: 78.02 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07151/0.4005, allocations: 53.23 MB / 443.1 MB, free: 24.89 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2498/0.6503, allocations: 117.9 MB / 0.5479 GB, free: 5.941 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002354/0.6505, allocations: 97.69 kB / 0.548 GB, free: 5.891 MB / 362.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.1158/0.7664, allocations: 43.19 MB / 0.5902 GB, free: 1.359 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.7664, allocations: 8 kB / 0.5902 GB, free: 1.352 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001944/0.7684, allocations: 285.8 kB / 0.5905 GB, free: 1.07 MB / 394.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.005005/0.7734, allocations: 1.688 MB / 0.5921 GB, free: 15.68 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.059e-05/0.7735, allocations: 40 kB / 0.5921 GB, free: 15.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002924/0.7738, allocations: 81.83 kB / 0.5922 GB, free: 15.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002367/0.7762, allocations: 1.17 MB / 0.5934 GB, free: 14.64 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002635/0.7788, allocations: 1.493 MB / 0.5948 GB, free: 13.07 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.832e-05/0.7789, allocations: 7.984 kB / 0.5948 GB, free: 13.06 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001272/0.779, allocations: 0 / 0.5948 GB, free: 13.06 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001452/0.7792, allocations: 94.36 kB / 0.5949 GB, free: 12.97 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009001/0.7882, allocations: 5.751 MB / 0.6005 GB, free: 6.93 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009674/0.7892, allocations: 0.6658 MB / 0.6012 GB, free: 6.23 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000542/0.7897, allocations: 429.5 kB / 0.6016 GB, free: 5.805 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.89e-05/0.7898, allocations: 12.64 kB / 0.6016 GB, free: 5.793 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.7898, allocations: 51.14 kB / 0.6017 GB, free: 5.734 MB / 410.7 MB Notification: Performance of pre-optimization done (n=75): time 2.965e-06/0.7898, allocations: 4 kB / 0.6017 GB, free: 5.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=88): time 0.006066/0.7959, allocations: 3.198 MB / 0.6048 GB, free: 2.465 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.682e-05/0.796, allocations: 163 kB / 0.6049 GB, free: 2.27 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007902/0.7968, allocations: 0.5978 MB / 0.6055 GB, free: 1.66 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.407e-05/0.7969, allocations: 29.7 kB / 0.6056 GB, free: 1.625 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002774/0.7972, allocations: 0.5293 MB / 0.6061 GB, free: 1.086 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000243/0.7974, allocations: 311.5 kB / 0.6064 GB, free: 0.7773 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.264e-05/0.7975, allocations: 0 / 0.6064 GB, free: 0.7773 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000183/0.7977, allocations: 406.7 kB / 0.6068 GB, free: 380 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006497/0.7983, allocations: 462.5 kB / 0.6072 GB, free: 15.92 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008224/0.7992, allocations: 0.7522 MB / 0.6079 GB, free: 15.04 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008194/0.8, allocations: 0.5924 MB / 0.6085 GB, free: 14.45 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.8, allocations: 4 kB / 0.6085 GB, free: 14.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.003613/0.8036, allocations: 1.806 MB / 0.6103 GB, free: 12.62 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001065/0.8047, allocations: 3.39 MB / 0.6136 GB, free: 8.961 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00302/0.8077, allocations: 1.462 MB / 0.615 GB, free: 7.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002223/0.81, allocations: 0.5972 MB / 0.6156 GB, free: 6.867 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001742/0.8117, allocations: 0.5072 MB / 0.6161 GB, free: 6.359 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01305/0.8248, allocations: 14.88 MB / 0.6306 GB, free: 6.508 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000981/0.8258, allocations: 40.06 kB / 0.6307 GB, free: 6.469 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.904e-05/0.8259, allocations: 47.98 kB / 0.6307 GB, free: 6.422 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.745e-06/0.8259, allocations: 7.906 kB / 0.6307 GB, free: 6.414 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003495/0.8294, allocations: 1.665 MB / 0.6323 GB, free: 4.734 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002926/0.8324, allocations: 1.45 MB / 0.6338 GB, free: 3.27 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002119/0.8345, allocations: 0.6005 MB / 0.6344 GB, free: 2.656 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008324/0.8353, allocations: 227.6 kB / 0.6346 GB, free: 2.434 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01191/0.8473, allocations: 13.5 MB / 0.6478 GB, free: 4.008 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009092/0.8482, allocations: 19.98 kB / 0.6478 GB, free: 3.988 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.266e-05/0.8483, allocations: 47.98 kB / 0.6478 GB, free: 3.941 MB / 458.7 MB Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: turboGen.rotor.w_start:VARIABLE(unit = "rad/s" ) = turboGen.rotor.w_start "initial rotor angular velocity" type: Real Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: turboGen.rotor.H:VARIABLE(unit = "s" ) = turboGen.rotor.H "inertia constant turbine + generator" type: Real Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: turboGen.rotor.w_nom:VARIABLE(unit = "rad/s" ) = turboGen.rotor.w_nom "nominal angular velocity" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (119): * Single equations (assignments): 109 * 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 15} Notification: Performance of prepare postOptimizeDAE: time 0.0003334/0.8486, allocations: 141.4 kB / 0.648 GB, free: 3.797 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001836/0.8488, allocations: 94.78 kB / 0.648 GB, free: 3.703 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00239/0.8512, allocations: 1.348 MB / 0.6494 GB, free: 2.328 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.8513, allocations: 12 kB / 0.6494 GB, free: 2.316 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.8513, allocations: 4 kB / 0.6494 GB, free: 2.312 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.889e-06/0.8513, allocations: 3.984 kB / 0.6494 GB, free: 2.309 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004689/0.856, allocations: 2.812 MB / 0.6521 GB, free: 15.38 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.513e-06/0.856, allocations: 4 kB / 0.6521 GB, free: 15.38 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000618/0.8566, allocations: 139.8 kB / 0.6523 GB, free: 15.24 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001138/0.8578, allocations: 411.9 kB / 0.6527 GB, free: 14.82 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.268e-05/0.8579, allocations: 27.98 kB / 0.6527 GB, free: 14.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006829/0.8647, allocations: 8.321 MB / 0.6608 GB, free: 5.898 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.175e-06/0.8647, allocations: 7.938 kB / 0.6608 GB, free: 5.891 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002982/0.8677, allocations: 2.166 MB / 0.6629 GB, free: 3.531 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003722/0.8714, allocations: 3.14 MB / 0.666 GB, free: 188 kB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.1172/0.9886, allocations: 259.2 kB / 0.6662 GB, free: 184.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003202/0.989, allocations: 25.78 kB / 0.6663 GB, free: 184.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007959/0.9898, allocations: 30.5 kB / 0.6663 GB, free: 184.2 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/0.9899, allocations: 56.09 kB / 0.6663 GB, free: 184.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.696e-05/0.99, allocations: 31.59 kB / 0.6664 GB, free: 184.2 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0005666/0.9906, allocations: 467.6 kB / 0.6668 GB, free: 184.1 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003664/0.9942, allocations: 0.5822 MB / 0.6674 GB, free: 184.1 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (69): * Single equations (assignments): 63 * 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%) 1,(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002831/0.9945, allocations: 184.1 kB / 0.6676 GB, free: 184 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004831/0.9994, allocations: 3.441 MB / 0.6709 GB, free: 182.9 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.9994, allocations: 2.438 kB / 0.6709 GB, free: 182.9 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00135/1.001, allocations: 1.073 MB / 0.672 GB, free: 182.4 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009064/1.002, allocations: 181.4 kB / 0.6722 GB, free: 182.4 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004267/1.006, allocations: 2.609 MB / 0.6747 GB, free: 181.8 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008951/1.007, allocations: 1.421 MB / 0.6761 GB, free: 181.1 MB / 474.7 MB Notification: Performance of SimCode: time 5.11e-07/1.007, allocations: 3.719 kB / 0.6761 GB, free: 181.1 MB / 474.7 MB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine/PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine.fmutmp/sources' clang -fPIC -falign-functions -Os -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=11 -DOMC_NUM_NONLINEAR_SYSTEMS=12 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_FMU.o PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_FMU.c In file included from PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_FMU.c:9: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -fPIC -falign-functions -Os -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=11 -DOMC_NUM_NONLINEAR_SYSTEMS=12 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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:2: In file included from ./PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_model.h:4: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -fPIC -falign-functions -Os -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=11 -DOMC_NUM_NONLINEAR_SYSTEMS=12 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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:1: In file included from ./PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_functions.h:3: In file included from include/meta/meta_modelica.h:49: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -fPIC -falign-functions -Os -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=11 -DOMC_NUM_NONLINEAR_SYSTEMS=12 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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:3: In file included from include/meta/meta_modelica.h:49: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -fPIC -falign-functions -Os -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=11 -DOMC_NUM_NONLINEAR_SYSTEMS=12 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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:4: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -fPIC -falign-functions -Os -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=11 -DOMC_NUM_NONLINEAR_SYSTEMS=12 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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:4: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -fPIC -falign-functions -Os -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=11 -DOMC_NUM_NONLINEAR_SYSTEMS=12 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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:4: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -fPIC -falign-functions -Os -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=11 -DOMC_NUM_NONLINEAR_SYSTEMS=12 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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:4: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -fPIC -falign-functions -Os -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=11 -DOMC_NUM_NONLINEAR_SYSTEMS=12 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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:4: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -fPIC -falign-functions -Os -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=11 -DOMC_NUM_NONLINEAR_SYSTEMS=12 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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:4: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_06inz.c:203:45: error: use of undeclared identifier '$PturboGen$Pexcitation$Pgenerator$Ppar$PV_nom' data->simulationInfo->realParameter[92] = $PturboGen$Pexcitation$Pgenerator$Ppar$PV_nom; ^ PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_06inz.c:216:45: error: use of undeclared identifier '$PturboGen$Pexcitation$Pgenerator$PVf_nom' data->simulationInfo->realParameter[93] = $PturboGen$Pexcitation$Pgenerator$PVf_nom; ^ PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_06inz.c:293:46: error: use of undeclared identifier '$PturboGen$Protor$Pgenerator$Ppar$PS_nom' data->simulationInfo->realParameter[130] = $PturboGen$Protor$Pgenerator$Ppar$PS_nom; ^ PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_06inz.c:4404:45: error: use of undeclared identifier '$PturboGen$Pexcitation$Pgenerator$Ppar$PV_nom' data->simulationInfo->realParameter[92] = $PturboGen$Pexcitation$Pgenerator$Ppar$PV_nom; ^ PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_06inz.c:4417:45: error: use of undeclared identifier '$PturboGen$Pexcitation$Pgenerator$PVf_nom' data->simulationInfo->realParameter[93] = $PturboGen$Pexcitation$Pgenerator$PVf_nom; ^ PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_06inz.c:4494:46: error: use of undeclared identifier '$PturboGen$Protor$Pgenerator$Ppar$PS_nom' data->simulationInfo->realParameter[130] = $PturboGen$Protor$Pgenerator$Ppar$PS_nom; ^ 2 warnings and 6 errors generated. make: *** [: PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_06inz.o] Error 1 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine/PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine.fmutmp/sources' Error: Error building simulator. Build log: checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu build_short: x86_64-linux-gnu host_short: x86_64-linux-gnu checking for gcc... clang checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether clang accepts -g... yes checking for clang option to accept ISO C89... none needed checking how to run the C preprocessor... clang -E checking whether make sets $(MAKE)... yes checking for cross-compilation flags... not cross-compiling checking if -Werror works... ok checking looking for --no-undefined... yes checking looking for dollars in identifiers... CPPFLAGS: -fdollars-in-identifiers checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... no checking for an ANSI C-conforming const... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for size_t... yes checking for vprintf... yes checking for _doprnt... yes checking for strdup... yes checking for strerror... yes checking LAPACK/BLAS flags... not found checking for static pthreads... no checking for pthread_mutex_lock in -lpthread... yes checking for cos in -lm... yes checking for filesystem access... OK configure: creating ./config.status config.status: creating Makefile rm -f PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine.def PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine.o PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine.a PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine.so PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_FMU.o PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine.o PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_functions.o PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_records.o PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_01exo.o PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_02nls.o PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_03lsy.o PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_04set.o PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_05evt.o PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_06inz.o PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_07dly.o PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_08bnd.o PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_09alg.o PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_10asr.o PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_11mix.o PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_12jac.o PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_13opt.o PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_14lnz.o PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_15syn.o PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_16dae.o PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_17inl.o PowerSystems_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_init_fmu.o include/./gc/memory_pool.o include/./util/base_array.o include/./util/boolean_array.o include/./util/omc_error.o include/./util/division.o include/./util/generic_array.o include/./util/index_spec.o include/./util/integer_array.o include/./util/list.o include/./util/modelica_string.o include/./util/real_array.o include/./util/ringbuffer.o include/./util/string_array.o include/./util/utility.o include/./util/varinfo.o include/./util/ModelicaUtilities.o include/./util/omc_msvc.o include/./util/simulation_options.o include/./util/cJSON.o include/./util/rational.o include/./util/modelica_string_lit.o include/./util/omc_init.o include/./util/omc_mmap.o include/./math-support/pivot.o include/./simulation/simulation_info_json.o include/./simulation/options.o include/./simulation/simulation_omc_assert.o include/./simulation/solver/delay.o include/./simulation/solver/linearSystem.o include/./simulation/solver/linearSolverLapack.o include/./simulation/solver/linearSolverTotalPivot.o include/./simulation/solver/nonlinearSystem.o include/./simulation/solver/nonlinearValuesList.o include/./simulation/solver/nonlinearSolverHybrd.o include/./simulation/solver/nonlinearSolverHomotopy.o include/./simulation/solver/omc_math.o include/./simulation/solver/model_help.o include/./simulation/solver/stateset.o include/./simulation/solver/synchronous.o include/./simulation/solver/initialization/initialization.o include/./meta/meta_modelica_catch.o include/./external_solvers/enorm_.o include/./external_solvers/hybrj_.o include/./external_solvers/dpmpar_.o include/./external_solvers/qrfac_.o include/./external_solvers/qform_.o include/./external_solvers/dogleg_.o include/./external_solvers/r1updt_.o include/./external_solvers/r1mpyq_.o include/./external_solvers/dgesv.o include/./external_solvers/dgetrf.o include/./external_solvers/dlamch.o include/./external_solvers/ilaenv.o include/./external_solvers/xerbla.o include/./external_solvers/dgetf2.o include/./external_solvers/dgetrs.o include/./external_solvers/dlaswp.o include/./external_solvers/ieeeck.o include/./external_solvers/iparmq.o include/./external_solvers/dgemm.o include/./external_solvers/dger.o include/./external_solvers/dscal.o include/./external_solvers/dswap.o include/./external_solvers/dtrsm.o include/./external_solvers/idamax.o include/./external_solvers/lsame.o include/./external_solvers/i_nint.o include/./external_solvers/pow_di.o include/./external_solvers/s_cmp.o include/./external_solvers/s_copy.o