Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine,fileNamePrefix="PowerSystems_latest_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.3+maint.om/package.mo): time 0.001173/0.001172, allocations: 182.9 kB / 8.135 MB, free: 0.8711 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.354/1.354, allocations: 205.2 MB / 213.7 MB, free: 8.59 MB / 178.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009114/0.0009115, allocations: 93.48 kB / 261.7 MB, free: 5.152 MB / 210.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1618/0.1618, allocations: 37.97 MB / 347.7 MB, free: 0.9297 MB / 290.8 MB Notification: Performance of FrontEnd - loaded program: time 0.261/0.4228, allocations: 62.44 MB / 410.1 MB, free: 74.35 MB / 322.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.5248, allocations: 56.33 MB / 466.4 MB, free: 18 MB / 322.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3298/0.8546, allocations: 123.3 MB / 0.576 GB, free: 5.039 MB / 386.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000244/0.8549, allocations: 92.94 kB / 0.576 GB, free: 4.992 MB / 386.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.1255/0.9804, allocations: 43.62 MB / 0.6186 GB, free: 108 kB / 418.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.9805, allocations: 8 kB / 0.6186 GB, free: 100 kB / 418.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00209/0.9826, allocations: 285 kB / 0.6189 GB, free: 15.82 MB / 434.8 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.004925/0.9875, allocations: 1.707 MB / 0.6206 GB, free: 14.42 MB / 434.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.866e-05/0.9876, allocations: 36 kB / 0.6206 GB, free: 14.39 MB / 434.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004325/0.9881, allocations: 83.59 kB / 0.6207 GB, free: 14.31 MB / 434.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002369/0.9904, allocations: 1.171 MB / 0.6218 GB, free: 13.16 MB / 434.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002666/0.9931, allocations: 1.499 MB / 0.6233 GB, free: 11.59 MB / 434.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.957e-05/0.9932, allocations: 7.906 kB / 0.6233 GB, free: 11.58 MB / 434.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001177/0.9933, allocations: 0 / 0.6233 GB, free: 11.58 MB / 434.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001342/0.9934, allocations: 98.38 kB / 0.6234 GB, free: 11.48 MB / 434.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009385/1.003, allocations: 5.768 MB / 0.629 GB, free: 5.426 MB / 434.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001074/1.004, allocations: 0.6659 MB / 0.6297 GB, free: 4.727 MB / 434.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005885/1.005, allocations: 429.4 kB / 0.6301 GB, free: 4.301 MB / 434.8 MB Notification: Performance of preOpt evalFunc (simulation): time 6.634e-05/1.005, allocations: 20.64 kB / 0.6301 GB, free: 4.281 MB / 434.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/1.005, allocations: 43.22 kB / 0.6302 GB, free: 4.23 MB / 434.8 MB Notification: Performance of pre-optimization done (n=75): time 3.046e-06/1.005, allocations: 0 / 0.6302 GB, free: 4.23 MB / 434.8 MB Notification: Performance of matching and sorting (n=87): time 0.006608/1.011, allocations: 3.193 MB / 0.6333 GB, free: 0.9648 MB / 434.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.52e-05/1.011, allocations: 171 kB / 0.6334 GB, free: 0.7617 MB / 434.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008439/1.012, allocations: 0.6134 MB / 0.634 GB, free: 140 kB / 434.8 MB Notification: Performance of collectPreVariables (initialization): time 6.768e-05/1.012, allocations: 25.7 kB / 0.6341 GB, free: 108 kB / 434.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003718/1.013, allocations: 0.5293 MB / 0.6346 GB, free: 15.57 MB / 450.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002636/1.013, allocations: 303.5 kB / 0.6349 GB, free: 15.27 MB / 450.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.44e-05/1.013, allocations: 0 / 0.6349 GB, free: 15.27 MB / 450.8 MB Notification: Performance of setup shared object (initialization): time 0.0001643/1.013, allocations: 406.7 kB / 0.6353 GB, free: 14.86 MB / 450.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006765/1.014, allocations: 462.5 kB / 0.6357 GB, free: 14.41 MB / 450.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009408/1.015, allocations: 0.7522 MB / 0.6364 GB, free: 13.53 MB / 450.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009096/1.016, allocations: 0.5846 MB / 0.637 GB, free: 12.94 MB / 450.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/1.016, allocations: 4 kB / 0.637 GB, free: 12.94 MB / 450.8 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.003828/1.02, allocations: 1.81 MB / 0.6388 GB, free: 11.1 MB / 450.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.001323/1.021, allocations: 3.394 MB / 0.6421 GB, free: 7.441 MB / 450.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003126/1.024, allocations: 1.446 MB / 0.6435 GB, free: 5.977 MB / 450.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002279/1.026, allocations: 0.5934 MB / 0.6441 GB, free: 5.367 MB / 450.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001809/1.028, allocations: 0.5034 MB / 0.6446 GB, free: 4.863 MB / 450.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02109/1.049, allocations: 14.87 MB / 0.6591 GB, free: 5.023 MB / 466.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002231/1.052, allocations: 47.91 kB / 0.6591 GB, free: 4.977 MB / 466.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004386/1.052, allocations: 48.17 kB / 0.6592 GB, free: 4.93 MB / 466.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/1.052, allocations: 7.281 kB / 0.6592 GB, free: 4.926 MB / 466.8 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007428/1.06, allocations: 1.677 MB / 0.6608 GB, free: 3.23 MB / 466.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005425/1.065, allocations: 1.435 MB / 0.6622 GB, free: 1.781 MB / 466.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004026/1.069, allocations: 0.5935 MB / 0.6628 GB, free: 1.172 MB / 466.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001539/1.071, allocations: 223.6 kB / 0.663 GB, free: 0.9531 MB / 466.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02087/1.092, allocations: 13.5 MB / 0.6762 GB, free: 2.535 MB / 482.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001554/1.093, allocations: 20.14 kB / 0.6762 GB, free: 2.516 MB / 482.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002515/1.094, allocations: 47.91 kB / 0.6763 GB, free: 2.469 MB / 482.8 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 (118): * Single equations (assignments): 108 * 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.0005976/1.094, allocations: 148 kB / 0.6764 GB, free: 2.32 MB / 482.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003891/1.095, allocations: 90.88 kB / 0.6765 GB, free: 2.23 MB / 482.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004708/1.099, allocations: 1.329 MB / 0.6778 GB, free: 0.8789 MB / 482.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.467e-05/1.099, allocations: 8 kB / 0.6778 GB, free: 0.8711 MB / 482.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.138e-05/1.099, allocations: 11.91 kB / 0.6778 GB, free: 0.8594 MB / 482.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-05/1.099, allocations: 3.984 kB / 0.6778 GB, free: 0.8555 MB / 482.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006914/1.106, allocations: 2.809 MB / 0.6806 GB, free: 13.93 MB / 498.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.146e-05/1.106, allocations: 4 kB / 0.6806 GB, free: 13.92 MB / 498.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006669/1.107, allocations: 144.3 kB / 0.6807 GB, free: 13.78 MB / 498.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001276/1.108, allocations: 407.8 kB / 0.6811 GB, free: 13.37 MB / 498.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.059e-05/1.108, allocations: 23.98 kB / 0.6811 GB, free: 13.34 MB / 498.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007577/1.116, allocations: 8.325 MB / 0.6892 GB, free: 4.441 MB / 498.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.979e-06/1.116, allocations: 7.938 kB / 0.6893 GB, free: 4.434 MB / 498.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003539/1.12, allocations: 2.164 MB / 0.6914 GB, free: 2.078 MB / 498.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.2079/1.328, allocations: 3.127 MB / 0.6944 GB, free: 109.4 MB / 498.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006651/1.328, allocations: 259.5 kB / 0.6947 GB, free: 109.3 MB / 498.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000171/1.328, allocations: 20.89 kB / 0.6947 GB, free: 109.3 MB / 498.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006364/1.329, allocations: 32.08 kB / 0.6947 GB, free: 109.3 MB / 498.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/1.329, allocations: 51.64 kB / 0.6948 GB, free: 109.3 MB / 498.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.058e-05/1.329, allocations: 31.2 kB / 0.6948 GB, free: 109.3 MB / 498.8 MB Notification: Performance of sort global known variables: time 0.0006096/1.33, allocations: 474.2 kB / 0.6952 GB, free: 109.2 MB / 498.8 MB Notification: Performance of remove unused functions: time 0.003536/1.333, allocations: 0.5889 MB / 0.6958 GB, free: 109.2 MB / 498.8 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 (68): * Single equations (assignments): 62 * 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.000281/1.334, allocations: 192.5 kB / 0.696 GB, free: 109.1 MB / 498.8 MB Notification: Performance of simCode: created initialization part: time 0.004769/1.339, allocations: 3.43 MB / 0.6994 GB, free: 108.1 MB / 498.8 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/1.339, allocations: 0 / 0.6994 GB, free: 108.1 MB / 498.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001342/1.34, allocations: 1.071 MB / 0.7004 GB, free: 107.6 MB / 498.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000899/1.341, allocations: 180 kB / 0.7006 GB, free: 107.6 MB / 498.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004082/1.345, allocations: 2.618 MB / 0.7031 GB, free: 107 MB / 498.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009657/1.346, allocations: 1.43 MB / 0.7045 GB, free: 106.3 MB / 498.8 MB Notification: Performance of SimCode: time 7.92e-07/1.346, allocations: 0 / 0.7045 GB, free: 106.3 MB / 498.8 MB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine/PowerSystems_latest_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_latest_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_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_FMU.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_FMU.c In file included from PowerSystems_latest_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_latest_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_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine.c In file included from PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine.c:2: In file included from ./PowerSystems_latest_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_latest_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_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_functions.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_functions.c In file included from PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_functions.c:1: In file included from ./PowerSystems_latest_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_latest_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_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_records.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_records.c In file included from PowerSystems_latest_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_latest_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_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_01exo.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_01exo.c In file included from PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_01exo.c:2: In file included from ./PowerSystems_latest_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_latest_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_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_02nls.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_02nls.c In file included from PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_02nls.c:2: In file included from ./PowerSystems_latest_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_latest_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_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_03lsy.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_03lsy.c In file included from PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_03lsy.c:2: In file included from ./PowerSystems_latest_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_latest_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_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_04set.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_04set.c In file included from PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_04set.c:2: In file included from ./PowerSystems_latest_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_latest_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_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_05evt.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_05evt.c In file included from PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_05evt.c:2: In file included from ./PowerSystems_latest_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_latest_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_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_06inz.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_06inz.c In file included from PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_06inz.c:2: In file included from ./PowerSystems_latest_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_latest_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_latest_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_latest_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_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_06inz.c:4416:45: error: use of undeclared identifier '$PturboGen$Pexcitation$Pgenerator$Ppar$PV_nom' data->simulationInfo->realParameter[92] = $PturboGen$Pexcitation$Pgenerator$Ppar$PV_nom; ^ PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_06inz.c:4429:45: error: use of undeclared identifier '$PturboGen$Pexcitation$Pgenerator$PVf_nom' data->simulationInfo->realParameter[93] = $PturboGen$Pexcitation$Pgenerator$PVf_nom; ^ PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_06inz.c:4506: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_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_06inz.o] Error 1 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine/PowerSystems_latest_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_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine.def PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine.a PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine.so PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_FMU.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_functions.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_records.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_01exo.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_02nls.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_03lsy.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_04set.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_05evt.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_06inz.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_07dly.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_08bnd.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_09alg.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_10asr.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_11mix.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_12jac.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_13opt.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_14lnz.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_15syn.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_16dae.o PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_TurboGeneratorLine_17inl.o PowerSystems_latest_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