Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/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 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_PowerSystems_Examples_Generic_Test_GeneratorTest2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.GeneratorTest2,fileNamePrefix="PowerSystems_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.00104/0.00104, allocations: 88.72 kB / 16.31 MB, free: 5.684 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.001052/0.001052, allocations: 179.8 kB / 17.21 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.522/1.522, allocations: 205.4 MB / 223.4 MB, free: 13.17 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1694/0.1694, allocations: 38.04 MB / 309.7 MB, free: 6.047 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006403/0.0006403, allocations: 12 kB / 376.6 MB, free: 3 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2379/0.2386, allocations: 56.33 MB / 432.9 MB, free: 18.8 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.GeneratorTest2): time 0.003704/0.2423, allocations: 4.708 MB / 437.7 MB, free: 14.08 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002736/0.2451, allocations: 2.46 MB / 440.1 MB, free: 11.61 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004489/0.2456, allocations: 19.88 kB / 440.1 MB, free: 11.59 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003184/0.2459, allocations: 83.33 kB / 440.2 MB, free: 11.5 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001142/0.247, allocations: 422.1 kB / 440.6 MB, free: 11.09 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005616/0.2476, allocations: 215.4 kB / 440.8 MB, free: 10.88 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000783/0.2484, allocations: 0.8957 MB / 441.7 MB, free: 9.98 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008513/0.2493, allocations: 0.5344 MB / 442.3 MB, free: 9.43 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004305/0.2497, allocations: 262.8 kB / 442.5 MB, free: 9.172 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004722/0.2502, allocations: 314.9 kB / 442.8 MB, free: 8.863 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.518e-05/0.2503, allocations: 20 kB / 442.8 MB, free: 8.844 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007206/0.251, allocations: 335.1 kB / 443.2 MB, free: 8.516 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001643/0.2512, allocations: 183.5 kB / 443.4 MB, free: 8.336 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.2513, allocations: 109.5 kB / 443.5 MB, free: 8.223 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004864/0.2518, allocations: 0.5378 MB / 444 MB, free: 7.684 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.2518, allocations: 0 / 444 MB, free: 7.684 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2518, allocations: 0 / 444 MB, free: 7.684 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.962e-06/0.2518, allocations: 0 / 444 MB, free: 7.684 MB / 318.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.0007549/0.2526, allocations: 0.6903 MB / 444.7 MB, free: 6.945 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.2526, allocations: 8.031 kB / 444.7 MB, free: 6.938 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.344e-05/0.2527, allocations: 86.45 kB / 444.8 MB, free: 6.844 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001374/0.2541, allocations: 207.2 kB / 445 MB, free: 6.641 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003679/0.2545, allocations: 353.1 kB / 445.3 MB, free: 6.258 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.39e-05/0.2545, allocations: 32.98 kB / 445.4 MB, free: 6.223 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.43e-05/0.2546, allocations: 44 kB / 445.4 MB, free: 6.18 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007674/0.2553, allocations: 0.6224 MB / 446 MB, free: 5.531 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.904e-05/0.2554, allocations: 0 / 446 MB, free: 5.531 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.998e-05/0.2554, allocations: 23.94 kB / 446.1 MB, free: 5.508 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-05/0.2555, allocations: 40.97 kB / 446.1 MB, free: 5.469 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000713/0.2562, allocations: 0.6011 MB / 446.7 MB, free: 4.867 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002324/0.2585, allocations: 2.269 MB / 449 MB, free: 2.477 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004757/0.259, allocations: 486.7 kB / 449.4 MB, free: 1.965 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002437/0.2593, allocations: 237.7 kB / 449.7 MB, free: 1.727 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.565e-05/0.2593, allocations: 7.938 kB / 449.7 MB, free: 1.719 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.662e-05/0.2593, allocations: 38.56 kB / 449.7 MB, free: 1.672 MB / 318.1 MB Notification: Performance of pre-optimization done (n=42): time 1.763e-06/0.2594, allocations: 0 / 449.7 MB, free: 1.672 MB / 318.1 MB Notification: Performance of matching and sorting (n=43): time 0.002822/0.2622, allocations: 1.701 MB / 451.4 MB, free: 15.89 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.851e-05/0.2623, allocations: 85.11 kB / 451.5 MB, free: 15.79 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003187/0.2626, allocations: 287 kB / 451.8 MB, free: 15.5 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.259e-05/0.2626, allocations: 33.64 kB / 451.8 MB, free: 15.46 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000169/0.2628, allocations: 228 kB / 452 MB, free: 15.23 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001257/0.2629, allocations: 157.7 kB / 452.2 MB, free: 15.08 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.354e-05/0.263, allocations: 4 kB / 452.2 MB, free: 15.07 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.2631, allocations: 350.7 kB / 452.5 MB, free: 14.72 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002873/0.2634, allocations: 177 kB / 452.7 MB, free: 14.55 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003656/0.2638, allocations: 294.3 kB / 453 MB, free: 14.22 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003539/0.2642, allocations: 219.9 kB / 453.2 MB, free: 14 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.2642, allocations: 0 / 453.2 MB, free: 14 MB / 334.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001148/0.2653, allocations: 0.6731 MB / 453.9 MB, free: 13.32 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.2654, allocations: 8 kB / 453.9 MB, free: 13.31 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.2654, allocations: 4.438 kB / 453.9 MB, free: 13.31 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005687/0.266, allocations: 176.5 kB / 454.1 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003393/0.2663, allocations: 95.83 kB / 454.2 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003267/0.2696, allocations: 2.527 MB / 456.7 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002285/0.2698, allocations: 19.92 kB / 456.7 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.65e-05/0.2699, allocations: 23.95 kB / 456.7 MB, free: 10.35 MB / 334.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.0002121/0.2701, allocations: 197.7 kB / 456.9 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.029e-05/0.2702, allocations: 31.62 kB / 457 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001114/0.2713, allocations: 0.645 MB / 457.6 MB, free: 9.457 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.2713, allocations: 4 kB / 457.6 MB, free: 9.453 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.2713, allocations: 4 kB / 457.6 MB, free: 9.449 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.2713, allocations: 8 kB / 457.6 MB, free: 9.441 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002084/0.2734, allocations: 1.339 MB / 459 MB, free: 8.023 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.2734, allocations: 0 / 459 MB, free: 8.023 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003249/0.2738, allocations: 79.89 kB / 459 MB, free: 7.945 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004022/0.2742, allocations: 140.7 kB / 459.2 MB, free: 7.805 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.383e-05/0.2742, allocations: 8.062 kB / 459.2 MB, free: 7.797 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00279/0.277, allocations: 2.315 MB / 461.5 MB, free: 5.348 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.2771, allocations: 8.062 kB / 461.5 MB, free: 5.34 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001384/0.2784, allocations: 0.953 MB / 462.5 MB, free: 4.355 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.052e-05/0.2786, allocations: 104.7 kB / 462.6 MB, free: 4.234 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.802e-05/0.2786, allocations: 16.03 kB / 462.6 MB, free: 4.219 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001864/0.2788, allocations: 8 kB / 462.6 MB, free: 4.211 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.92e-05/0.2789, allocations: 31.95 kB / 462.6 MB, free: 4.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.188e-05/0.2789, allocations: 19.98 kB / 462.6 MB, free: 4.16 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000183/0.2791, allocations: 190 kB / 462.8 MB, free: 3.977 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.2791, allocations: 4 kB / 462.8 MB, free: 3.973 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006067/0.2797, allocations: 136.1 kB / 463 MB, free: 3.84 MB / 334.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.001702/0.2814, allocations: 1.51 MB / 464.5 MB, free: 2.293 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001164/0.2826, allocations: 0.6619 MB / 465.1 MB, free: 1.617 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.2826, allocations: 0 / 465.1 MB, free: 1.617 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000654/0.2833, allocations: 414.5 kB / 465.5 MB, free: 1.199 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004608/0.2837, allocations: 65.14 kB / 465.6 MB, free: 1.137 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004278/0.288, allocations: 2.994 MB / 468.6 MB, free: 14.04 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004832/0.2885, allocations: 0.8749 MB / 469.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000205/0.2888, allocations: 79.16 kB / 469.5 MB, free: 13.07 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002524/0.289, allocations: 147.4 kB / 469.7 MB, free: 12.93 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.289, allocations: 0 / 469.7 MB, free: 12.93 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02186/0.3109, allocations: 8.899 MB / 478.6 MB, free: 4.066 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002085/0.3111, allocations: 205.4 kB / 478.8 MB, free: 3.832 MB / 350.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_PowerSystems_Examples_Generic_Test_GeneratorTest2.o PowerSystems_PowerSystems_Examples_Generic_Test_GeneratorTest2.c In file included from PowerSystems_PowerSystems_Examples_Generic_Test_GeneratorTest2.c:7: In file included from ./PowerSystems_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_PowerSystems_Examples_Generic_Test_GeneratorTest2_functions.o PowerSystems_PowerSystems_Examples_Generic_Test_GeneratorTest2_functions.c In file included from PowerSystems_PowerSystems_Examples_Generic_Test_GeneratorTest2_functions.c:2: In file included from ./PowerSystems_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_PowerSystems_Examples_Generic_Test_GeneratorTest2_records.o PowerSystems_PowerSystems_Examples_Generic_Test_GeneratorTest2_records.c In file included from PowerSystems_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_PowerSystems_Examples_Generic_Test_GeneratorTest2_01exo.o PowerSystems_PowerSystems_Examples_Generic_Test_GeneratorTest2_01exo.c In file included from PowerSystems_PowerSystems_Examples_Generic_Test_GeneratorTest2_01exo.c:2: In file included from ./PowerSystems_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_PowerSystems_Examples_Generic_Test_GeneratorTest2_02nls.o PowerSystems_PowerSystems_Examples_Generic_Test_GeneratorTest2_02nls.c In file included from PowerSystems_PowerSystems_Examples_Generic_Test_GeneratorTest2_02nls.c:2: In file included from ./PowerSystems_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_PowerSystems_Examples_Generic_Test_GeneratorTest2_03lsy.o PowerSystems_PowerSystems_Examples_Generic_Test_GeneratorTest2_03lsy.c In file included from PowerSystems_PowerSystems_Examples_Generic_Test_GeneratorTest2_03lsy.c:2: In file included from ./PowerSystems_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_PowerSystems_Examples_Generic_Test_GeneratorTest2_04set.o PowerSystems_PowerSystems_Examples_Generic_Test_GeneratorTest2_04set.c In file included from PowerSystems_PowerSystems_Examples_Generic_Test_GeneratorTest2_04set.c:2: In file included from ./PowerSystems_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_PowerSystems_Examples_Generic_Test_GeneratorTest2_05evt.o PowerSystems_PowerSystems_Examples_Generic_Test_GeneratorTest2_05evt.c In file included from PowerSystems_PowerSystems_Examples_Generic_Test_GeneratorTest2_05evt.c:2: In file included from ./PowerSystems_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_PowerSystems_Examples_Generic_Test_GeneratorTest2_06inz.o PowerSystems_PowerSystems_Examples_Generic_Test_GeneratorTest2_06inz.c In file included from PowerSystems_PowerSystems_Examples_Generic_Test_GeneratorTest2_06inz.c:2: In file included from ./PowerSystems_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_PowerSystems_Examples_Generic_Test_GeneratorTest2_07dly.o PowerSystems_PowerSystems_Examples_Generic_Test_GeneratorTest2_07dly.c In file included from PowerSystems_PowerSystems_Examples_Generic_Test_GeneratorTest2_07dly.c:2: In file included from ./PowerSystems_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_PowerSystems_Examples_Generic_Test_GeneratorTest2_08bnd.o PowerSystems_PowerSystems_Examples_Generic_Test_GeneratorTest2_08bnd.c In file included from PowerSystems_PowerSystems_Examples_Generic_Test_GeneratorTest2_08bnd.c:2: In file included from ./PowerSystems_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_PowerSystems_Examples_Generic_Test_GeneratorTest2_09alg.o PowerSystems_PowerSystems_Examples_Generic_Test_GeneratorTest2_09alg.c In file included from PowerSystems_PowerSystems_Examples_Generic_Test_GeneratorTest2_09alg.c:2: In file included from ./PowerSystems_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_PowerSystems_Examples_Generic_Test_GeneratorTest2_10asr.o PowerSystems_PowerSystems_Examples_Generic_Test_GeneratorTest2_10asr.c In file included from PowerSystems_PowerSystems_Examples_Generic_Test_GeneratorTest2_10asr.c:2: In file included from ./PowerSystems_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_PowerSystems_Examples_Generic_Test_GeneratorTest2_11mix.o PowerSystems_PowerSystems_Examples_Generic_Test_GeneratorTest2_11mix.c In file included from PowerSystems_PowerSystems_Examples_Generic_Test_GeneratorTest2_11mix.c:2: In file included from ./PowerSystems_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_PowerSystems_Examples_Generic_Test_GeneratorTest2_12jac.o PowerSystems_PowerSystems_Examples_Generic_Test_GeneratorTest2_12jac.c In file included from PowerSystems_PowerSystems_Examples_Generic_Test_GeneratorTest2_12jac.c:2: In file included from ./PowerSystems_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_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_PowerSystems_Examples_Generic_Test_GeneratorTest2_12jac.o] Error 1