Notification: Performance of loadModel(Modelica): time 1.585/1.585, allocations: 194.5 MB / 200.7 MB, free: 5.164 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.013e-05/1.027e-05, allocations: 1.406 kB / 247.3 MB, free: 4.695 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06074/0.06083, allocations: 44.37 MB / 291.7 MB, free: 9.289 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2234/0.2843, allocations: 73.84 MB / 365.6 MB, free: 7.117 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002052/0.2847, allocations: 73.3 kB / 365.6 MB, free: 7.113 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.03432/0.319, allocations: 8.471 MB / 374.1 MB, free: 5.684 MB / 296.6 MB Notification: Performance of Transformations before backend: time 3.01e-05/0.3192, allocations: 11.59 kB / 374.1 MB, free: 5.684 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.001278/0.3205, allocations: 0.7712 MB / 374.9 MB, free: 5.105 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.3206, allocations: 7.719 kB / 374.9 MB, free: 5.105 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001384/0.3208, allocations: 66.22 kB / 375 MB, free: 5.074 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005384/0.3214, allocations: 368.8 kB / 375.3 MB, free: 4.785 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.717e-05/0.3215, allocations: 16.59 kB / 375.3 MB, free: 4.785 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.814e-05/0.3217, allocations: 35 kB / 375.4 MB, free: 4.781 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009128/0.3226, allocations: 377.5 kB / 375.7 MB, free: 4.762 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008947/0.3236, allocations: 446.7 kB / 376.2 MB, free: 4.598 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.005e-05/0.3237, allocations: 0 / 376.2 MB, free: 4.598 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.469e-05/0.3238, allocations: 3.875 kB / 376.2 MB, free: 4.598 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.928e-05/0.3239, allocations: 11.62 kB / 376.2 MB, free: 4.598 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00344/0.3274, allocations: 1.97 MB / 378.2 MB, free: 3.398 MB / 296.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004824/0.328, allocations: 240.2 kB / 378.4 MB, free: 3.367 MB / 296.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005827/0.3286, allocations: 363.3 kB / 378.7 MB, free: 3.336 MB / 296.6 MB Notification: Performance of preOpt evalFunc (simulation): time 4.707e-05/0.3288, allocations: 15.81 kB / 378.8 MB, free: 3.332 MB / 296.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.3288, allocations: 42.12 kB / 378.8 MB, free: 3.293 MB / 296.6 MB Notification: Performance of pre-optimization done (n=60): time 4.889e-06/0.3289, allocations: 3.938 kB / 378.8 MB, free: 3.289 MB / 296.6 MB Notification: Performance of matching and sorting (n=61): time 0.002642/0.3316, allocations: 1.139 MB / 379.9 MB, free: 2.801 MB / 296.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.74e-05/0.3318, allocations: 59.66 kB / 380 MB, free: 18.73 MB / 312.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003873/0.3322, allocations: 269.5 kB / 380.3 MB, free: 18.62 MB / 312.6 MB Notification: Performance of collectPreVariables (initialization): time 6.391e-05/0.3323, allocations: 25.7 kB / 380.3 MB, free: 18.59 MB / 312.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.3325, allocations: 192.1 kB / 380.5 MB, free: 18.43 MB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001432/0.3327, allocations: 200.3 kB / 380.7 MB, free: 18.28 MB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.08e-05/0.3328, allocations: 3.844 kB / 380.7 MB, free: 18.28 MB / 312.6 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.333, allocations: 348 kB / 381 MB, free: 17.95 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003386/0.3334, allocations: 136.9 kB / 381.1 MB, free: 17.95 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003655/0.3338, allocations: 185.7 kB / 381.3 MB, free: 17.92 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003604/0.3342, allocations: 148.2 kB / 381.5 MB, free: 17.9 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.771e-06/0.3343, allocations: 4 kB / 381.5 MB, free: 17.89 MB / 312.6 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0014/0.3358, allocations: 0.5732 MB / 382.1 MB, free: 17.75 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.3359, allocations: 7.875 kB / 382.1 MB, free: 17.75 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.847e-06/0.3359, allocations: 4.031 kB / 382.1 MB, free: 17.74 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000929/0.3369, allocations: 244.5 kB / 382.3 MB, free: 17.67 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004349/0.3374, allocations: 66.16 kB / 382.4 MB, free: 17.65 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007179/0.3447, allocations: 6.4 MB / 388.8 MB, free: 12.23 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005126/0.3453, allocations: 15.83 kB / 388.8 MB, free: 12.22 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.357e-05/0.3454, allocations: 15.28 kB / 388.8 MB, free: 12.22 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 6.53e-05/0.3455, allocations: 79.22 kB / 388.9 MB, free: 12.14 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/0.3457, allocations: 50.62 kB / 388.9 MB, free: 12.11 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001547/0.3459, allocations: 51.66 kB / 389 MB, free: 12.1 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.94e-06/0.346, allocations: 7.75 kB / 389 MB, free: 12.1 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/0.3461, allocations: 0 / 389 MB, free: 12.1 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.429e-06/0.3461, allocations: 3.984 kB / 389 MB, free: 12.09 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002432/0.3486, allocations: 1.164 MB / 390.1 MB, free: 11.59 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.915e-06/0.3487, allocations: 3.938 kB / 390.2 MB, free: 11.59 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004474/0.3492, allocations: 61.12 kB / 390.2 MB, free: 11.57 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009681/0.3503, allocations: 250.5 kB / 390.5 MB, free: 11.49 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.223e-05/0.3504, allocations: 8.109 kB / 390.5 MB, free: 11.48 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007144/0.3576, allocations: 6.396 MB / 396.9 MB, free: 6.051 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.66e-06/0.3577, allocations: 7.781 kB / 396.9 MB, free: 6.047 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001821/0.3596, allocations: 0.8955 MB / 397.8 MB, free: 5.797 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002854/0.36, allocations: 163.4 kB / 397.9 MB, free: 5.656 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.38e-05/0.3602, allocations: 0 / 397.9 MB, free: 5.656 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000426/0.3607, allocations: 15.73 kB / 397.9 MB, free: 5.648 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/0.3608, allocations: 38.98 kB / 398 MB, free: 5.633 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.142e-05/0.3609, allocations: 15.23 kB / 398 MB, free: 5.629 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.0002653/0.3613, allocations: 215.1 kB / 398.2 MB, free: 5.535 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.001264/0.3626, allocations: 142.7 kB / 398.3 MB, free: 5.535 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0001023/0.3628, allocations: 73.05 kB / 398.4 MB, free: 5.477 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.001726/0.3645, allocations: 0.8609 MB / 399.3 MB, free: 5.02 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.3646, allocations: 8 kB / 399.3 MB, free: 5.012 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 0.001462/0.3662, allocations: 0.6889 MB / 400 MB, free: 4.562 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005814/0.3668, allocations: 51.23 kB / 400 MB, free: 4.547 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002911/0.3698, allocations: 0.9729 MB / 401 MB, free: 4.02 MB / 312.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004989/0.3704, allocations: 0.9011 MB / 401.9 MB, free: 3.23 MB / 312.6 MB Notification: Performance of SimCode: time 2.095e-06/0.3705, allocations: 0 / 401.9 MB, free: 3.23 MB / 312.6 MB Notification: Performance of Templates: time 0.05216/0.4227, allocations: 7.7 MB / 409.6 MB, free: 15.46 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