Notification: Performance of loadModel(Modelica): time 1.533/1.533, allocations: 194.5 MB / 200.7 MB, free: 5.18 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.083e-05/1.089e-05, allocations: 2 kB / 247.4 MB, free: 4.621 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07425/0.07434, allocations: 44.36 MB / 291.8 MB, free: 9.234 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2478/0.3222, allocations: 96.99 MB / 388.8 MB, free: 2.344 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001983/0.3225, allocations: 75.52 kB / 388.8 MB, free: 2.332 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.5132/0.8358, allocations: 122.6 MB / 0.4995 GB, free: 80.21 MB / 392.6 MB Notification: Performance of Transformations before backend: time 6.642e-05/0.836, allocations: 44.62 kB / 0.4995 GB, free: 80.21 MB / 392.6 MB Notification: Performance of Generate backend data structure: time 0.005411/0.8414, allocations: 2.836 MB / 0.5023 GB, free: 78.88 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.8416, allocations: 13.34 kB / 0.5023 GB, free: 78.88 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000696/0.8423, allocations: 414.6 kB / 0.5027 GB, free: 78.67 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005312/0.8477, allocations: 2.433 MB / 0.5051 GB, free: 78.02 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.338e-05/0.8479, allocations: 15.81 kB / 0.5051 GB, free: 78.02 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001599/0.8481, allocations: 39.66 kB / 0.5051 GB, free: 78.01 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00145/0.8496, allocations: 0.6863 MB / 0.5058 GB, free: 78.01 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001355/0.851, allocations: 0.7178 MB / 0.5065 GB, free: 77.89 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/0.8511, allocations: 2.312 kB / 0.5065 GB, free: 77.89 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/0.8513, allocations: 3.703 kB / 0.5065 GB, free: 77.89 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.493e-05/0.8514, allocations: 20.91 kB / 0.5065 GB, free: 77.89 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007608/0.859, allocations: 3.195 MB / 0.5096 GB, free: 77.39 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007221/0.8599, allocations: 354.2 kB / 0.51 GB, free: 77.37 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008457/0.8608, allocations: 0.5364 MB / 0.5105 GB, free: 77.35 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03925/0.9001, allocations: 36.07 MB / 0.5457 GB, free: 50.95 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005092/0.9007, allocations: 296.1 kB / 0.546 GB, free: 50.9 MB / 392.6 MB Notification: Performance of pre-optimization done (n=49): time 5.727e-06/0.9008, allocations: 0 / 0.546 GB, free: 50.9 MB / 392.6 MB Notification: Performance of matching and sorting (n=49): time 0.001577/0.9024, allocations: 0.7908 MB / 0.5468 GB, free: 50.66 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.6e-05/0.9025, allocations: 279 kB / 0.547 GB, free: 50.34 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003972/0.9066, allocations: 2.449 MB / 0.5494 GB, free: 50.06 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 9.498e-05/0.9067, allocations: 29.61 kB / 0.5495 GB, free: 50.03 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.000479/0.9073, allocations: 0.6671 MB / 0.5501 GB, free: 49.77 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001621/0.9075, allocations: 161 kB / 0.5503 GB, free: 49.66 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.734e-05/0.9076, allocations: 3.5 kB / 0.5503 GB, free: 49.66 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 7.257e-05/0.9078, allocations: 338 kB / 0.5506 GB, free: 49.36 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004027/0.9082, allocations: 178.6 kB / 0.5508 GB, free: 49.36 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005495/0.9088, allocations: 0.5715 MB / 0.5513 GB, free: 48.84 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006175/0.9095, allocations: 264 kB / 0.5516 GB, free: 48.84 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.358e-06/0.9096, allocations: 7.344 kB / 0.5516 GB, free: 48.83 MB / 392.6 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002031/0.9117, allocations: 1.052 MB / 0.5526 GB, free: 48.61 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.9117, allocations: 11.47 kB / 0.5526 GB, free: 48.61 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001488/0.9119, allocations: 80.88 kB / 0.5527 GB, free: 48.61 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.415e-05/0.912, allocations: 17.81 kB / 0.5527 GB, free: 48.61 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/0.9131, allocations: 222.5 kB / 0.5529 GB, free: 48.61 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.039e-05/0.9132, allocations: 22.66 kB / 0.5529 GB, free: 48.61 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002001/0.9153, allocations: 116.2 kB / 0.5531 GB, free: 48.55 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001203/0.9155, allocations: 62.12 kB / 0.5531 GB, free: 48.55 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 8.702e-05/0.9156, allocations: 83.08 kB / 0.5532 GB, free: 48.48 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004501/0.9161, allocations: 404.5 kB / 0.5536 GB, free: 48.28 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00534/0.9215, allocations: 1.386 MB / 0.5549 GB, free: 48.17 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/0.9216, allocations: 3.875 kB / 0.5549 GB, free: 48.17 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.355e-06/0.9217, allocations: 0 / 0.5549 GB, free: 48.17 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.639e-06/0.9217, allocations: 3.844 kB / 0.5549 GB, free: 48.17 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004209/0.926, allocations: 2.086 MB / 0.557 GB, free: 47.82 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000137/0.9262, allocations: 72.02 kB / 0.557 GB, free: 47.82 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008285/0.9271, allocations: 108.7 kB / 0.5571 GB, free: 47.82 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.359e-06/0.9272, allocations: 6.375 kB / 0.5572 GB, free: 47.82 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.892e-05/0.9273, allocations: 28.56 kB / 0.5572 GB, free: 47.82 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.473e-06/0.9274, allocations: 7.312 kB / 0.5572 GB, free: 47.82 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.121e-06/0.9274, allocations: 0 / 0.5572 GB, free: 47.82 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001958/0.9295, allocations: 1.2 MB / 0.5584 GB, free: 47.37 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001043/0.9306, allocations: 0.5201 MB / 0.5589 GB, free: 47.06 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005726/0.9312, allocations: 11.66 kB / 0.5589 GB, free: 47.06 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001429/0.9327, allocations: 41.64 kB / 0.5589 GB, free: 47.06 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000177/0.9329, allocations: 62.66 kB / 0.559 GB, free: 47.06 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-05/0.9331, allocations: 31.59 kB / 0.559 GB, free: 47.06 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.003188/0.9363, allocations: 1.823 MB / 0.5608 GB, free: 46.88 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.002158/0.9386, allocations: 0.6266 MB / 0.5614 GB, free: 46.81 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.001428/0.9401, allocations: 0.9457 MB / 0.5623 GB, free: 46.68 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.001417/0.9415, allocations: 0.6738 MB / 0.563 GB, free: 46.55 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 6.146e-06/0.9416, allocations: 3.438 kB / 0.563 GB, free: 46.55 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0006859/0.9424, allocations: 392.7 kB / 0.5634 GB, free: 46.42 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002487/0.9449, allocations: 0.4961 MB / 0.5638 GB, free: 46.36 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007971/0.953, allocations: 3.281 MB / 0.567 GB, free: 45.3 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001925/0.955, allocations: 1.957 MB / 0.569 GB, free: 44.47 MB / 392.6 MB Notification: Performance of SimCode: time 2.305e-06/0.9551, allocations: 0 / 0.569 GB, free: 44.47 MB / 392.6 MB Notification: Performance of Templates: time 0.1146/1.07, allocations: 30.14 MB / 0.5984 GB, free: 21.66 MB / 392.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.makefile clang -fPIC -O2 -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_-O2_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_-O2_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.o Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.c In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.c:2: ./Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Spice3_Examples_InvertersExtendedModel__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Spice3_Examples_InvertersExtendedModel__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Spice3_Examples_InvertersExtendedModel_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Spice3_Examples_InvertersExtendedModel_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_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_-O2_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Spice3_Examples_InvertersExtendedModel_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Spice3_Examples_InvertersExtendedModel_performSimulation ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_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_-O2_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Spice3_Examples_InvertersExtendedModel_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Spice3_Examples_InvertersExtendedModel_performQSSSimulation ^ Modelica_3.2.2_-O2_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_-O2_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_-O2_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Spice3_Examples_InvertersExtendedModel_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Electrical_Spice3_Examples_InvertersExtendedModel_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.c:1103:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Spice3_Examples_InvertersExtendedModel_eqFunction_115(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.c:1104:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Spice3_Examples_InvertersExtendedModel_eqFunction_116(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.c:1105:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Spice3_Examples_InvertersExtendedModel_eqFunction_120(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.c:1106:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Spice3_Examples_InvertersExtendedModel_eqFunction_121(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.c:1107:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_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_-O2_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.o] Error 1