Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.75/1.75, allocations: 288.2 MB / 303.2 MB, free: 8.156 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001179/0.001179, allocations: 175.4 kB / 371.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.664/1.664, allocations: 205.4 MB / 0.6305 GB, free: 9.945 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001134/0.001134, allocations: 93.23 kB / 0.7439 GB, free: 5.875 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004434/0.0004435, allocations: 11.66 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2338/0.2343, allocations: 115.3 MB / 0.9795 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8468/1.081, allocations: 168.2 MB / 1.144 GB, free: 11.37 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003072/1.082, allocations: 97.3 kB / 1.144 GB, free: 11.35 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1611/1.243, allocations: 62.77 MB / 1.205 GB, free: 7.992 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.346e-06/1.243, allocations: 0 / 1.205 GB, free: 7.992 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001548/1.243, allocations: 40 kB / 1.205 GB, free: 7.953 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.006575/1.249, allocations: 1.753 MB / 1.207 GB, free: 6.258 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.721e-05/1.25, allocations: 12.03 kB / 1.207 GB, free: 6.246 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001516/1.251, allocations: 257.8 kB / 1.207 GB, free: 6.078 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003794/1.255, allocations: 493 kB / 1.208 GB, free: 5.594 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003927/1.259, allocations: 1.287 MB / 1.209 GB, free: 4.555 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001487/1.259, allocations: 114.2 kB / 1.209 GB, free: 4.484 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009835/1.26, allocations: 147 kB / 1.209 GB, free: 4.379 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008071/1.268, allocations: 3.134 MB / 1.212 GB, free: 2.035 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.438e-05/1.268, allocations: 0 / 1.212 GB, free: 2.035 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005873/1.269, allocations: 64.47 kB / 1.212 GB, free: 2.012 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008186/1.27, allocations: 181.1 kB / 1.212 GB, free: 1.852 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005756/1.275, allocations: 2.513 MB / 1.215 GB, free: 184 kB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02991/1.305, allocations: 14.86 MB / 1.229 GB, free: 1.402 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003416/1.309, allocations: 1.816 MB / 1.231 GB, free: 15.57 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 8.615e-05/1.309, allocations: 20.97 kB / 1.231 GB, free: 15.55 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.55e-05/1.309, allocations: 39.56 kB / 1.231 GB, free: 15.5 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=104): time 3.306e-06/1.309, allocations: 0 / 1.231 GB, free: 15.5 MB / 0.7605 GB Notification: Performance of matching and sorting (n=183): time 0.1372/1.446, allocations: 31.33 MB / 1.262 GB, free: 76 kB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.436e-05/1.446, allocations: 69.41 kB / 1.262 GB, free: 15.99 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002085/1.448, allocations: 1.072 MB / 1.263 GB, free: 14.9 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0005644/1.449, allocations: 61.7 kB / 1.263 GB, free: 14.83 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007865/1.45, allocations: 0.7757 MB / 1.264 GB, free: 14.04 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.001002/1.451, allocations: 0.6238 MB / 1.264 GB, free: 13.41 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003782/1.451, allocations: 43.94 kB / 1.264 GB, free: 13.37 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0002374/1.451, allocations: 377.9 kB / 1.265 GB, free: 12.99 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003418/1.455, allocations: 2.12 MB / 1.267 GB, free: 10.87 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003753/1.459, allocations: 2.454 MB / 1.269 GB, free: 8.305 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003787/1.462, allocations: 2.395 MB / 1.272 GB, free: 5.91 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.251e-05/1.462, allocations: 4 kB / 1.272 GB, free: 5.906 MB / 0.7917 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.01819/1.481, allocations: 8.331 MB / 1.28 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.922e-05/1.481, allocations: 8 kB / 1.28 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.405e-05/1.481, allocations: 11.95 kB / 1.28 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0528/1.534, allocations: 11.26 MB / 1.291 GB, free: 2.246 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001294/1.535, allocations: 255.6 kB / 1.291 GB, free: 1.996 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04139/1.576, allocations: 23.91 MB / 1.314 GB, free: 9.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002757/1.579, allocations: 119.8 kB / 1.314 GB, free: 9.633 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009817/1.58, allocations: 271.8 kB / 1.315 GB, free: 9.367 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 98 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,100.0%) 16,(8,100.0%) 38} * Non-linear torn systems: 2 {8 16,12 34} Notification: Performance of prepare postOptimizeDAE: time 0.002628/1.583, allocations: 0.8 MB / 1.315 GB, free: 8.559 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007313/1.584, allocations: 138.3 kB / 1.316 GB, free: 8.422 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01686/1.6, allocations: 8.015 MB / 1.323 GB, free: 380 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-05/1.601, allocations: 20 kB / 1.323 GB, free: 360 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-05/1.601, allocations: 20 kB / 1.323 GB, free: 340 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.27e-05/1.601, allocations: 7.969 kB / 1.323 GB, free: 332 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02861/1.629, allocations: 12.52 MB / 1.336 GB, free: 3.684 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.312e-05/1.629, allocations: 4 kB / 1.336 GB, free: 3.68 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006322/1.63, allocations: 123.8 kB / 1.336 GB, free: 3.559 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05209/1.682, allocations: 10.94 MB / 1.347 GB, free: 8.59 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008324/1.683, allocations: 91.89 kB / 1.347 GB, free: 8.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03293/1.716, allocations: 19.98 MB / 1.366 GB, free: 4.191 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.675e-06/1.716, allocations: 4 kB / 1.366 GB, free: 4.188 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0158/1.732, allocations: 7.573 MB / 1.374 GB, free: 12.44 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002637/1.735, allocations: 0.8309 MB / 1.374 GB, free: 11.59 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007424/1.735, allocations: 39.95 kB / 1.374 GB, free: 11.55 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001608/1.737, allocations: 95.8 kB / 1.374 GB, free: 11.45 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007417/1.738, allocations: 181.7 kB / 1.375 GB, free: 11.27 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004535/1.738, allocations: 187.8 kB / 1.375 GB, free: 11.09 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001487/1.74, allocations: 0.8436 MB / 1.376 GB, free: 10.23 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.2e-07/1.74, allocations: 0 / 1.376 GB, free: 10.23 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.003738/1.743, allocations: 0.7656 MB / 1.376 GB, free: 9.469 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 62 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,100.0%) 8,(13,89.3%) 25} * Non-linear torn systems: 2 {8 16,13 33} Notification: Performance of Backend phase and start with SimCode phase: time 0.01728/1.761, allocations: 9.405 MB / 1.386 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0128/1.774, allocations: 5.991 MB / 1.391 GB, free: 9.902 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.58e-05/1.774, allocations: 4 kB / 1.391 GB, free: 9.898 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.009548/1.783, allocations: 3.6 MB / 1.395 GB, free: 6.277 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001778/1.785, allocations: 194.1 kB / 1.395 GB, free: 6.09 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04541/1.83, allocations: 26.56 MB / 1.421 GB, free: 11 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002458/1.833, allocations: 1.827 MB / 1.423 GB, free: 9.137 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00146/1.834, allocations: 410.9 kB / 1.423 GB, free: 8.73 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001292/1.836, allocations: 0.6671 MB / 1.424 GB, free: 8.066 MB / 0.948 GB Notification: Performance of SimCode: time 1.092e-06/1.836, allocations: 0 / 1.424 GB, free: 8.066 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6803/2.516, allocations: 76 MB / 1.498 GB, free: 296.3 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00025/2.516, allocations: 262.5 kB / 1.498 GB, free: 296 MB / 0.948 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.o Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.c In file included from Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.c:7: In file included from ./Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_functions.o Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_functions.c In file included from Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_functions.c:2: In file included from ./Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_records.o Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_records.c In file included from Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_records.c:4: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_01exo.o Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_01exo.c In file included from Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_01exo.c:2: In file included from ./Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.o Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c In file included from Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:2: In file included from ./Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:1637:6: error: redefinition of 'residualFunc452' void residualFunc452(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:641:6: note: previous definition is here void residualFunc452(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:1677:6: error: redefinition of 'initializeSparsePatternNLS452' void initializeSparsePatternNLS452(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:681:6: note: previous definition is here void initializeSparsePatternNLS452(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:1682:6: error: redefinition of 'initializeStaticDataNLS452' void initializeStaticDataNLS452(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:686:6: note: previous definition is here void initializeStaticDataNLS452(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:1695:6: error: redefinition of 'getIterationVarsNLS452' void getIterationVarsNLS452(struct DATA *inData, double *array) ^ Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:699:6: note: previous definition is here void getIterationVarsNLS452(struct DATA *inData, double *array) ^ Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:3337:6: error: redefinition of 'residualFunc66' void residualFunc66(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:2335:6: note: previous definition is here void residualFunc66(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:3377:6: error: redefinition of 'initializeSparsePatternNLS66' void initializeSparsePatternNLS66(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:2375:6: note: previous definition is here void initializeSparsePatternNLS66(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:3382:6: error: redefinition of 'initializeStaticDataNLS66' void initializeStaticDataNLS66(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:2380:6: note: previous definition is here void initializeStaticDataNLS66(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:3395:6: error: redefinition of 'getIterationVarsNLS66' void getIterationVarsNLS66(struct DATA *inData, double *array) ^ Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:2393:6: note: previous definition is here void getIterationVarsNLS66(struct DATA *inData, double *array) ^ 2 warnings and 8 errors generated. make: *** [: Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.o] Error 1