Notification: Performance of loadModel(Modelica): time 1.548/1.548, allocations: 194.5 MB / 200.7 MB, free: 5.164 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.149e-06/9.289e-06, allocations: 2.094 kB / 247.4 MB, free: 4.688 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05878/0.05886, allocations: 44.36 MB / 291.8 MB, free: 9.219 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2457/0.3046, allocations: 96.99 MB / 388.8 MB, free: 2.297 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000208/0.305, allocations: 79.38 kB / 388.8 MB, free: 2.281 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.5073/0.8123, allocations: 122.6 MB / 0.4995 GB, free: 80.42 MB / 392.6 MB Notification: Performance of Transformations before backend: time 5.573e-05/0.8124, allocations: 46.88 kB / 0.4995 GB, free: 80.42 MB / 392.6 MB Notification: Performance of Generate backend data structure: time 0.004434/0.8169, allocations: 2.843 MB / 0.5023 GB, free: 79.09 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.8171, allocations: 7.062 kB / 0.5023 GB, free: 79.09 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005325/0.8176, allocations: 417.9 kB / 0.5027 GB, free: 78.88 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004744/0.8224, allocations: 2.431 MB / 0.5051 GB, free: 78.22 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.29e-05/0.8226, allocations: 21.78 kB / 0.5051 GB, free: 78.22 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001578/0.8228, allocations: 33.28 kB / 0.5051 GB, free: 78.22 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0014/0.8242, allocations: 0.6851 MB / 0.5058 GB, free: 78.22 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001337/0.8257, allocations: 0.7215 MB / 0.5065 GB, free: 78.1 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/0.8257, allocations: 0 / 0.5065 GB, free: 78.1 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/0.8259, allocations: 3.703 kB / 0.5065 GB, free: 78.1 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.465e-05/0.826, allocations: 25.12 kB / 0.5065 GB, free: 78.1 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007712/0.8338, allocations: 3.191 MB / 0.5096 GB, free: 77.6 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006708/0.8345, allocations: 357.8 kB / 0.51 GB, free: 77.58 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008675/0.8355, allocations: 0.5408 MB / 0.5105 GB, free: 77.56 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05822/0.8938, allocations: 36.06 MB / 0.5457 GB, free: 51.16 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005332/0.8944, allocations: 299.2 kB / 0.546 GB, free: 51.11 MB / 392.6 MB Notification: Performance of pre-optimization done (n=49): time 5.029e-06/0.8945, allocations: 3.594 kB / 0.546 GB, free: 51.11 MB / 392.6 MB Notification: Performance of matching and sorting (n=49): time 0.001707/0.8963, allocations: 0.7886 MB / 0.5468 GB, free: 50.86 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.606e-05/0.8964, allocations: 275.1 kB / 0.547 GB, free: 50.55 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00482/0.9013, allocations: 2.454 MB / 0.5494 GB, free: 50.27 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.000118/0.9015, allocations: 30.08 kB / 0.5495 GB, free: 50.23 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005828/0.9022, allocations: 0.6631 MB / 0.5501 GB, free: 49.97 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002219/0.9024, allocations: 164.6 kB / 0.5503 GB, free: 49.87 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.985e-05/0.9026, allocations: 3.938 kB / 0.5503 GB, free: 49.87 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 7.787e-05/0.9027, allocations: 342.3 kB / 0.5506 GB, free: 49.57 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004218/0.9032, allocations: 174 kB / 0.5508 GB, free: 49.57 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005885/0.9038, allocations: 0.5706 MB / 0.5513 GB, free: 49.05 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006438/0.9045, allocations: 259.5 kB / 0.5516 GB, free: 49.04 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.034e-05/0.9046, allocations: 10.81 kB / 0.5516 GB, free: 49.04 MB / 392.6 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002185/0.9068, allocations: 1.05 MB / 0.5526 GB, free: 48.81 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.9069, allocations: 3.906 kB / 0.5526 GB, free: 48.81 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001537/0.9071, allocations: 82.94 kB / 0.5527 GB, free: 48.81 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.311e-05/0.9072, allocations: 19.53 kB / 0.5527 GB, free: 48.81 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001028/0.9083, allocations: 222.8 kB / 0.5529 GB, free: 48.81 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.151e-05/0.9084, allocations: 25.62 kB / 0.5529 GB, free: 48.81 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002126/0.9106, allocations: 116.8 kB / 0.5531 GB, free: 48.76 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001597/0.9108, allocations: 66.38 kB / 0.5531 GB, free: 48.76 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 9.897e-05/0.911, allocations: 78.91 kB / 0.5532 GB, free: 48.69 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005976/0.9116, allocations: 408.1 kB / 0.5536 GB, free: 48.48 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005343/0.917, allocations: 1.391 MB / 0.5549 GB, free: 48.38 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/0.9172, allocations: 3.875 kB / 0.5549 GB, free: 48.38 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.704e-06/0.9172, allocations: 0 / 0.5549 GB, free: 48.38 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.73e-06/0.9173, allocations: 6.938 kB / 0.5549 GB, free: 48.38 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004532/0.9219, allocations: 2.085 MB / 0.557 GB, free: 48.04 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001446/0.9221, allocations: 70.02 kB / 0.5571 GB, free: 48.04 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00081/0.923, allocations: 105.2 kB / 0.5572 GB, free: 48.04 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.173e-05/0.9231, allocations: 3.938 kB / 0.5572 GB, free: 48.04 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.367e-05/0.9232, allocations: 30.42 kB / 0.5572 GB, free: 48.04 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.308e-06/0.9233, allocations: 0 / 0.5572 GB, free: 48.04 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.657e-06/0.9233, allocations: 7.125 kB / 0.5572 GB, free: 48.04 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002115/0.9255, allocations: 1.203 MB / 0.5584 GB, free: 47.58 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001273/0.9269, allocations: 0.5184 MB / 0.5589 GB, free: 47.27 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007797/0.9277, allocations: 7.766 kB / 0.5589 GB, free: 47.27 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001683/0.9295, allocations: 45.95 kB / 0.5589 GB, free: 47.27 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001935/0.9298, allocations: 53.94 kB / 0.559 GB, free: 47.27 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.925e-05/0.9299, allocations: 38.3 kB / 0.559 GB, free: 47.27 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.003965/0.934, allocations: 1.821 MB / 0.5608 GB, free: 47.09 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.002443/0.9365, allocations: 0.6206 MB / 0.5614 GB, free: 47.02 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.00155/0.9382, allocations: 0.953 MB / 0.5623 GB, free: 46.88 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.00156/0.9398, allocations: 0.6795 MB / 0.563 GB, free: 46.74 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 6.425e-06/0.9399, allocations: 1.75 kB / 0.563 GB, free: 46.74 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0007157/0.9407, allocations: 388.4 kB / 0.5634 GB, free: 46.61 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002751/0.9435, allocations: 0.4938 MB / 0.5638 GB, free: 46.55 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008776/0.9524, allocations: 3.282 MB / 0.5671 GB, free: 45.49 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002001/0.9545, allocations: 1.954 MB / 0.569 GB, free: 44.57 MB / 392.6 MB Notification: Performance of SimCode: time 2.375e-06/0.9546, allocations: 0 / 0.569 GB, free: 44.57 MB / 392.6 MB Notification: Performance of Templates: time 0.163/1.118, allocations: 30.13 MB / 0.5984 GB, free: 21.8 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