Notification: Performance of loadModel(Modelica): time 1.555/1.555, allocations: 194.5 MB / 200.7 MB, free: 5.18 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.708e-06/9.917e-06, allocations: 5.219 kB / 247.4 MB, free: 4.66 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0613/0.06137, allocations: 44.36 MB / 291.8 MB, free: 9.219 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2483/0.3097, allocations: 96.99 MB / 388.8 MB, free: 2.352 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001979/0.31, allocations: 79.14 kB / 388.8 MB, free: 2.34 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.5113/0.8215, allocations: 122.6 MB / 0.4995 GB, free: 79.95 MB / 392.6 MB Notification: Performance of Transformations before backend: time 6.572e-05/0.8216, allocations: 51.53 kB / 0.4995 GB, free: 79.95 MB / 392.6 MB Notification: Performance of Generate backend data structure: time 0.005308/0.827, allocations: 2.836 MB / 0.5023 GB, free: 78.62 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.8271, allocations: 11.91 kB / 0.5023 GB, free: 78.62 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006803/0.8279, allocations: 414 kB / 0.5027 GB, free: 78.41 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005145/0.8331, allocations: 2.436 MB / 0.5051 GB, free: 77.76 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.639e-05/0.8332, allocations: 18.09 kB / 0.5051 GB, free: 77.76 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001708/0.8335, allocations: 39.78 kB / 0.5051 GB, free: 77.75 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001367/0.8349, allocations: 0.6863 MB / 0.5058 GB, free: 77.75 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001278/0.8362, allocations: 0.7153 MB / 0.5065 GB, free: 77.64 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/0.8363, allocations: 0 / 0.5065 GB, free: 77.64 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/0.8365, allocations: 3.969 kB / 0.5065 GB, free: 77.64 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.905e-05/0.8366, allocations: 24.67 kB / 0.5065 GB, free: 77.64 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007509/0.8441, allocations: 3.189 MB / 0.5096 GB, free: 77.13 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006628/0.8449, allocations: 359.7 kB / 0.51 GB, free: 77.11 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008181/0.8458, allocations: 0.5365 MB / 0.5105 GB, free: 77.09 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03841/0.8843, allocations: 36.07 MB / 0.5457 GB, free: 50.7 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005103/0.8849, allocations: 295.5 kB / 0.546 GB, free: 50.64 MB / 392.6 MB Notification: Performance of pre-optimization done (n=49): time 5.168e-06/0.8849, allocations: 0 / 0.546 GB, free: 50.64 MB / 392.6 MB Notification: Performance of matching and sorting (n=49): time 0.001669/0.8867, allocations: 0.7838 MB / 0.5468 GB, free: 50.4 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.243e-05/0.8868, allocations: 271.6 kB / 0.547 GB, free: 50.08 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004243/0.8911, allocations: 2.458 MB / 0.5494 GB, free: 49.8 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0001194/0.8913, allocations: 31.7 kB / 0.5495 GB, free: 49.77 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004898/0.8919, allocations: 0.6636 MB / 0.5501 GB, free: 49.51 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001662/0.8921, allocations: 163 kB / 0.5503 GB, free: 49.41 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.181e-05/0.8922, allocations: 6.188 kB / 0.5503 GB, free: 49.41 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 7.948e-05/0.8924, allocations: 339.8 kB / 0.5506 GB, free: 49.1 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004209/0.8929, allocations: 171.4 kB / 0.5508 GB, free: 49.1 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005664/0.8935, allocations: 0.5729 MB / 0.5513 GB, free: 48.58 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006543/0.8942, allocations: 263 kB / 0.5516 GB, free: 48.58 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.013e-05/0.8943, allocations: 6.656 kB / 0.5516 GB, free: 48.57 MB / 392.6 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002156/0.8965, allocations: 1.049 MB / 0.5526 GB, free: 48.35 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.8966, allocations: 9.656 kB / 0.5526 GB, free: 48.35 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001557/0.8968, allocations: 83.25 kB / 0.5527 GB, free: 48.35 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.569e-05/0.8969, allocations: 17.44 kB / 0.5527 GB, free: 48.35 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001017/0.898, allocations: 219.2 kB / 0.5529 GB, free: 48.35 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.053e-05/0.8981, allocations: 26.2 kB / 0.5529 GB, free: 48.35 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002075/0.9002, allocations: 118.2 kB / 0.5531 GB, free: 48.3 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001344/0.9004, allocations: 66.12 kB / 0.5531 GB, free: 48.3 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 9.631e-05/0.9005, allocations: 81.06 kB / 0.5532 GB, free: 48.22 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004552/0.9011, allocations: 400.9 kB / 0.5536 GB, free: 48.02 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005401/0.9065, allocations: 1.397 MB / 0.5549 GB, free: 47.92 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.187e-05/0.9066, allocations: 3.938 kB / 0.5549 GB, free: 47.92 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.984e-06/0.9067, allocations: 3.906 kB / 0.5549 GB, free: 47.92 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.87e-06/0.9068, allocations: 3.844 kB / 0.5549 GB, free: 47.92 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004256/0.9111, allocations: 2.086 MB / 0.557 GB, free: 47.57 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001365/0.9113, allocations: 69.45 kB / 0.5571 GB, free: 47.57 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007364/0.9121, allocations: 111.1 kB / 0.5572 GB, free: 47.57 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-05/0.9122, allocations: 3.844 kB / 0.5572 GB, free: 47.57 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.585e-05/0.9123, allocations: 23.12 kB / 0.5572 GB, free: 47.57 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.73e-06/0.9124, allocations: 9.891 kB / 0.5572 GB, free: 47.57 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.308e-06/0.9125, allocations: 3.5 kB / 0.5572 GB, free: 47.57 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002008/0.9145, allocations: 1.199 MB / 0.5584 GB, free: 47.12 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001132/0.9157, allocations: 0.5239 MB / 0.5589 GB, free: 46.81 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005439/0.9163, allocations: 3.969 kB / 0.5589 GB, free: 46.81 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001441/0.9178, allocations: 44 kB / 0.5589 GB, free: 46.81 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000173/0.9181, allocations: 61.02 kB / 0.559 GB, free: 46.81 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.289e-05/0.9182, allocations: 42.88 kB / 0.559 GB, free: 46.81 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.003261/0.9216, allocations: 1.817 MB / 0.5608 GB, free: 46.63 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.002346/0.924, allocations: 0.6196 MB / 0.5614 GB, free: 46.57 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.001459/0.9256, allocations: 0.9448 MB / 0.5623 GB, free: 46.42 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.001495/0.9271, allocations: 0.6744 MB / 0.563 GB, free: 46.28 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 5.588e-06/0.9272, allocations: 1.438 kB / 0.563 GB, free: 46.28 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0006829/0.928, allocations: 391.5 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.002667/0.9307, allocations: 0.5002 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.008448/0.9392, allocations: 3.28 MB / 0.5671 GB, free: 45.03 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002063/0.9414, allocations: 1.959 MB / 0.569 GB, free: 44.24 MB / 392.6 MB Notification: Performance of SimCode: time 2.305e-06/0.9415, allocations: 0.875 kB / 0.569 GB, free: 44.24 MB / 392.6 MB Notification: Performance of Templates: time 0.1157/1.057, allocations: 30.12 MB / 0.5984 GB, free: 21.57 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