Notification: Performance of loadModel(Modelica): time 1.491/1.491, allocations: 194.5 MB / 200.7 MB, free: 5.18 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 8.451e-06/8.521e-06, allocations: 1.375 kB / 247.4 MB, free: 4.645 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06162/0.0617, allocations: 44.37 MB / 291.8 MB, free: 9.211 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2487/0.3105, allocations: 96.99 MB / 388.8 MB, free: 2.281 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002051/0.3108, allocations: 76.45 kB / 388.8 MB, free: 2.27 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.507/0.8179, allocations: 122.6 MB / 0.4995 GB, free: 79.94 MB / 392.6 MB Notification: Performance of Transformations before backend: time 5.629e-05/0.8181, allocations: 47 kB / 0.4995 GB, free: 79.94 MB / 392.6 MB Notification: Performance of Generate backend data structure: time 0.004617/0.8227, allocations: 2.838 MB / 0.5023 GB, free: 78.62 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.8229, allocations: 10.38 kB / 0.5023 GB, free: 78.62 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005784/0.8235, allocations: 414.8 kB / 0.5027 GB, free: 78.41 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004702/0.8283, allocations: 2.436 MB / 0.5051 GB, free: 77.75 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.227e-05/0.8284, allocations: 17.56 kB / 0.5051 GB, free: 77.75 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00016/0.8286, allocations: 42.39 kB / 0.5051 GB, free: 77.74 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001348/0.83, allocations: 0.6864 MB / 0.5058 GB, free: 77.74 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001264/0.8314, allocations: 0.7118 MB / 0.5065 GB, free: 77.62 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.984e-05/0.8314, allocations: 2.688 kB / 0.5065 GB, free: 77.62 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/0.8316, allocations: 7.203 kB / 0.5065 GB, free: 77.62 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.5e-05/0.8317, allocations: 25.48 kB / 0.5065 GB, free: 77.62 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006853/0.8386, allocations: 3.195 MB / 0.5096 GB, free: 77.12 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006833/0.8394, allocations: 350.4 kB / 0.51 GB, free: 77.11 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008337/0.8403, allocations: 0.5363 MB / 0.5105 GB, free: 77.09 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0379/0.8783, allocations: 36.06 MB / 0.5457 GB, free: 50.69 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000508/0.8789, allocations: 291.2 kB / 0.546 GB, free: 50.64 MB / 392.6 MB Notification: Performance of pre-optimization done (n=49): time 6.915e-06/0.879, allocations: 0 / 0.546 GB, free: 50.64 MB / 392.6 MB Notification: Performance of matching and sorting (n=49): time 0.001658/0.8807, allocations: 0.7911 MB / 0.5468 GB, free: 50.39 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.026e-05/0.8808, allocations: 274.6 kB / 0.547 GB, free: 50.08 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004202/0.8851, allocations: 2.452 MB / 0.5494 GB, free: 49.8 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0001168/0.8853, allocations: 33.48 kB / 0.5495 GB, free: 49.77 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005118/0.8859, allocations: 0.6669 MB / 0.5501 GB, free: 49.5 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001638/0.8861, allocations: 163.4 kB / 0.5503 GB, free: 49.4 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.874e-05/0.8862, allocations: 2.25 kB / 0.5503 GB, free: 49.4 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 7.662e-05/0.8863, allocations: 337.7 kB / 0.5506 GB, free: 49.1 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003956/0.8868, allocations: 173.4 kB / 0.5508 GB, free: 49.1 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005452/0.8874, allocations: 0.5727 MB / 0.5513 GB, free: 48.58 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006258/0.8881, allocations: 264.2 kB / 0.5516 GB, free: 48.57 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.069e-05/0.8882, allocations: 7.688 kB / 0.5516 GB, free: 48.57 MB / 392.6 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002136/0.8904, allocations: 1.048 MB / 0.5526 GB, free: 48.34 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.8905, allocations: 5.656 kB / 0.5526 GB, free: 48.34 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001522/0.8907, allocations: 83.58 kB / 0.5527 GB, free: 48.34 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.995e-05/0.8908, allocations: 19.47 kB / 0.5527 GB, free: 48.34 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/0.8918, allocations: 224 kB / 0.5529 GB, free: 48.34 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.039e-05/0.8919, allocations: 24.34 kB / 0.5529 GB, free: 48.34 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002086/0.8941, allocations: 116.4 kB / 0.5531 GB, free: 48.29 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001669/0.8943, allocations: 65.84 kB / 0.5531 GB, free: 48.29 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001031/0.8945, allocations: 85.5 kB / 0.5532 GB, free: 48.22 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005735/0.8951, allocations: 401.4 kB / 0.5536 GB, free: 48.01 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005429/0.9006, allocations: 1.395 MB / 0.5549 GB, free: 47.9 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/0.9007, allocations: 3.906 kB / 0.5549 GB, free: 47.9 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.215e-06/0.9008, allocations: 0 / 0.5549 GB, free: 47.9 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/0.9008, allocations: 0 / 0.5549 GB, free: 47.9 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004319/0.9052, allocations: 2.088 MB / 0.557 GB, free: 47.56 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001353/0.9054, allocations: 72.06 kB / 0.5571 GB, free: 47.56 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007141/0.9062, allocations: 109.3 kB / 0.5572 GB, free: 47.56 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.638e-06/0.9063, allocations: 7.75 kB / 0.5572 GB, free: 47.56 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-05/0.9064, allocations: 27 kB / 0.5572 GB, free: 47.56 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.448e-06/0.9065, allocations: 3.875 kB / 0.5572 GB, free: 47.56 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.9065, allocations: 0 / 0.5572 GB, free: 47.56 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002039/0.9086, allocations: 1.2 MB / 0.5584 GB, free: 47.11 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001147/0.9099, allocations: 0.5209 MB / 0.5589 GB, free: 46.79 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005511/0.9105, allocations: 9.562 kB / 0.5589 GB, free: 46.79 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001436/0.912, allocations: 41.48 kB / 0.5589 GB, free: 46.79 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001824/0.9122, allocations: 60.81 kB / 0.559 GB, free: 46.79 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.408e-05/0.9124, allocations: 39.66 kB / 0.559 GB, free: 46.79 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.0037/0.9162, allocations: 1.818 MB / 0.5608 GB, free: 46.61 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.002322/0.9186, allocations: 0.6262 MB / 0.5614 GB, free: 46.54 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.001479/0.9202, allocations: 0.9534 MB / 0.5623 GB, free: 46.41 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.001442/0.9217, allocations: 0.6703 MB / 0.563 GB, free: 46.28 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 4.68e-06/0.9218, allocations: 2.375 kB / 0.563 GB, free: 46.28 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0006908/0.9225, allocations: 391.1 kB / 0.5634 GB, free: 46.15 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002621/0.9252, allocations: 0.4949 MB / 0.5638 GB, free: 46.09 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008645/0.9339, allocations: 3.284 MB / 0.5671 GB, free: 45.03 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002111/0.9361, allocations: 1.951 MB / 0.569 GB, free: 44.24 MB / 392.6 MB Notification: Performance of SimCode: time 2.305e-06/0.9362, allocations: 4.156 kB / 0.569 GB, free: 44.24 MB / 392.6 MB Notification: Performance of Templates: time 0.1444/1.081, allocations: 30.14 MB / 0.5984 GB, free: 21.54 MB / 392.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.makefile clang -fPIC -O1 -march=native -I"/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_InvertersExtendedModel -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.o Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.c In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.c:2: ./Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_InvertersExtendedModel__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_InvertersExtendedModel__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.c:6: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:64:13: error: variable has incomplete type 'void' static void prefixedName_updateContinuousSystem(DATA *data, threadData_t *threadData) ^ Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_InvertersExtendedModel_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.c:6: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:64:13: error: expected ';' after top level declarator Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_InvertersExtendedModel_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.c:6: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:171:33: error: unknown type name 'MEASURE_TIME' static void fmtInit(DATA* data, MEASURE_TIME* mt) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:175:6: error: use of undeclared identifier 'measure_time_flag' if(measure_time_flag) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:198:63: error: unknown type name 'MEASURE_TIME' static void fmtEmitStep(DATA* data, threadData_t *threadData, MEASURE_TIME* mt, SOLVER_INFO* solverInfo) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:239:5: warning: implicit declaration of function 'overwriteOldSimulationData' is invalid in C99 [-Wimplicit-function-declaration] overwriteOldSimulationData(data); ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:240:5: warning: implicit declaration of function 'storePreValues' is invalid in C99 [-Wimplicit-function-declaration] storePreValues(data); // Maybe?? ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:241:5: warning: implicit declaration of function 'storeOldValues' is invalid in C99 [-Wimplicit-function-declaration] storeOldValues(data); // Maybe?? ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:259:3: warning: implicit declaration of function 'printAllVarsDebug' is invalid in C99 [-Wimplicit-function-declaration] printAllVarsDebug(data, 0, LOG_DEBUG); /* ??? */ ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:263:22: error: unknown type name 'MEASURE_TIME' static void fmtClose(MEASURE_TIME* mt) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:291:6: error: use of undeclared identifier 'measure_time_flag' if(measure_time_flag) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:308:3: warning: implicit declaration of function 'restoreOldValues' is invalid in C99 [-Wimplicit-function-declaration] restoreOldValues(data); ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:311:3: warning: implicit declaration of function 'updateDiscreteSystem' is invalid in C99 [-Wimplicit-function-declaration] updateDiscreteSystem(data, threadData); ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:335:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int prefixedName_performSimulation(DATA* data, threadData_t *threadData, SOLVER_INFO* solverInfo) ^ Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_InvertersExtendedModel_performSimulation ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:64:13: note: previous definition is here static void prefixedName_updateContinuousSystem(DATA *data, threadData_t *threadData) ^ Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_InvertersExtendedModel_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.c:6: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:335:5: error: expected ';' after top level declarator int prefixedName_performSimulation(DATA* data, threadData_t *threadData, SOLVER_INFO* solverInfo) ^ Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_InvertersExtendedModel_performSimulation ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.c:9: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_qss_simulation.c:71:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int prefixedName_performQSSSimulation(DATA* data, threadData_t *threadData, SOLVER_INFO* solverInfo) ^ Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_InvertersExtendedModel_performQSSSimulation ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:64:13: note: previous definition is here static void prefixedName_updateContinuousSystem(DATA *data, threadData_t *threadData) ^ Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_InvertersExtendedModel_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.c:9: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_qss_simulation.c:71:5: error: expected ';' after top level declarator int prefixedName_performQSSSimulation(DATA* data, threadData_t *threadData, SOLVER_INFO* solverInfo) ^ Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_InvertersExtendedModel_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.c:18:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_InvertersExtendedModel_input_function(DATA *data, threadData_t *threadData) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:64:13: note: previous definition is here static void prefixedName_updateContinuousSystem(DATA *data, threadData_t *threadData) ^ Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_InvertersExtendedModel_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_InvertersExtendedModel_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.c:1103:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_InvertersExtendedModel_eqFunction_115(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.c:1104:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_InvertersExtendedModel_eqFunction_116(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.c:1105:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_InvertersExtendedModel_eqFunction_120(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.c:1106:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_InvertersExtendedModel_eqFunction_121(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.c:1107:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_InvertersExtendedModel_eqFunction_123(DATA* data, threadData_t *threadData); ^ ; fatal error: too many errors emitted, stopping now [-ferror-limit=] 6 warnings and 20 errors generated. : recipe for target 'Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.o] Error 1