Notification: Performance of loadModel(Modelica): time 1.531/1.531, allocations: 194.5 MB / 200.7 MB, free: 5.168 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.18e-05/1.194e-05, allocations: 1.062 kB / 247.3 MB, free: 4.723 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09494/0.09506, allocations: 44.36 MB / 291.7 MB, free: 9.277 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3485/0.4437, allocations: 73.85 MB / 365.6 MB, free: 7.027 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003483/0.4442, allocations: 69.3 kB / 365.6 MB, free: 7.023 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.05468/0.499, allocations: 8.466 MB / 374.1 MB, free: 5.59 MB / 296.6 MB Notification: Performance of Transformations before backend: time 4.435e-05/0.4992, allocations: 15.66 kB / 374.1 MB, free: 5.586 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.002261/0.5015, allocations: 0.765 MB / 374.9 MB, free: 5.016 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/0.5017, allocations: 7.75 kB / 374.9 MB, free: 5.016 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003231/0.5021, allocations: 70.17 kB / 375 MB, free: 4.98 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001/0.5032, allocations: 365.9 kB / 375.3 MB, free: 4.691 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.323e-05/0.5034, allocations: 20.34 kB / 375.3 MB, free: 4.691 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001407/0.5036, allocations: 31.16 kB / 375.4 MB, free: 4.688 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001628/0.5053, allocations: 388.1 kB / 375.7 MB, free: 4.66 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001515/0.5069, allocations: 437.3 kB / 376.2 MB, free: 4.504 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.115e-05/0.5071, allocations: 11.81 kB / 376.2 MB, free: 4.496 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.758e-05/0.5072, allocations: 0 / 376.2 MB, free: 4.496 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.396e-05/0.5073, allocations: 11.62 kB / 376.2 MB, free: 4.496 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005797/0.5132, allocations: 1.977 MB / 378.2 MB, free: 3.293 MB / 296.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008259/0.5142, allocations: 242.5 kB / 378.4 MB, free: 3.262 MB / 296.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001006/0.5153, allocations: 358.4 kB / 378.8 MB, free: 3.23 MB / 296.6 MB Notification: Performance of preOpt evalFunc (simulation): time 6.467e-05/0.5155, allocations: 8.188 kB / 378.8 MB, free: 3.23 MB / 296.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.618e-05/0.5156, allocations: 46.88 kB / 378.8 MB, free: 3.188 MB / 296.6 MB Notification: Performance of pre-optimization done (n=60): time 8.311e-06/0.5157, allocations: 0 / 378.8 MB, free: 3.188 MB / 296.6 MB Notification: Performance of matching and sorting (n=61): time 0.004301/0.5201, allocations: 1.143 MB / 379.9 MB, free: 2.699 MB / 296.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.118e-05/0.5203, allocations: 55.75 kB / 380 MB, free: 18.63 MB / 312.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006185/0.521, allocations: 270.1 kB / 380.3 MB, free: 18.52 MB / 312.6 MB Notification: Performance of collectPreVariables (initialization): time 7.599e-05/0.5212, allocations: 29.61 kB / 380.3 MB, free: 18.48 MB / 312.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.5214, allocations: 187.7 kB / 380.5 MB, free: 18.33 MB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.000213/0.5217, allocations: 200.5 kB / 380.7 MB, free: 18.18 MB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.05e-05/0.5218, allocations: 0 / 380.7 MB, free: 18.18 MB / 312.6 MB Notification: Performance of setup shared object (initialization): time 0.0002071/0.5221, allocations: 351.2 kB / 381 MB, free: 17.86 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005996/0.5228, allocations: 146.1 kB / 381.2 MB, free: 17.85 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006307/0.5235, allocations: 181.6 kB / 381.3 MB, free: 17.82 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006411/0.5243, allocations: 146.6 kB / 381.5 MB, free: 17.8 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.146e-06/0.5244, allocations: 0 / 381.5 MB, free: 17.8 MB / 312.6 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002439/0.5269, allocations: 0.5812 MB / 382.1 MB, free: 17.64 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.5271, allocations: 3.844 kB / 382.1 MB, free: 17.64 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/0.5272, allocations: 3.906 kB / 382.1 MB, free: 17.64 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001623/0.5289, allocations: 249.5 kB / 382.3 MB, free: 17.56 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007632/0.5297, allocations: 66.42 kB / 382.4 MB, free: 17.55 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01183/0.5417, allocations: 6.444 MB / 388.8 MB, free: 12.1 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007817/0.5426, allocations: 15.73 kB / 388.8 MB, free: 12.09 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.039e-05/0.5428, allocations: 14.72 kB / 388.9 MB, free: 12.09 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 8.933e-05/0.543, allocations: 79.34 kB / 388.9 MB, free: 12.02 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001997/0.5432, allocations: 46.78 kB / 389 MB, free: 11.99 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002261/0.5436, allocations: 59.11 kB / 389 MB, free: 11.97 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.516e-05/0.5437, allocations: 7.906 kB / 389 MB, free: 11.97 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-05/0.5438, allocations: 4 kB / 389 MB, free: 11.97 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.369e-05/0.5439, allocations: 3.906 kB / 389 MB, free: 11.96 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00416/0.5481, allocations: 1.163 MB / 390.2 MB, free: 11.46 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.069e-05/0.5483, allocations: 3.938 kB / 390.2 MB, free: 11.46 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000771/0.5492, allocations: 58.5 kB / 390.3 MB, free: 11.45 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001597/0.5509, allocations: 246.2 kB / 390.5 MB, free: 11.37 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.94e-05/0.5511, allocations: 3.844 kB / 390.5 MB, free: 11.37 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01163/0.5628, allocations: 6.459 MB / 397 MB, free: 5.91 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.131e-05/0.563, allocations: 0 / 397 MB, free: 5.91 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003417/0.5665, allocations: 0.9089 MB / 397.9 MB, free: 5.648 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004696/0.5671, allocations: 152.4 kB / 398 MB, free: 5.516 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001611/0.5674, allocations: 7.906 kB / 398 MB, free: 5.512 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007538/0.5682, allocations: 15.58 kB / 398.1 MB, free: 5.504 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000197/0.5685, allocations: 40.06 kB / 398.1 MB, free: 5.484 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.669e-05/0.5687, allocations: 14.44 kB / 398.1 MB, free: 5.484 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.0004163/0.5692, allocations: 212.1 kB / 398.3 MB, free: 5.391 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.00216/0.5715, allocations: 147.4 kB / 398.5 MB, free: 5.391 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0001425/0.5717, allocations: 71.08 kB / 398.5 MB, free: 5.332 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.002619/0.5744, allocations: 0.8625 MB / 399.4 MB, free: 4.875 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 5.168e-06/0.5746, allocations: 1.25 kB / 399.4 MB, free: 4.875 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 0.002022/0.5767, allocations: 0.7057 MB / 400.1 MB, free: 4.414 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009556/0.5777, allocations: 59.48 kB / 400.2 MB, free: 4.391 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00512/0.583, allocations: 0.9573 MB / 401.1 MB, free: 3.879 MB / 312.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007702/0.5839, allocations: 0.8994 MB / 402 MB, free: 3.09 MB / 312.6 MB Notification: Performance of SimCode: time 3.073e-06/0.584, allocations: 1.312 kB / 402 MB, free: 3.09 MB / 312.6 MB Notification: Performance of Templates: time 0.05419/0.6383, allocations: 7.801 MB / 409.8 MB, free: 15.31 MB / 328.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.Rectifier.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_Analog_Examples_Rectifier -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.Rectifier.o Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.Rectifier.c In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.Rectifier.c:2: ./Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.Rectifier_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_Rectifier__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.Rectifier_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_Rectifier__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.Rectifier.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.Analog.Examples.Rectifier.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_Rectifier_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.Rectifier.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.Analog.Examples.Rectifier.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_Rectifier_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.Rectifier.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.Analog.Examples.Rectifier.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_Rectifier_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.Analog.Examples.Rectifier.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_Rectifier_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.Rectifier.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.Analog.Examples.Rectifier.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_Rectifier_performSimulation ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.Rectifier.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.Analog.Examples.Rectifier.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_Rectifier_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.Analog.Examples.Rectifier.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_Rectifier_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.Rectifier.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.Analog.Examples.Rectifier.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_Rectifier_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.Rectifier.c:18:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_Rectifier_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.Analog.Examples.Rectifier.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_Rectifier_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.Rectifier.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_Rectifier_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.Rectifier.c:114:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_Rectifier_eqFunction_98(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.Rectifier.c:114:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_Rectifier_eqFunction_98(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.Rectifier.c:115:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_Rectifier_eqFunction_99(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.Rectifier.c:115:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_Rectifier_eqFunction_99(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.Rectifier.c:116:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_Rectifier_eqFunction_100(DATA*,threadData_t*); ^ 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.Analog.Examples.Rectifier.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.Rectifier.o] Error 1