Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.GeneratorTest2,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_GeneratorTest2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.GeneratorTest2,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_GeneratorTest2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009252/0.0009255, allocations: 96.95 kB / 16.3 MB, free: 5.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008968/0.0008969, allocations: 179.5 kB / 17.2 MB, free: 5.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.197/1.197, allocations: 223.2 MB / 241.1 MB, free: 380 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1689/0.1689, allocations: 38.08 MB / 330.3 MB, free: 8.984 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003139/0.0003139, allocations: 12.84 kB / 400.1 MB, free: 34.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1087, allocations: 59.16 MB / 459.2 MB, free: 7.359 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.GeneratorTest2): time 0.005429/0.1142, allocations: 4.509 MB / 463.7 MB, free: 2.828 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00374/0.118, allocations: 2.358 MB / 466.1 MB, free: 472 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003753/0.1184, allocations: 19.88 kB / 466.1 MB, free: 452 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000237/0.1186, allocations: 79.5 kB / 466.2 MB, free: 372 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001134/0.1198, allocations: 354.8 kB / 466.5 MB, free: 16 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007145/0.1205, allocations: 215.4 kB / 466.7 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000601/0.1211, allocations: 383.2 kB / 467.1 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001226/0.1223, allocations: 0.5421 MB / 467.7 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000383/0.1227, allocations: 219.2 kB / 467.9 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003072/0.1231, allocations: 203.2 kB / 468.1 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.293e-05/0.1231, allocations: 20 kB / 468.1 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007642/0.1239, allocations: 323.3 kB / 468.4 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001647/0.1241, allocations: 155.6 kB / 468.6 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001084/0.1242, allocations: 113.5 kB / 468.7 MB, free: 13.85 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000686/0.1249, allocations: 0.5378 MB / 469.2 MB, free: 13.31 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1249, allocations: 0 / 469.2 MB, free: 13.31 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1249, allocations: 3.938 kB / 469.2 MB, free: 13.31 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.1249, allocations: 0 / 469.2 MB, free: 13.31 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.0009772/0.1259, allocations: 0.6864 MB / 469.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.1259, allocations: 8.031 kB / 469.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.57e-05/0.126, allocations: 90.52 kB / 470 MB, free: 12.47 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001635/0.1277, allocations: 227.1 kB / 470.2 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004963/0.1282, allocations: 353.2 kB / 470.6 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.013e-05/0.1282, allocations: 32.98 kB / 470.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.2e-05/0.1283, allocations: 43.91 kB / 470.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008933/0.1292, allocations: 0.6224 MB / 471.3 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/0.1292, allocations: 0 / 471.3 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.653e-05/0.1293, allocations: 19.98 kB / 471.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.192e-05/0.1293, allocations: 36.98 kB / 471.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008647/0.1302, allocations: 0.6011 MB / 471.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002989/0.1332, allocations: 2.261 MB / 474.2 MB, free: 8.094 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006481/0.1339, allocations: 0.4893 MB / 474.7 MB, free: 7.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.01e-05/0.1339, allocations: 8.047 kB / 474.7 MB, free: 7.562 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.1339, allocations: 38.56 kB / 474.7 MB, free: 7.516 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 1.903e-06/0.134, allocations: 0 / 474.7 MB, free: 7.516 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.003094/0.137, allocations: 1.697 MB / 476.4 MB, free: 5.742 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.395e-05/0.1371, allocations: 85.11 kB / 476.5 MB, free: 5.641 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002602/0.1374, allocations: 274.9 kB / 476.8 MB, free: 5.355 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.853e-05/0.1374, allocations: 33.7 kB / 476.8 MB, free: 5.316 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.1376, allocations: 228.1 kB / 477 MB, free: 5.086 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001147/0.1377, allocations: 153.8 kB / 477.2 MB, free: 4.934 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.021e-05/0.1377, allocations: 8 kB / 477.2 MB, free: 4.926 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.1378, allocations: 346.8 kB / 477.5 MB, free: 4.578 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002497/0.1381, allocations: 177 kB / 477.7 MB, free: 4.406 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003138/0.1384, allocations: 290.3 kB / 478 MB, free: 4.078 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000314/0.1387, allocations: 223.8 kB / 478.2 MB, free: 3.859 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1388, allocations: 0 / 478.2 MB, free: 3.859 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001078/0.1398, allocations: 0.6732 MB / 478.9 MB, free: 3.176 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.1399, allocations: 8 kB / 478.9 MB, free: 3.168 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.1399, allocations: 7.938 kB / 478.9 MB, free: 3.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005372/0.1404, allocations: 180.8 kB / 479.1 MB, free: 2.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003454/0.1408, allocations: 95.88 kB / 479.1 MB, free: 2.887 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00325/0.144, allocations: 2.593 MB / 481.7 MB, free: 176 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002733/0.1443, allocations: 23.89 kB / 481.8 MB, free: 152 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.452e-05/0.1444, allocations: 20 kB / 481.8 MB, free: 132 kB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 8} Notification: Performance of prepare postOptimizeDAE: time 0.0002415/0.1446, allocations: 199.4 kB / 482 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.015e-05/0.1447, allocations: 31.62 kB / 482 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001095/0.1458, allocations: 0.6373 MB / 482.6 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.1458, allocations: 8 kB / 482.7 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.1458, allocations: 0 / 482.7 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.1458, allocations: 3.938 kB / 482.7 MB, free: 15.23 MB / 366.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001992/0.1478, allocations: 1.351 MB / 484 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.1479, allocations: 4.062 kB / 484 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003322/0.1482, allocations: 83.89 kB / 484.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004185/0.1486, allocations: 144.7 kB / 484.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.986e-05/0.1487, allocations: 15.98 kB / 484.2 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002651/0.1513, allocations: 2.362 MB / 486.6 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1513, allocations: 4 kB / 486.6 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001363/0.1527, allocations: 0.9886 MB / 487.6 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.1528, allocations: 120.6 kB / 487.7 MB, free: 9.887 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.695e-05/0.1529, allocations: 8 kB / 487.7 MB, free: 9.879 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000203/0.1531, allocations: 15.98 kB / 487.7 MB, free: 9.863 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.707e-05/0.1532, allocations: 31.95 kB / 487.8 MB, free: 9.832 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.64e-05/0.1532, allocations: 8 kB / 487.8 MB, free: 9.824 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001978/0.1534, allocations: 197.9 kB / 488 MB, free: 9.633 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1534, allocations: 0 / 488 MB, free: 9.633 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006265/0.154, allocations: 140 kB / 488.1 MB, free: 9.496 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (inertia.w,constantTorque.phi,inertia1.w,constantTorque1.phi) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 36 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001701/0.1557, allocations: 1.74 MB / 489.9 MB, free: 7.703 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001176/0.1569, allocations: 0.666 MB / 490.5 MB, free: 7.023 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.157, allocations: 4 kB / 490.5 MB, free: 7.02 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006554/0.1576, allocations: 419.1 kB / 490.9 MB, free: 6.598 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003575/0.158, allocations: 44.62 kB / 491 MB, free: 6.555 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004887/0.1629, allocations: 5.086 MB / 496.1 MB, free: 1.34 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004787/0.1634, allocations: 0.8833 MB / 496.9 MB, free: 440 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001977/0.1636, allocations: 71.23 kB / 497 MB, free: 372 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001943/0.1638, allocations: 147.4 kB / 497.2 MB, free: 224 kB / 366.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1638, allocations: 0 / 497.2 MB, free: 224 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0212/0.185, allocations: 8.875 MB / 0.4942 GB, free: 7.52 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002432/0.1853, allocations: 231.8 kB / 0.4944 GB, free: 7.266 MB / 382.1 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o PowerSystems_latest_PowerSystems_Examples_Generic_Test_GeneratorTest2.o PowerSystems_latest_PowerSystems_Examples_Generic_Test_GeneratorTest2.c In file included from PowerSystems_latest_PowerSystems_Examples_Generic_Test_GeneratorTest2.c:7: In file included from ./PowerSystems_latest_PowerSystems_Examples_Generic_Test_GeneratorTest2_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o PowerSystems_latest_PowerSystems_Examples_Generic_Test_GeneratorTest2_functions.o PowerSystems_latest_PowerSystems_Examples_Generic_Test_GeneratorTest2_functions.c In file included from PowerSystems_latest_PowerSystems_Examples_Generic_Test_GeneratorTest2_functions.c:2: In file included from ./PowerSystems_latest_PowerSystems_Examples_Generic_Test_GeneratorTest2_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o PowerSystems_latest_PowerSystems_Examples_Generic_Test_GeneratorTest2_records.o PowerSystems_latest_PowerSystems_Examples_Generic_Test_GeneratorTest2_records.c In file included from PowerSystems_latest_PowerSystems_Examples_Generic_Test_GeneratorTest2_records.c:4: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o PowerSystems_latest_PowerSystems_Examples_Generic_Test_GeneratorTest2_01exo.o PowerSystems_latest_PowerSystems_Examples_Generic_Test_GeneratorTest2_01exo.c In file included from PowerSystems_latest_PowerSystems_Examples_Generic_Test_GeneratorTest2_01exo.c:2: In file included from ./PowerSystems_latest_PowerSystems_Examples_Generic_Test_GeneratorTest2_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o PowerSystems_latest_PowerSystems_Examples_Generic_Test_GeneratorTest2_02nls.o PowerSystems_latest_PowerSystems_Examples_Generic_Test_GeneratorTest2_02nls.c In file included from PowerSystems_latest_PowerSystems_Examples_Generic_Test_GeneratorTest2_02nls.c:2: In file included from ./PowerSystems_latest_PowerSystems_Examples_Generic_Test_GeneratorTest2_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o PowerSystems_latest_PowerSystems_Examples_Generic_Test_GeneratorTest2_03lsy.o PowerSystems_latest_PowerSystems_Examples_Generic_Test_GeneratorTest2_03lsy.c In file included from PowerSystems_latest_PowerSystems_Examples_Generic_Test_GeneratorTest2_03lsy.c:2: In file included from ./PowerSystems_latest_PowerSystems_Examples_Generic_Test_GeneratorTest2_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o PowerSystems_latest_PowerSystems_Examples_Generic_Test_GeneratorTest2_04set.o PowerSystems_latest_PowerSystems_Examples_Generic_Test_GeneratorTest2_04set.c In file included from PowerSystems_latest_PowerSystems_Examples_Generic_Test_GeneratorTest2_04set.c:2: In file included from ./PowerSystems_latest_PowerSystems_Examples_Generic_Test_GeneratorTest2_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o PowerSystems_latest_PowerSystems_Examples_Generic_Test_GeneratorTest2_05evt.o PowerSystems_latest_PowerSystems_Examples_Generic_Test_GeneratorTest2_05evt.c In file included from PowerSystems_latest_PowerSystems_Examples_Generic_Test_GeneratorTest2_05evt.c:2: In file included from ./PowerSystems_latest_PowerSystems_Examples_Generic_Test_GeneratorTest2_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o PowerSystems_latest_PowerSystems_Examples_Generic_Test_GeneratorTest2_06inz.o PowerSystems_latest_PowerSystems_Examples_Generic_Test_GeneratorTest2_06inz.c In file included from PowerSystems_latest_PowerSystems_Examples_Generic_Test_GeneratorTest2_06inz.c:2: In file included from ./PowerSystems_latest_PowerSystems_Examples_Generic_Test_GeneratorTest2_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o PowerSystems_latest_PowerSystems_Examples_Generic_Test_GeneratorTest2_07dly.o PowerSystems_latest_PowerSystems_Examples_Generic_Test_GeneratorTest2_07dly.c In file included from PowerSystems_latest_PowerSystems_Examples_Generic_Test_GeneratorTest2_07dly.c:2: In file included from ./PowerSystems_latest_PowerSystems_Examples_Generic_Test_GeneratorTest2_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o PowerSystems_latest_PowerSystems_Examples_Generic_Test_GeneratorTest2_08bnd.o PowerSystems_latest_PowerSystems_Examples_Generic_Test_GeneratorTest2_08bnd.c In file included from PowerSystems_latest_PowerSystems_Examples_Generic_Test_GeneratorTest2_08bnd.c:2: In file included from ./PowerSystems_latest_PowerSystems_Examples_Generic_Test_GeneratorTest2_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o PowerSystems_latest_PowerSystems_Examples_Generic_Test_GeneratorTest2_09alg.o PowerSystems_latest_PowerSystems_Examples_Generic_Test_GeneratorTest2_09alg.c In file included from PowerSystems_latest_PowerSystems_Examples_Generic_Test_GeneratorTest2_09alg.c:2: In file included from ./PowerSystems_latest_PowerSystems_Examples_Generic_Test_GeneratorTest2_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o PowerSystems_latest_PowerSystems_Examples_Generic_Test_GeneratorTest2_10asr.o PowerSystems_latest_PowerSystems_Examples_Generic_Test_GeneratorTest2_10asr.c In file included from PowerSystems_latest_PowerSystems_Examples_Generic_Test_GeneratorTest2_10asr.c:2: In file included from ./PowerSystems_latest_PowerSystems_Examples_Generic_Test_GeneratorTest2_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o PowerSystems_latest_PowerSystems_Examples_Generic_Test_GeneratorTest2_11mix.o PowerSystems_latest_PowerSystems_Examples_Generic_Test_GeneratorTest2_11mix.c In file included from PowerSystems_latest_PowerSystems_Examples_Generic_Test_GeneratorTest2_11mix.c:2: In file included from ./PowerSystems_latest_PowerSystems_Examples_Generic_Test_GeneratorTest2_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o PowerSystems_latest_PowerSystems_Examples_Generic_Test_GeneratorTest2_12jac.o PowerSystems_latest_PowerSystems_Examples_Generic_Test_GeneratorTest2_12jac.c In file included from PowerSystems_latest_PowerSystems_Examples_Generic_Test_GeneratorTest2_12jac.c:2: In file included from ./PowerSystems_latest_PowerSystems_Examples_Generic_Test_GeneratorTest2_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ PowerSystems_latest_PowerSystems_Examples_Generic_Test_GeneratorTest2_12jac.c:245:73: error: use of undeclared identifier 'fixedLoad' array_alloc_scalar_real_array(&tmp5, 2, (modelica_real)real_array_get(fixedLoad._terminal._i._SeedNLSJac1, 1, ((modelica_integer) 1)), (modelica_real)jacobian->seedVars[0] /* fixedLoad.terminal.i.SeedNLSJac1[2] SEED_VAR */); ^ 2 warnings and 1 error generated. make: *** [: PowerSystems_latest_PowerSystems_Examples_Generic_Test_GeneratorTest2_12jac.o] Error 1