Notification: Performance of loadModel(Modelica): time 1.518/1.518, allocations: 194.5 MB / 200.7 MB, free: 5.148 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.201e-05/1.215e-05, allocations: 2.344 kB / 247.4 MB, free: 4.707 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06314/0.06324, allocations: 44.36 MB / 291.7 MB, free: 9.273 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2374/0.3007, allocations: 81.24 MB / 373 MB, free: 6.492 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002133/0.301, allocations: 80.28 kB / 373 MB, free: 6.477 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.1365/0.4376, allocations: 35.74 MB / 408.8 MB, free: 8.387 MB / 312.6 MB Notification: Performance of Transformations before backend: time 2.5e-05/0.4378, allocations: 19.94 kB / 408.8 MB, free: 8.367 MB / 312.6 MB Notification: Performance of Generate backend data structure: time 0.00198/0.4398, allocations: 1.178 MB / 410 MB, free: 7.141 MB / 312.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.44, allocations: 16.02 kB / 410 MB, free: 7.125 MB / 312.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002183/0.4402, allocations: 130.4 kB / 410.1 MB, free: 6.996 MB / 312.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001295/0.4416, allocations: 0.7253 MB / 410.8 MB, free: 6.25 MB / 312.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.591e-05/0.4417, allocations: 8 kB / 410.8 MB, free: 6.242 MB / 312.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.18e-05/0.4418, allocations: 12 kB / 410.9 MB, free: 6.23 MB / 312.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004738/0.4423, allocations: 197 kB / 411.1 MB, free: 6.039 MB / 312.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007153/0.4431, allocations: 266.4 kB / 411.3 MB, free: 5.762 MB / 312.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.4432, allocations: 0 / 411.3 MB, free: 5.762 MB / 312.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.316e-05/0.4433, allocations: 4 kB / 411.3 MB, free: 5.758 MB / 312.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.236e-05/0.4434, allocations: 8 kB / 411.3 MB, free: 5.75 MB / 312.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002401/0.4458, allocations: 1.14 MB / 412.5 MB, free: 4.582 MB / 312.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000376/0.4463, allocations: 202 kB / 412.7 MB, free: 4.379 MB / 312.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005432/0.4469, allocations: 280.8 kB / 412.9 MB, free: 4.102 MB / 312.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001617/0.4486, allocations: 1.274 MB / 414.2 MB, free: 2.57 MB / 312.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.4487, allocations: 38.56 kB / 414.2 MB, free: 2.523 MB / 312.6 MB Notification: Performance of pre-optimization done (n=38): time 3.771e-06/0.4488, allocations: 4 kB / 414.3 MB, free: 2.52 MB / 312.6 MB Notification: Performance of matching and sorting (n=39): time 0.003405/0.4522, allocations: 1.151 MB / 415.4 MB, free: 1.309 MB / 312.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.399e-05/0.4524, allocations: 114.8 kB / 415.5 MB, free: 1.172 MB / 312.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001088/0.4536, allocations: 0.709 MB / 416.2 MB, free: 468 kB / 312.6 MB Notification: Performance of collectPreVariables (initialization): time 6.209e-05/0.4537, allocations: 25.7 kB / 416.2 MB, free: 436 kB / 312.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.4539, allocations: 193.6 kB / 416.4 MB, free: 240 kB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/0.454, allocations: 126.1 kB / 416.6 MB, free: 112 kB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.052e-05/0.4541, allocations: 0 / 416.6 MB, free: 112 kB / 312.6 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.4543, allocations: 329.9 kB / 416.9 MB, free: 15.78 MB / 328.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002685/0.4546, allocations: 100.3 kB / 417 MB, free: 15.68 MB / 328.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002815/0.455, allocations: 130.8 kB / 417.1 MB, free: 15.54 MB / 328.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006007/0.4556, allocations: 132.3 kB / 417.2 MB, free: 15.41 MB / 328.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.772e-06/0.4557, allocations: 3.938 kB / 417.2 MB, free: 15.41 MB / 328.6 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001456/0.4572, allocations: 477.5 kB / 417.7 MB, free: 14.93 MB / 328.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.4574, allocations: 4 kB / 417.7 MB, free: 14.93 MB / 328.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.573e-05/0.4575, allocations: 15.98 kB / 417.7 MB, free: 14.91 MB / 328.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003355/0.4579, allocations: 73.59 kB / 417.8 MB, free: 14.83 MB / 328.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005213/0.4585, allocations: 43.95 kB / 417.8 MB, free: 14.79 MB / 328.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002493/0.461, allocations: 2.862 MB / 420.7 MB, free: 11.7 MB / 328.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006375/0.4617, allocations: 11.97 kB / 420.7 MB, free: 11.69 MB / 328.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-05/0.4619, allocations: 23.92 kB / 420.7 MB, free: 11.67 MB / 328.6 MB Notification: Performance of prepare postOptimizeDAE: time 9.331e-05/0.462, allocations: 117 kB / 420.9 MB, free: 11.55 MB / 328.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001803/0.4623, allocations: 122.5 kB / 421 MB, free: 11.43 MB / 328.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002594/0.4649, allocations: 0.6746 MB / 421.6 MB, free: 10.73 MB / 328.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/0.465, allocations: 4 kB / 421.7 MB, free: 10.72 MB / 328.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.73e-06/0.4651, allocations: 3.906 kB / 421.7 MB, free: 10.72 MB / 328.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.66e-06/0.4652, allocations: 7.984 kB / 421.7 MB, free: 10.71 MB / 328.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009645/0.4662, allocations: 0.555 MB / 422.2 MB, free: 10.13 MB / 328.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.772e-05/0.4663, allocations: 16.11 kB / 422.2 MB, free: 10.11 MB / 328.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002944/0.4666, allocations: 39.98 kB / 422.3 MB, free: 10.07 MB / 328.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002852/0.467, allocations: 69.66 kB / 422.3 MB, free: 10 MB / 328.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.427e-05/0.4671, allocations: 15.98 kB / 422.4 MB, free: 9.984 MB / 328.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002507/0.4697, allocations: 2.869 MB / 425.2 MB, free: 6.891 MB / 328.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.914e-06/0.4698, allocations: 3.984 kB / 425.2 MB, free: 6.887 MB / 328.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001868/0.4717, allocations: 0.7596 MB / 426 MB, free: 6.105 MB / 328.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005399/0.4723, allocations: 291.5 kB / 426.3 MB, free: 5.801 MB / 328.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001731/0.4726, allocations: 4 kB / 426.3 MB, free: 5.797 MB / 328.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004973/0.4732, allocations: 11.98 kB / 426.3 MB, free: 5.785 MB / 328.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.575e-05/0.4733, allocations: 23.97 kB / 426.3 MB, free: 5.762 MB / 328.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.776e-05/0.4734, allocations: 19.98 kB / 426.3 MB, free: 5.742 MB / 328.6 MB Notification: Performance of sort global known variables: time 0.0008673/0.4744, allocations: 0.5438 MB / 426.9 MB, free: 5.195 MB / 328.6 MB Notification: Performance of remove unused functions: time 0.001214/0.4756, allocations: 235.8 kB / 427.1 MB, free: 4.965 MB / 328.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0008566/0.4766, allocations: 390.9 kB / 427.5 MB, free: 4.613 MB / 328.6 MB Notification: Performance of simCode: created initialization part: time 0.001041/0.4777, allocations: 0.6328 MB / 428.1 MB, free: 3.93 MB / 328.6 MB Notification: Performance of simCode: created event and clocks part: time 8.171e-06/0.4777, allocations: 0 / 428.1 MB, free: 3.93 MB / 328.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0006286/0.4784, allocations: 0.5351 MB / 428.7 MB, free: 3.344 MB / 328.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006257/0.4791, allocations: 80.66 kB / 428.7 MB, free: 3.266 MB / 328.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002496/0.4817, allocations: 1.053 MB / 429.8 MB, free: 2.172 MB / 328.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005264/0.4823, allocations: 1.059 MB / 430.8 MB, free: 1.09 MB / 328.6 MB Notification: Performance of SimCode: time 2.165e-06/0.4824, allocations: 0 / 430.8 MB, free: 1.09 MB / 328.6 MB Notification: Performance of Templates: time 0.05569/0.5381, allocations: 8.248 MB / 439.1 MB, free: 8.898 MB / 344.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.Graetz.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_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_-O1_Modelica.Electrical.Spice3.Examples.Graetz.o Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.Graetz.c In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.Graetz.c:2: ./Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.Graetz_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_Graetz__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.Graetz_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_Graetz__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Spice3.Examples.Graetz.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_Graetz_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Spice3.Examples.Graetz.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_Graetz_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Spice3.Examples.Graetz.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Electrical.Spice3.Examples.Graetz.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_Graetz_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Spice3.Examples.Graetz.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_Graetz_performSimulation ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Spice3.Examples.Graetz.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Electrical.Spice3.Examples.Graetz.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_Graetz_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Spice3.Examples.Graetz.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_Graetz_performQSSSimulation ^ Modelica_3.2.2_-O1_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_-O1_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_-O1_Modelica.Electrical.Spice3.Examples.Graetz.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_Graetz_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.Graetz.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_Graetz_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.Graetz.c:530:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_Graetz_eqFunction_44(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.Graetz.c:531:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_Graetz_eqFunction_45(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.Graetz.c:532:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_Graetz_eqFunction_46(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.Graetz.c:533:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Spice3_Examples_Graetz_eqFunction_47(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.Graetz.c:534:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_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_-O1_Modelica.Electrical.Spice3.Examples.Graetz.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Electrical.Spice3.Examples.Graetz.o] Error 1