Notification: Performance of loadModel(Modelica): time 1.501/1.501, allocations: 194.5 MB / 200.7 MB, free: 5.168 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.041e-05/1.062e-05, allocations: 1.562 kB / 247.4 MB, free: 4.699 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06043/0.06051, allocations: 44.36 MB / 291.7 MB, free: 9.297 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2309/0.2916, allocations: 81.24 MB / 373 MB, free: 6.215 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002235/0.2919, allocations: 77.61 kB / 373 MB, free: 6.203 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.1335/0.4254, allocations: 35.77 MB / 408.8 MB, free: 8.246 MB / 312.6 MB Notification: Performance of Transformations before backend: time 2.626e-05/0.4256, allocations: 16 kB / 408.8 MB, free: 8.23 MB / 312.6 MB Notification: Performance of Generate backend data structure: time 0.001938/0.4276, allocations: 1.193 MB / 410 MB, free: 7.047 MB / 312.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.4277, allocations: 8.031 kB / 410 MB, free: 7.039 MB / 312.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001769/0.4279, allocations: 130.4 kB / 410.1 MB, free: 6.91 MB / 312.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001119/0.4291, allocations: 0.7142 MB / 410.9 MB, free: 6.176 MB / 312.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.151e-05/0.4292, allocations: 7.906 kB / 410.9 MB, free: 6.168 MB / 312.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.558e-05/0.4293, allocations: 16 kB / 410.9 MB, free: 6.152 MB / 312.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004623/0.4298, allocations: 205 kB / 411.1 MB, free: 5.953 MB / 312.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005262/0.4304, allocations: 262.5 kB / 411.3 MB, free: 5.68 MB / 312.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.4305, allocations: 0 / 411.3 MB, free: 5.68 MB / 312.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.288e-05/0.4306, allocations: 4 kB / 411.3 MB, free: 5.676 MB / 312.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.4306, allocations: 4 kB / 411.3 MB, free: 5.672 MB / 312.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002389/0.4331, allocations: 1.138 MB / 412.5 MB, free: 4.508 MB / 312.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003493/0.4335, allocations: 202.5 kB / 412.7 MB, free: 4.301 MB / 312.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005167/0.4341, allocations: 287.6 kB / 413 MB, free: 4.02 MB / 312.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001568/0.4357, allocations: 1.273 MB / 414.2 MB, free: 2.492 MB / 312.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.4358, allocations: 38.56 kB / 414.3 MB, free: 2.445 MB / 312.6 MB Notification: Performance of pre-optimization done (n=38): time 3.911e-06/0.4359, allocations: 0 / 414.3 MB, free: 2.445 MB / 312.6 MB Notification: Performance of matching and sorting (n=39): time 0.003313/0.4393, allocations: 1.152 MB / 415.4 MB, free: 1.23 MB / 312.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.718e-05/0.4394, allocations: 114.7 kB / 415.5 MB, free: 1.094 MB / 312.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001236/0.4407, allocations: 0.709 MB / 416.2 MB, free: 388 kB / 312.6 MB Notification: Performance of collectPreVariables (initialization): time 4.931e-05/0.4409, allocations: 29.7 kB / 416.3 MB, free: 352 kB / 312.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001583/0.4411, allocations: 197.6 kB / 416.5 MB, free: 152 kB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001246/0.4413, allocations: 122.1 kB / 416.6 MB, free: 28 kB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.919e-05/0.4413, allocations: 4 kB / 416.6 MB, free: 24 kB / 312.6 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.4416, allocations: 317.9 kB / 416.9 MB, free: 15.71 MB / 328.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002553/0.4419, allocations: 100.3 kB / 417 MB, free: 15.61 MB / 328.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002818/0.4422, allocations: 138.8 kB / 417.1 MB, free: 15.46 MB / 328.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005558/0.4428, allocations: 140.3 kB / 417.3 MB, free: 15.32 MB / 328.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.701e-06/0.4429, allocations: 0 / 417.3 MB, free: 15.32 MB / 328.6 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001376/0.4443, allocations: 473.1 kB / 417.7 MB, free: 14.85 MB / 328.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.4444, allocations: 8 kB / 417.7 MB, free: 14.84 MB / 328.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.624e-05/0.4445, allocations: 16.02 kB / 417.8 MB, free: 14.83 MB / 328.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000323/0.4449, allocations: 73.53 kB / 417.8 MB, free: 14.75 MB / 328.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000315/0.4453, allocations: 39.97 kB / 417.9 MB, free: 14.71 MB / 328.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002735/0.4481, allocations: 2.859 MB / 420.7 MB, free: 11.62 MB / 328.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005955/0.4488, allocations: 11.98 kB / 420.7 MB, free: 11.61 MB / 328.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.698e-05/0.4489, allocations: 23.97 kB / 420.8 MB, free: 11.59 MB / 328.6 MB Notification: Performance of prepare postOptimizeDAE: time 9.24e-05/0.4491, allocations: 113 kB / 420.9 MB, free: 11.47 MB / 328.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000171/0.4493, allocations: 122.5 kB / 421 MB, free: 11.35 MB / 328.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00234/0.4517, allocations: 0.6782 MB / 421.7 MB, free: 10.65 MB / 328.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.87e-06/0.4518, allocations: 7.938 kB / 421.7 MB, free: 10.64 MB / 328.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.73e-06/0.4519, allocations: 8.125 kB / 421.7 MB, free: 10.63 MB / 328.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.683e-06/0.4519, allocations: 3.906 kB / 421.7 MB, free: 10.63 MB / 328.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001103/0.4531, allocations: 0.5627 MB / 422.2 MB, free: 10.04 MB / 328.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.534e-05/0.4532, allocations: 12 kB / 422.3 MB, free: 10.03 MB / 328.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002929/0.4535, allocations: 35.97 kB / 422.3 MB, free: 9.992 MB / 328.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002776/0.4539, allocations: 69.62 kB / 422.4 MB, free: 9.918 MB / 328.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.196e-05/0.454, allocations: 11.98 kB / 422.4 MB, free: 9.906 MB / 328.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002545/0.4566, allocations: 2.873 MB / 425.2 MB, free: 6.809 MB / 328.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.098e-06/0.4567, allocations: 0 / 425.2 MB, free: 6.809 MB / 328.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001819/0.4586, allocations: 0.7714 MB / 426 MB, free: 6.016 MB / 328.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005365/0.4592, allocations: 283.4 kB / 426.3 MB, free: 5.719 MB / 328.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000171/0.4594, allocations: 3.984 kB / 426.3 MB, free: 5.715 MB / 328.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005033/0.46, allocations: 8 kB / 426.3 MB, free: 5.707 MB / 328.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.366e-05/0.4602, allocations: 28.03 kB / 426.3 MB, free: 5.68 MB / 328.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.538e-05/0.4603, allocations: 19.98 kB / 426.4 MB, free: 5.66 MB / 328.6 MB Notification: Performance of sort global known variables: time 0.0008511/0.4612, allocations: 0.5477 MB / 426.9 MB, free: 5.109 MB / 328.6 MB Notification: Performance of remove unused functions: time 0.001345/0.4626, allocations: 227.8 kB / 427.1 MB, free: 4.887 MB / 328.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0007451/0.4634, allocations: 399.8 kB / 427.5 MB, free: 4.527 MB / 328.6 MB Notification: Performance of simCode: created initialization part: time 0.00125/0.4647, allocations: 0.6367 MB / 428.2 MB, free: 3.84 MB / 328.6 MB Notification: Performance of simCode: created event and clocks part: time 4.261e-06/0.4648, allocations: 0 / 428.2 MB, free: 3.84 MB / 328.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0006186/0.4655, allocations: 0.5273 MB / 428.7 MB, free: 3.262 MB / 328.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006132/0.4662, allocations: 92.58 kB / 428.8 MB, free: 3.172 MB / 328.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00248/0.4687, allocations: 1.049 MB / 429.8 MB, free: 2.082 MB / 328.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005273/0.4693, allocations: 1.063 MB / 430.9 MB, free: 0.9961 MB / 328.6 MB Notification: Performance of SimCode: time 2.025e-06/0.4694, allocations: 3.938 kB / 430.9 MB, free: 0.9922 MB / 328.6 MB Notification: Performance of Templates: time 0.04768/0.5171, allocations: 8.251 MB / 439.1 MB, free: 8.809 MB / 344.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.Graetz.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_Graetz -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.Graetz.o Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.Graetz.c In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.Graetz.c:2: ./Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.Graetz_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Spice3_Examples_Graetz__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.Graetz_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Spice3_Examples_Graetz__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.Graetz.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.Graetz.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Spice3_Examples_Graetz_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.Graetz.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.Graetz.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Spice3_Examples_Graetz_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.Graetz.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.Graetz.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Spice3_Examples_Graetz_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.Graetz.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Spice3_Examples_Graetz_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.Graetz.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.Graetz.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Spice3_Examples_Graetz_performSimulation ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.Graetz.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.Graetz.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Spice3_Examples_Graetz_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.Graetz.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Spice3_Examples_Graetz_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.Graetz.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.Graetz.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Spice3_Examples_Graetz_performQSSSimulation ^ Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.Graetz.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_Graetz_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.Graetz.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Spice3_Examples_Graetz_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.Graetz.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Electrical_Spice3_Examples_Graetz_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.Graetz.c:530:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Spice3_Examples_Graetz_eqFunction_44(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.Graetz.c:531:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Spice3_Examples_Graetz_eqFunction_45(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.Graetz.c:532:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Spice3_Examples_Graetz_eqFunction_46(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.Graetz.c:533:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Spice3_Examples_Graetz_eqFunction_47(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.Graetz.c:534:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_Spice3_Examples_Graetz_eqFunction_48(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.Graetz.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Electrical.Spice3.Examples.Graetz.o] Error 1