Notification: Performance of loadModel(Modelica): time 1.552/1.552, allocations: 194.5 MB / 200.7 MB, free: 5.152 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 8.94e-06/9.079e-06, allocations: 1.219 kB / 247.3 MB, free: 4.746 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0595/0.05958, allocations: 44.36 MB / 291.7 MB, free: 9.293 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2226/0.2823, allocations: 72.08 MB / 363.8 MB, free: 6.922 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002055/0.2826, allocations: 75.64 kB / 363.8 MB, free: 6.918 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.01015/0.2929, allocations: 2.387 MB / 366.2 MB, free: 6.73 MB / 296.6 MB Notification: Performance of Transformations before backend: time 1.613e-05/0.293, allocations: 3.875 kB / 366.2 MB, free: 6.73 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.0004334/0.2935, allocations: 419.1 kB / 366.6 MB, free: 6.344 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.2936, allocations: 7.719 kB / 366.7 MB, free: 6.344 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001268/0.2938, allocations: 19.34 kB / 366.7 MB, free: 6.336 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002207/0.2941, allocations: 195.5 kB / 366.9 MB, free: 6.133 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.2941, allocations: 3.75 kB / 366.9 MB, free: 6.133 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.465e-05/0.2942, allocations: 11.75 kB / 366.9 MB, free: 6.129 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001873/0.2945, allocations: 65.55 kB / 366.9 MB, free: 6.125 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002003/0.2947, allocations: 91.53 kB / 367 MB, free: 6.094 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.2948, allocations: 3.75 kB / 367 MB, free: 6.094 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.949e-05/0.2949, allocations: 0 / 367 MB, free: 6.094 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.823e-06/0.2949, allocations: 3.781 kB / 367 MB, free: 6.094 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008685/0.2958, allocations: 0.4893 MB / 367.5 MB, free: 5.766 MB / 296.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003086/0.2962, allocations: 84.61 kB / 367.6 MB, free: 5.73 MB / 296.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.075e-05/0.2964, allocations: 27.27 kB / 367.6 MB, free: 5.723 MB / 296.6 MB Notification: Performance of preOpt evalFunc (simulation): time 1.411e-05/0.2964, allocations: 1.094 kB / 367.6 MB, free: 5.723 MB / 296.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.564e-05/0.2965, allocations: 30.56 kB / 367.7 MB, free: 5.684 MB / 296.6 MB Notification: Performance of pre-optimization done (n=6): time 2.934e-06/0.2966, allocations: 0 / 367.7 MB, free: 5.684 MB / 296.6 MB Notification: Performance of matching and sorting (n=6): time 0.000382/0.297, allocations: 113.7 kB / 367.8 MB, free: 5.629 MB / 296.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.816e-05/0.2971, allocations: 51.41 kB / 367.8 MB, free: 5.566 MB / 296.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.2972, allocations: 133.8 kB / 368 MB, free: 5.473 MB / 296.6 MB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.2973, allocations: 25.7 kB / 368 MB, free: 5.441 MB / 296.6 MB Notification: Performance of collectInitialEqns (initialization): time 4.505e-05/0.2974, allocations: 112.5 kB / 368.1 MB, free: 5.34 MB / 296.6 MB Notification: Performance of collectInitialBindings (initialization): time 2.235e-05/0.2975, allocations: 28.22 kB / 368.1 MB, free: 5.32 MB / 296.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.962e-06/0.2976, allocations: 0 / 368.1 MB, free: 5.32 MB / 296.6 MB Notification: Performance of setup shared object (initialization): time 5.692e-05/0.2977, allocations: 325.6 kB / 368.4 MB, free: 5.004 MB / 296.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.036e-05/0.2978, allocations: 17.73 kB / 368.5 MB, free: 5.004 MB / 296.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.104e-05/0.2979, allocations: 37.09 kB / 368.5 MB, free: 4.98 MB / 296.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.111e-05/0.298, allocations: 16.17 kB / 368.5 MB, free: 4.98 MB / 296.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.283e-06/0.2981, allocations: 0 / 368.5 MB, free: 4.98 MB / 296.6 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003321/0.2984, allocations: 122.6 kB / 368.6 MB, free: 4.926 MB / 296.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.2985, allocations: 3.781 kB / 368.6 MB, free: 4.926 MB / 296.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.2986, allocations: 3.938 kB / 368.6 MB, free: 4.926 MB / 296.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002361/0.2989, allocations: 32.84 kB / 368.7 MB, free: 4.918 MB / 296.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.61e-05/0.299, allocations: 14.11 kB / 368.7 MB, free: 4.918 MB / 296.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001758/0.3009, allocations: 1.432 MB / 370.1 MB, free: 19.62 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001422/0.3011, allocations: 16.62 kB / 370.1 MB, free: 19.61 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.313e-05/0.3012, allocations: 3.859 kB / 370.1 MB, free: 19.61 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 3.408e-05/0.3013, allocations: 76.5 kB / 370.2 MB, free: 19.54 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.504e-05/0.3014, allocations: 7.781 kB / 370.2 MB, free: 19.53 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.401e-05/0.3015, allocations: 13.42 kB / 370.2 MB, free: 19.53 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.3015, allocations: 0 / 370.2 MB, free: 19.53 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.863e-06/0.3016, allocations: 3.938 kB / 370.2 MB, free: 19.52 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.3016, allocations: 5 kB / 370.2 MB, free: 19.52 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000222/0.3019, allocations: 179.6 kB / 370.4 MB, free: 19.36 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.562e-06/0.302, allocations: 4 kB / 370.4 MB, free: 19.36 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.124e-05/0.3021, allocations: 4.969 kB / 370.4 MB, free: 19.36 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002014/0.3024, allocations: 34.83 kB / 370.5 MB, free: 19.35 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.3025, allocations: 5.312 kB / 370.5 MB, free: 19.35 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001307/0.3038, allocations: 1.437 MB / 371.9 MB, free: 18.05 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.238e-06/0.3039, allocations: 1.406 kB / 371.9 MB, free: 18.05 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003186/0.3043, allocations: 204.8 kB / 372.1 MB, free: 17.91 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 3.576e-05/0.3044, allocations: 91.33 kB / 372.2 MB, free: 17.8 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.521e-05/0.3045, allocations: 1.781 kB / 372.2 MB, free: 17.8 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001807/0.3047, allocations: 9.109 kB / 372.2 MB, free: 17.8 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.157e-05/0.3048, allocations: 1.641 kB / 372.2 MB, free: 17.8 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.306e-05/0.3049, allocations: 3.875 kB / 372.2 MB, free: 17.8 MB / 312.6 MB Notification: Performance of sort global known variables: time 7.745e-05/0.305, allocations: 114.9 kB / 372.3 MB, free: 17.72 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.0005409/0.3056, allocations: 35.06 kB / 372.4 MB, free: 17.71 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0002516/0.3059, allocations: 70.12 kB / 372.4 MB, free: 17.66 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.0003745/0.3064, allocations: 157.4 kB / 372.6 MB, free: 17.56 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 3.771e-06/0.3064, allocations: 0 / 372.6 MB, free: 17.56 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0001966/0.3067, allocations: 130.3 kB / 372.7 MB, free: 17.46 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/0.307, allocations: 11.86 kB / 372.7 MB, free: 17.45 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004339/0.3075, allocations: 142.1 kB / 372.9 MB, free: 17.36 MB / 312.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001819/0.3078, allocations: 0.7273 MB / 373.6 MB, free: 16.65 MB / 312.6 MB Notification: Performance of SimCode: time 1.886e-06/0.3078, allocations: 4 kB / 373.6 MB, free: 16.65 MB / 312.6 MB Notification: Performance of Templates: time 0.05685/0.3647, allocations: 1.357 MB / 374.9 MB, free: 16.49 MB / 312.6 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