Notification: Performance of loadModel(Modelica): time 1.52/1.52, allocations: 194.5 MB / 200.7 MB, free: 5.168 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.551e-05/1.53e-05, allocations: 1.969 kB / 247.3 MB, free: 4.766 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08924/0.08936, allocations: 44.37 MB / 291.7 MB, free: 9.312 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2223/0.3117, allocations: 73.02 MB / 364.7 MB, free: 6.773 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002095/0.3121, allocations: 79.8 kB / 364.8 MB, free: 6.77 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.01575/0.3279, allocations: 3.696 MB / 368.5 MB, free: 6.469 MB / 296.6 MB Notification: Performance of Transformations before backend: time 1.704e-05/0.328, allocations: 3.906 kB / 368.5 MB, free: 6.469 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.0006689/0.3287, allocations: 496 kB / 369 MB, free: 6.062 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.3289, allocations: 8.344 kB / 369 MB, free: 6.062 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.473e-05/0.329, allocations: 27.28 kB / 369 MB, free: 6.051 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002934/0.3293, allocations: 231 kB / 369.3 MB, free: 5.828 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.3294, allocations: 7.75 kB / 369.3 MB, free: 5.828 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.833e-05/0.3295, allocations: 12.45 kB / 369.3 MB, free: 5.828 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003456/0.3299, allocations: 126.2 kB / 369.4 MB, free: 5.828 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003774/0.3304, allocations: 190.7 kB / 369.6 MB, free: 5.766 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.3304, allocations: 0 / 369.6 MB, free: 5.766 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.94e-05/0.3305, allocations: 0 / 369.6 MB, free: 5.766 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.3306, allocations: 11.72 kB / 369.6 MB, free: 5.762 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001602/0.3323, allocations: 0.8743 MB / 370.5 MB, free: 5.234 MB / 296.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002448/0.3326, allocations: 94.55 kB / 370.6 MB, free: 5.215 MB / 296.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002088/0.3328, allocations: 78.11 kB / 370.6 MB, free: 5.207 MB / 296.6 MB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/0.3329, allocations: 8.469 kB / 370.6 MB, free: 5.203 MB / 296.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/0.333, allocations: 34.7 kB / 370.7 MB, free: 5.164 MB / 296.6 MB Notification: Performance of pre-optimization done (n=17): time 3.492e-06/0.3331, allocations: 1.969 kB / 370.7 MB, free: 5.164 MB / 296.6 MB Notification: Performance of matching and sorting (n=17): time 0.0008359/0.334, allocations: 200 kB / 370.9 MB, free: 5.109 MB / 296.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.535e-05/0.3341, allocations: 55.38 kB / 370.9 MB, free: 5.047 MB / 296.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.3343, allocations: 153.5 kB / 371.1 MB, free: 4.949 MB / 296.6 MB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.3343, allocations: 25.7 kB / 371.1 MB, free: 4.918 MB / 296.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002464/0.3346, allocations: 134.7 kB / 371.2 MB, free: 20.8 MB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 4.868e-05/0.3347, allocations: 58.95 kB / 371.3 MB, free: 20.77 MB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.243e-05/0.3348, allocations: 4 kB / 371.3 MB, free: 20.76 MB / 312.6 MB Notification: Performance of setup shared object (initialization): time 5.371e-05/0.3349, allocations: 327.3 kB / 371.6 MB, free: 20.45 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001106/0.3351, allocations: 41.03 kB / 371.7 MB, free: 20.45 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/0.3353, allocations: 66.64 kB / 371.7 MB, free: 20.42 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003026/0.3356, allocations: 69.95 kB / 371.8 MB, free: 20.42 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.54e-06/0.3357, allocations: 4 kB / 371.8 MB, free: 20.41 MB / 312.6 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007062/0.3365, allocations: 219.6 kB / 372 MB, free: 20.36 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.3365, allocations: 7.812 kB / 372 MB, free: 20.36 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.241e-06/0.3366, allocations: 3.938 kB / 372 MB, free: 20.35 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007548/0.3374, allocations: 111.7 kB / 372.1 MB, free: 20.34 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002435/0.3377, allocations: 40.12 kB / 372.2 MB, free: 20.33 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007025/0.3385, allocations: 0.6371 MB / 372.8 MB, free: 19.8 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002223/0.3388, allocations: 16.83 kB / 372.8 MB, free: 19.79 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.123e-05/0.3389, allocations: 4.609 kB / 372.8 MB, free: 19.79 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 4.512e-05/0.339, allocations: 79.75 kB / 372.9 MB, free: 19.71 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.872e-05/0.3391, allocations: 19.38 kB / 372.9 MB, free: 19.71 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006807/0.3399, allocations: 211.8 kB / 373.1 MB, free: 19.66 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.286e-06/0.3399, allocations: 0 / 373.1 MB, free: 19.66 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.936e-06/0.34, allocations: 3.844 kB / 373.1 MB, free: 19.66 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.473e-06/0.3401, allocations: 1.547 kB / 373.1 MB, free: 19.66 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001242/0.3414, allocations: 0.5479 MB / 373.7 MB, free: 19.36 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.448e-06/0.3415, allocations: 4.391 kB / 373.7 MB, free: 19.36 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002642/0.3418, allocations: 27.81 kB / 373.7 MB, free: 19.36 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007697/0.3426, allocations: 113.8 kB / 373.8 MB, free: 19.34 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.214e-05/0.3427, allocations: 0.5156 kB / 373.8 MB, free: 19.34 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006903/0.3435, allocations: 0.6467 MB / 374.5 MB, free: 18.82 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.378e-06/0.3435, allocations: 0 / 374.5 MB, free: 18.82 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008889/0.3445, allocations: 394.4 kB / 374.9 MB, free: 18.64 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001309/0.3447, allocations: 109.5 kB / 375 MB, free: 18.53 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.721e-05/0.3448, allocations: 4.547 kB / 375 MB, free: 18.53 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003844/0.3453, allocations: 14.08 kB / 375 MB, free: 18.52 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.713e-05/0.3454, allocations: 15.52 kB / 375 MB, free: 18.52 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-05/0.3455, allocations: 4.453 kB / 375 MB, free: 18.52 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.0003091/0.3459, allocations: 119.9 kB / 375.1 MB, free: 18.45 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.0004736/0.3464, allocations: 59.11 kB / 375.2 MB, free: 18.44 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0001272/0.3466, allocations: 90.5 kB / 375.3 MB, free: 18.37 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.0004468/0.3471, allocations: 128.2 kB / 375.4 MB, free: 18.37 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.3472, allocations: 96 / 375.4 MB, free: 18.37 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0001882/0.3474, allocations: 72.48 kB / 375.5 MB, free: 18.36 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000366/0.3478, allocations: 15.09 kB / 375.5 MB, free: 18.36 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009762/0.3489, allocations: 391.1 kB / 375.9 MB, free: 18.13 MB / 312.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002524/0.3492, allocations: 0.7591 MB / 376.6 MB, free: 17.42 MB / 312.6 MB Notification: Performance of SimCode: time 2.025e-06/0.3493, allocations: 0 / 376.6 MB, free: 17.42 MB / 312.6 MB Notification: Performance of Templates: time 0.04638/0.3957, allocations: 2.397 MB / 379 MB, free: 16.51 MB / 312.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.HeatingRectifier.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_HeatingRectifier -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.HeatingRectifier.o Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.HeatingRectifier.c In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.HeatingRectifier.c:2: ./Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.HeatingRectifier_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_HeatingRectifier__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.HeatingRectifier_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_HeatingRectifier__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.HeatingRectifier.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.HeatingRectifier.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_HeatingRectifier_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.HeatingRectifier.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.HeatingRectifier.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_HeatingRectifier_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.HeatingRectifier.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.HeatingRectifier.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_HeatingRectifier_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.HeatingRectifier.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_HeatingRectifier_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.HeatingRectifier.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.HeatingRectifier.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_HeatingRectifier_performSimulation ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.HeatingRectifier.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.HeatingRectifier.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_HeatingRectifier_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.HeatingRectifier.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_HeatingRectifier_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.HeatingRectifier.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.HeatingRectifier.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_HeatingRectifier_performQSSSimulation ^ Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.HeatingRectifier.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_HeatingRectifier_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.HeatingRectifier.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_HeatingRectifier_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.HeatingRectifier.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_HeatingRectifier_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.HeatingRectifier.c:102:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_HeatingRectifier_eqFunction_28(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.HeatingRectifier.c:102:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_HeatingRectifier_eqFunction_28(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.HeatingRectifier.c:103:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_HeatingRectifier_eqFunction_29(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.HeatingRectifier.c:103:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_HeatingRectifier_eqFunction_29(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.HeatingRectifier.c:104:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_HeatingRectifier_eqFunction_30(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.HeatingRectifier.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.HeatingRectifier.o] Error 1