Notification: Performance of loadModel(Modelica): time 1.544/1.544, allocations: 194.5 MB / 200.7 MB, free: 5.16 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.638e-06/9.777e-06, allocations: 2.094 kB / 247.3 MB, free: 4.723 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06201/0.06209, allocations: 44.37 MB / 291.7 MB, free: 9.285 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2216/0.2838, allocations: 72.26 MB / 364 MB, free: 7.145 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001757/0.2841, allocations: 71.62 kB / 364 MB, free: 7.141 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.02346/0.3076, allocations: 5.926 MB / 370 MB, free: 6.602 MB / 296.6 MB Notification: Performance of Transformations before backend: time 2.493e-05/0.3077, allocations: 7.938 kB / 370 MB, free: 6.602 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.000951/0.3087, allocations: 0.6283 MB / 370.6 MB, free: 6.141 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.3088, allocations: 8.344 kB / 370.6 MB, free: 6.141 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.722e-05/0.309, allocations: 46.47 kB / 370.6 MB, free: 6.117 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003996/0.3095, allocations: 302.1 kB / 370.9 MB, free: 5.879 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.3095, allocations: 12.88 kB / 371 MB, free: 5.875 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.714e-05/0.3096, allocations: 19.38 kB / 371 MB, free: 5.875 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005207/0.3102, allocations: 214.1 kB / 371.2 MB, free: 5.875 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000596/0.3109, allocations: 280.8 kB / 371.5 MB, free: 5.801 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.311, allocations: 0 / 371.5 MB, free: 5.801 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.135e-05/0.311, allocations: 3.938 kB / 371.5 MB, free: 5.797 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.3111, allocations: 11.69 kB / 371.5 MB, free: 5.793 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00224/0.3134, allocations: 1.363 MB / 372.8 MB, free: 5.031 MB / 296.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003844/0.3139, allocations: 190 kB / 373 MB, free: 5.004 MB / 296.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001763/0.3141, allocations: 92.77 kB / 373.1 MB, free: 4.988 MB / 296.6 MB Notification: Performance of preOpt evalFunc (simulation): time 2.319e-05/0.3142, allocations: 3.875 kB / 373.1 MB, free: 4.988 MB / 296.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.3143, allocations: 36.88 kB / 373.2 MB, free: 4.945 MB / 296.6 MB Notification: Performance of pre-optimization done (n=24): time 3.213e-06/0.3143, allocations: 0 / 373.2 MB, free: 4.945 MB / 296.6 MB Notification: Performance of matching and sorting (n=24): time 0.0005874/0.315, allocations: 244.8 kB / 373.4 MB, free: 4.871 MB / 296.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.956e-05/0.3151, allocations: 55.27 kB / 373.4 MB, free: 4.805 MB / 296.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002919/0.3154, allocations: 244.2 kB / 373.7 MB, free: 4.703 MB / 296.6 MB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.3155, allocations: 25.7 kB / 373.7 MB, free: 4.672 MB / 296.6 MB Notification: Performance of collectInitialEqns (initialization): time 8.472e-05/0.3156, allocations: 179.2 kB / 373.9 MB, free: 4.543 MB / 296.6 MB Notification: Performance of collectInitialBindings (initialization): time 5.552e-05/0.3157, allocations: 73.16 kB / 374 MB, free: 4.492 MB / 296.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.781e-05/0.3158, allocations: 0 / 374 MB, free: 4.492 MB / 296.6 MB Notification: Performance of setup shared object (initialization): time 0.0002435/0.3161, allocations: 342.4 kB / 374.3 MB, free: 20.18 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001523/0.3163, allocations: 58.52 kB / 374.3 MB, free: 20.18 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000171/0.3165, allocations: 100.8 kB / 374.4 MB, free: 20.13 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001735/0.3168, allocations: 67.55 kB / 374.5 MB, free: 20.12 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.981e-06/0.3168, allocations: 3.938 kB / 374.5 MB, free: 20.12 MB / 312.6 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008165/0.3177, allocations: 306.8 kB / 374.8 MB, free: 20.04 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.3178, allocations: 3.906 kB / 374.8 MB, free: 20.04 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.59e-06/0.3179, allocations: 3.625 kB / 374.8 MB, free: 20.04 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005192/0.3184, allocations: 118.2 kB / 374.9 MB, free: 20 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002497/0.3187, allocations: 30.92 kB / 375 MB, free: 20 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003565/0.3224, allocations: 4.247 MB / 379.2 MB, free: 16.05 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003301/0.3228, allocations: 19.62 kB / 379.2 MB, free: 16.04 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.996e-05/0.3229, allocations: 15.61 kB / 379.2 MB, free: 16.04 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 4.526e-05/0.323, allocations: 79.19 kB / 379.3 MB, free: 15.96 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.898e-05/0.3231, allocations: 31.16 kB / 379.4 MB, free: 15.95 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.466e-05/0.3233, allocations: 33.44 kB / 379.4 MB, free: 15.93 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.3233, allocations: 3.875 kB / 379.4 MB, free: 15.93 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.422e-06/0.3234, allocations: 0 / 379.4 MB, free: 15.93 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.518e-06/0.3234, allocations: 4 kB / 379.4 MB, free: 15.93 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003943/0.3239, allocations: 320.1 kB / 379.7 MB, free: 15.71 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.352e-06/0.3239, allocations: 0 / 379.7 MB, free: 15.71 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001734/0.3242, allocations: 26.98 kB / 379.7 MB, free: 15.7 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000424/0.3247, allocations: 108.6 kB / 379.8 MB, free: 15.66 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.074e-05/0.3248, allocations: 4 kB / 379.8 MB, free: 15.66 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003544/0.3284, allocations: 4.251 MB / 384.1 MB, free: 11.68 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.006e-06/0.3285, allocations: 3.984 kB / 384.1 MB, free: 11.67 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005689/0.3291, allocations: 344.3 kB / 384.4 MB, free: 11.49 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001548/0.3293, allocations: 127.5 kB / 384.6 MB, free: 11.37 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.481e-05/0.3294, allocations: 4.062 kB / 384.6 MB, free: 11.36 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003778/0.3299, allocations: 23.45 kB / 384.6 MB, free: 11.36 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.222e-05/0.33, allocations: 15.34 kB / 384.6 MB, free: 11.35 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.472e-05/0.3301, allocations: 3.938 kB / 384.6 MB, free: 11.35 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.0001992/0.3304, allocations: 203.3 kB / 384.8 MB, free: 11.25 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.000948/0.3314, allocations: 101.4 kB / 384.9 MB, free: 11.24 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 6.956e-05/0.3315, allocations: 73.02 kB / 385 MB, free: 11.18 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.0007244/0.3323, allocations: 490.1 kB / 385.5 MB, free: 10.86 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 3.771e-06/0.3324, allocations: 192 / 385.5 MB, free: 10.86 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0005976/0.333, allocations: 404.7 kB / 385.8 MB, free: 10.54 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004093/0.3335, allocations: 46.28 kB / 385.9 MB, free: 10.52 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/0.3347, allocations: 390.2 kB / 386.3 MB, free: 10.32 MB / 312.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002813/0.335, allocations: 0.8195 MB / 387.1 MB, free: 9.547 MB / 312.6 MB Notification: Performance of SimCode: time 2.863e-06/0.3351, allocations: 0 / 387.1 MB, free: 9.547 MB / 312.6 MB Notification: Performance of Templates: time 0.04134/0.3765, allocations: 4.584 MB / 391.7 MB, free: 7.242 MB / 312.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.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_CharacteristicIdealDiodes -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.o Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.c In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.c:2: ./Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_CharacteristicIdealDiodes__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_CharacteristicIdealDiodes__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.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.CharacteristicIdealDiodes.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_CharacteristicIdealDiodes_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.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.CharacteristicIdealDiodes.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_CharacteristicIdealDiodes_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.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.CharacteristicIdealDiodes.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_CharacteristicIdealDiodes_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.CharacteristicIdealDiodes.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_CharacteristicIdealDiodes_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.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.CharacteristicIdealDiodes.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_CharacteristicIdealDiodes_performSimulation ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.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.CharacteristicIdealDiodes.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_CharacteristicIdealDiodes_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.CharacteristicIdealDiodes.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_CharacteristicIdealDiodes_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.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.CharacteristicIdealDiodes.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_CharacteristicIdealDiodes_performQSSSimulation ^ Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.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_CharacteristicIdealDiodes_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.CharacteristicIdealDiodes.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_CharacteristicIdealDiodes_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_CharacteristicIdealDiodes_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.c:106:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_CharacteristicIdealDiodes_eqFunction_49(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.c:106:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_CharacteristicIdealDiodes_eqFunction_49(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.c:107:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_CharacteristicIdealDiodes_eqFunction_50(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.c:107:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_CharacteristicIdealDiodes_eqFunction_50(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.c:108:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_CharacteristicIdealDiodes_eqFunction_51(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.CharacteristicIdealDiodes.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.o] Error 1