Notification: Performance of loadModel(Modelica): time 1.495/1.495, allocations: 194.5 MB / 200.7 MB, free: 8.312 MB / 174.1 MB Notification: Performance of FrontEnd - loaded program: time 1.089e-05/1.097e-05, allocations: 4 kB / 247.3 MB, free: 9.395 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0616/0.06168, allocations: 44.35 MB / 291.7 MB, free: 12.95 MB / 254.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2168/0.2786, allocations: 72.09 MB / 363.8 MB, free: 4.941 MB / 286.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002095/0.2789, allocations: 72.75 kB / 363.9 MB, free: 4.93 MB / 286.1 MB Notification: Performance of FrontEnd: time 0.01071/0.2897, allocations: 2.385 MB / 366.2 MB, free: 4.102 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.69e-05/0.2898, allocations: 1.5 kB / 366.2 MB, free: 4.102 MB / 286.1 MB Notification: Performance of Generate backend data structure: time 0.0004553/0.2904, allocations: 411.4 kB / 366.6 MB, free: 3.703 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.2905, allocations: 8.438 kB / 366.7 MB, free: 3.703 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001365/0.2907, allocations: 19.97 kB / 366.7 MB, free: 3.695 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000217/0.2909, allocations: 202.3 kB / 366.9 MB, free: 3.473 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.291, allocations: 4.688 kB / 366.9 MB, free: 3.473 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.284e-05/0.2911, allocations: 7.094 kB / 366.9 MB, free: 3.473 MB / 286.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002029/0.2913, allocations: 59.41 kB / 366.9 MB, free: 3.473 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002365/0.2916, allocations: 98.72 kB / 367 MB, free: 3.426 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.2917, allocations: 0.9688 kB / 367 MB, free: 3.426 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.039e-05/0.2918, allocations: 0 / 367 MB, free: 3.426 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.473e-06/0.2918, allocations: 3 kB / 367 MB, free: 3.426 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009047/0.2928, allocations: 0.4926 MB / 367.5 MB, free: 3.035 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003246/0.2932, allocations: 76.42 kB / 367.6 MB, free: 3.004 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.641e-05/0.2933, allocations: 33.75 kB / 367.6 MB, free: 2.988 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.655e-05/0.2934, allocations: 10.36 kB / 367.6 MB, free: 2.984 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.746e-05/0.2935, allocations: 31.69 kB / 367.7 MB, free: 2.945 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 2.793e-06/0.2936, allocations: 0 / 367.7 MB, free: 2.945 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003971/0.294, allocations: 99.41 kB / 367.8 MB, free: 2.891 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.907e-05/0.2941, allocations: 56.47 kB / 367.8 MB, free: 2.824 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/0.2943, allocations: 128.7 kB / 368 MB, free: 2.727 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.2943, allocations: 26.95 kB / 368 MB, free: 2.695 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.477e-05/0.2944, allocations: 117.8 kB / 368.1 MB, free: 2.586 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.144e-05/0.2945, allocations: 21.12 kB / 368.1 MB, free: 2.57 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.844e-06/0.2946, allocations: 1.031 kB / 368.1 MB, free: 2.57 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.434e-05/0.2947, allocations: 320.4 kB / 368.4 MB, free: 2.254 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.434e-05/0.2948, allocations: 19.62 kB / 368.5 MB, free: 2.25 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.838e-05/0.2949, allocations: 38.42 kB / 368.5 MB, free: 2.223 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.6e-05/0.295, allocations: 21.89 kB / 368.5 MB, free: 2.219 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.911e-06/0.2951, allocations: 1 kB / 368.5 MB, free: 2.219 MB / 286.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003246/0.2955, allocations: 112.7 kB / 368.6 MB, free: 2.16 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.801e-05/0.2956, allocations: 6.969 kB / 368.6 MB, free: 2.16 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.59e-06/0.2956, allocations: 5.219 kB / 368.6 MB, free: 2.156 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00023/0.2959, allocations: 37 kB / 368.7 MB, free: 2.141 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.177e-05/0.2961, allocations: 8.906 kB / 368.7 MB, free: 2.141 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001526/0.2977, allocations: 1.437 MB / 370.1 MB, free: 16.8 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000136/0.2979, allocations: 17.02 kB / 370.1 MB, free: 16.79 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.599e-05/0.2979, allocations: 6.25 kB / 370.1 MB, free: 16.79 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.35e-05/0.2981, allocations: 79.34 kB / 370.2 MB, free: 16.71 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.58e-05/0.2982, allocations: 9.406 kB / 370.2 MB, free: 16.71 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.136e-05/0.2983, allocations: 9.062 kB / 370.2 MB, free: 16.71 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.168e-06/0.2983, allocations: 2.344 kB / 370.2 MB, free: 16.71 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.654e-06/0.2984, allocations: 3.938 kB / 370.2 MB, free: 16.7 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.2984, allocations: 4.906 kB / 370.2 MB, free: 16.7 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002465/0.2987, allocations: 185.4 kB / 370.4 MB, free: 16.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.213e-06/0.2988, allocations: 0 / 370.4 MB, free: 16.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.391e-05/0.2989, allocations: 4.312 kB / 370.4 MB, free: 16.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001949/0.2992, allocations: 40.27 kB / 370.5 MB, free: 16.5 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.2992, allocations: 0 / 370.5 MB, free: 16.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001734/0.301, allocations: 1.438 MB / 371.9 MB, free: 15.17 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.146e-06/0.3011, allocations: 1.094 kB / 371.9 MB, free: 15.17 MB / 302.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003453/0.3015, allocations: 199.1 kB / 372.1 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.876e-05/0.3016, allocations: 91.72 kB / 372.2 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.556e-05/0.3017, allocations: 1.312 kB / 372.2 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001845/0.3019, allocations: 5.5 kB / 372.2 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.302, allocations: 5.641 kB / 372.2 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.3021, allocations: 5.406 kB / 372.2 MB, free: 14.9 MB / 302.1 MB Notification: Performance of sort global known variables: time 7.815e-05/0.3022, allocations: 102 kB / 372.3 MB, free: 14.83 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005464/0.3029, allocations: 38.38 kB / 372.3 MB, free: 14.82 MB / 302.1 MB Notification: Performance of Backend phase and start with SimCode phase: time 8.067e-05/0.303, allocations: 75.47 kB / 372.4 MB, free: 14.76 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003724/0.3034, allocations: 160.8 kB / 372.6 MB, free: 14.65 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.12e-06/0.3035, allocations: 1 kB / 372.6 MB, free: 14.65 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002102/0.3038, allocations: 125.8 kB / 372.7 MB, free: 14.55 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002626/0.3041, allocations: 23.73 kB / 372.7 MB, free: 14.54 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004337/0.3046, allocations: 136.5 kB / 372.9 MB, free: 14.44 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001874/0.3048, allocations: 0.729 MB / 373.6 MB, free: 13.71 MB / 302.1 MB Notification: Performance of SimCode: time 1.816e-06/0.3049, allocations: 0 / 373.6 MB, free: 13.71 MB / 302.1 MB Notification: Performance of Templates: time 0.02826/0.3332, allocations: 1.362 MB / 375 MB, free: 13.02 MB / 302.1 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.HeatingResistor.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_Analog_Examples_HeatingResistor -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.HeatingResistor.o Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.HeatingResistor.c In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.HeatingResistor.c:2: ./Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.HeatingResistor_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_HeatingResistor__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.HeatingResistor_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_HeatingResistor__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.HeatingResistor.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.Analog.Examples.HeatingResistor.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_HeatingResistor_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.HeatingResistor.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.Analog.Examples.HeatingResistor.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_HeatingResistor_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.HeatingResistor.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.Analog.Examples.HeatingResistor.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_HeatingResistor_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.Analog.Examples.HeatingResistor.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_HeatingResistor_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.HeatingResistor.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.Analog.Examples.HeatingResistor.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_HeatingResistor_performSimulation ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.HeatingResistor.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.Analog.Examples.HeatingResistor.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_HeatingResistor_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.Analog.Examples.HeatingResistor.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_HeatingResistor_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.HeatingResistor.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.Analog.Examples.HeatingResistor.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_HeatingResistor_performQSSSimulation ^ Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.HeatingResistor.c:18:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_HeatingResistor_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.Analog.Examples.HeatingResistor.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_HeatingResistor_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.HeatingResistor.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_HeatingResistor_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.HeatingResistor.c:78:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_HeatingResistor_eqFunction_17(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.HeatingResistor.c:78:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_HeatingResistor_eqFunction_17(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.HeatingResistor.c:79:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_HeatingResistor_eqFunction_18(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.HeatingResistor.c:79:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_HeatingResistor_eqFunction_18(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.HeatingResistor.c:80:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_HeatingResistor_eqFunction_19(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_-O2_Modelica.Electrical.Analog.Examples.HeatingResistor.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.HeatingResistor.o] Error 1