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.001129/0.001128, allocations: 88.39 kB / 16.31 MB, free: 6.449 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.001526/0.001526, allocations: 183.1 kB / 17.21 MB, free: 6.316 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.449/1.449, allocations: 223.3 MB / 241.2 MB, free: 5.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.3461/0.3461, allocations: 38.08 MB / 330.4 MB, free: 14.05 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003645/0.0003649, allocations: 12 kB / 400.2 MB, free: 9.043 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3434/0.3438, allocations: 59.16 MB / 459.3 MB, free: 30.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.GeneratorTest2): time 0.004739/0.3485, allocations: 4.701 MB / 464 MB, free: 26.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003692/0.3523, allocations: 2.415 MB / 466.4 MB, free: 25.19 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005319/0.3528, allocations: 21.53 kB / 466.5 MB, free: 25.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003769/0.3532, allocations: 80.77 kB / 466.5 MB, free: 25.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001417/0.3547, allocations: 415.6 kB / 467 MB, free: 24.92 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007369/0.3554, allocations: 209.9 kB / 467.2 MB, free: 24.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001217/0.3566, allocations: 0.9009 MB / 468.1 MB, free: 24.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001173/0.3578, allocations: 0.5377 MB / 468.6 MB, free: 24.17 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006706/0.3585, allocations: 255 kB / 468.8 MB, free: 24.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005686/0.3591, allocations: 322.9 kB / 469.2 MB, free: 23.95 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.439e-05/0.3591, allocations: 19.28 kB / 469.2 MB, free: 23.95 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001049/0.3602, allocations: 336.3 kB / 469.5 MB, free: 23.83 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002941/0.3605, allocations: 178.1 kB / 469.7 MB, free: 23.78 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001373/0.3606, allocations: 109.8 kB / 469.8 MB, free: 23.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009836/0.3616, allocations: 0.5388 MB / 470.3 MB, free: 23.58 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.3617, allocations: 1 kB / 470.3 MB, free: 23.58 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.457e-06/0.3617, allocations: 0 / 470.3 MB, free: 23.58 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.949e-06/0.3617, allocations: 0 / 470.3 MB, free: 23.58 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.001225/0.3629, allocations: 0.686 MB / 471 MB, free: 23.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.94e-05/0.363, allocations: 9.812 kB / 471 MB, free: 23.02 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001278/0.3631, allocations: 93.33 kB / 471.1 MB, free: 22.95 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001648/0.3648, allocations: 200.2 kB / 471.3 MB, free: 22.92 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004747/0.3653, allocations: 354.2 kB / 471.7 MB, free: 22.63 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.875e-05/0.3653, allocations: 38.38 kB / 471.7 MB, free: 22.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.828e-05/0.3654, allocations: 43.14 kB / 471.7 MB, free: 22.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001112/0.3665, allocations: 0.6151 MB / 472.3 MB, free: 22.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.805e-05/0.3666, allocations: 6.562 kB / 472.4 MB, free: 22.31 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.395e-05/0.3666, allocations: 16.58 kB / 472.4 MB, free: 22.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.215e-05/0.3667, allocations: 43.52 kB / 472.4 MB, free: 22.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001201/0.3679, allocations: 0.6075 MB / 473 MB, free: 22.1 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003443/0.3714, allocations: 2.267 MB / 475.3 MB, free: 20.65 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006597/0.372, allocations: 479.3 kB / 475.8 MB, free: 20.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003422/0.3724, allocations: 237.5 kB / 476 MB, free: 20.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.886e-05/0.3725, allocations: 4.125 kB / 476 MB, free: 20.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.678e-05/0.3725, allocations: 41.31 kB / 476 MB, free: 20.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 2.355e-06/0.3725, allocations: 0 / 476 MB, free: 20.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.003472/0.376, allocations: 1.705 MB / 477.7 MB, free: 19.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.198e-05/0.3761, allocations: 81.05 kB / 477.8 MB, free: 18.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002872/0.3763, allocations: 280.2 kB / 478.1 MB, free: 18.78 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.882e-05/0.3764, allocations: 31.73 kB / 478.1 MB, free: 18.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.3765, allocations: 229.4 kB / 478.3 MB, free: 18.54 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/0.3766, allocations: 153.4 kB / 478.5 MB, free: 18.4 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.224e-05/0.3767, allocations: 14.34 kB / 478.5 MB, free: 18.39 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.181e-05/0.3767, allocations: 346.9 kB / 478.8 MB, free: 18.05 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002651/0.377, allocations: 175.5 kB / 479 MB, free: 17.97 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003116/0.3773, allocations: 292 kB / 479.3 MB, free: 17.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000292/0.3776, allocations: 227.5 kB / 479.5 MB, free: 17.63 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3776, allocations: 1.094 kB / 479.5 MB, free: 17.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001104/0.3788, allocations: 0.6725 MB / 480.2 MB, free: 17.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.3788, allocations: 10.3 kB / 480.2 MB, free: 17.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.3788, allocations: 3.469 kB / 480.2 MB, free: 17.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005473/0.3794, allocations: 180.6 kB / 480.4 MB, free: 17.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003598/0.3797, allocations: 96.52 kB / 480.5 MB, free: 17.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00322/0.383, allocations: 2.522 MB / 483 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002884/0.3833, allocations: 20.55 kB / 483 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.656e-05/0.3833, allocations: 19.31 kB / 483 MB, free: 15.1 MB / 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.0002643/0.3836, allocations: 198.8 kB / 483.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.966e-05/0.3837, allocations: 36.94 kB / 483.3 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001185/0.3849, allocations: 0.6364 MB / 483.9 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-06/0.3849, allocations: 5.156 kB / 483.9 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.3849, allocations: 1.453 kB / 483.9 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.3849, allocations: 4.031 kB / 483.9 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001909/0.3868, allocations: 1.356 MB / 485.3 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.3868, allocations: 4 kB / 485.3 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003164/0.3872, allocations: 83.84 kB / 485.4 MB, free: 13.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003704/0.3875, allocations: 144.7 kB / 485.5 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.217e-05/0.3876, allocations: 12 kB / 485.5 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002144/0.3897, allocations: 2.307 MB / 487.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.3898, allocations: 0 / 487.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001168/0.3909, allocations: 0.9523 MB / 488.8 MB, free: 9.504 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.3911, allocations: 112.6 kB / 488.9 MB, free: 9.375 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.385e-05/0.3911, allocations: 8 kB / 488.9 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002007/0.3913, allocations: 16.03 kB / 488.9 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.738e-05/0.3914, allocations: 43.84 kB / 489 MB, free: 9.309 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-05/0.3914, allocations: 15.98 kB / 489 MB, free: 9.293 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001571/0.3916, allocations: 194 kB / 489.2 MB, free: 9.105 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3916, allocations: 0 / 489.2 MB, free: 9.105 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006474/0.3922, allocations: 136 kB / 489.3 MB, free: 8.973 MB / 350.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.001317/0.3936, allocations: 1.49 MB / 490.8 MB, free: 7.441 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001079/0.3947, allocations: 0.6579 MB / 491.4 MB, free: 6.77 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.3947, allocations: 4 kB / 491.4 MB, free: 6.766 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005669/0.3953, allocations: 431.3 kB / 491.9 MB, free: 6.332 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00051/0.3958, allocations: 56.62 kB / 491.9 MB, free: 6.277 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003685/0.3995, allocations: 2.998 MB / 494.9 MB, free: 3.176 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002771/0.3998, allocations: 0.8748 MB / 495.8 MB, free: 2.273 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002036/0.4, allocations: 75.22 kB / 495.9 MB, free: 2.203 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001719/0.4002, allocations: 147.4 kB / 496 MB, free: 2.062 MB / 350.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4002, allocations: 0 / 496 MB, free: 2.062 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02608/0.4263, allocations: 8.903 MB / 0.4931 GB, free: 9.344 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000234/0.4266, allocations: 233.7 kB / 0.4933 GB, free: 9.086 MB / 366.1 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -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:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -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:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -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:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -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:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -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:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -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:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -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:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -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:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -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:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -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:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -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:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -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:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -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:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -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:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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