Notification: Performance of loadModel(Modelica): time 1.501/1.501, allocations: 194.5 MB / 200.7 MB, free: 5.152 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.055e-05/1.089e-05, allocations: 1.125 kB / 247.3 MB, free: 4.727 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06076/0.06085, allocations: 44.36 MB / 291.7 MB, free: 9.281 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2247/0.2857, allocations: 72.32 MB / 364 MB, free: 6.902 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000184/0.286, allocations: 74.39 kB / 364.1 MB, free: 6.898 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.01848/0.3045, allocations: 4.608 MB / 368.7 MB, free: 6.531 MB / 296.6 MB Notification: Performance of Transformations before backend: time 2.333e-05/0.3047, allocations: 7.719 kB / 368.7 MB, free: 6.531 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.0008668/0.3056, allocations: 0.5737 MB / 369.3 MB, free: 6.098 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.3057, allocations: 7.719 kB / 369.3 MB, free: 6.098 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.493e-05/0.3058, allocations: 38.75 kB / 369.3 MB, free: 6.078 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000344/0.3062, allocations: 268.2 kB / 369.6 MB, free: 5.852 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.3063, allocations: 7.688 kB / 369.6 MB, free: 5.852 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.093e-05/0.3064, allocations: 15.38 kB / 369.6 MB, free: 5.852 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004175/0.3069, allocations: 164.1 kB / 369.8 MB, free: 5.848 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004896/0.3074, allocations: 197.3 kB / 370 MB, free: 5.809 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.3075, allocations: 4 kB / 370 MB, free: 5.805 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.051e-05/0.3076, allocations: 7.844 kB / 370 MB, free: 5.797 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.3077, allocations: 7.531 kB / 370 MB, free: 5.797 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0021/0.3098, allocations: 0.9319 MB / 370.9 MB, free: 5.395 MB / 296.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003952/0.3103, allocations: 167.2 kB / 371.1 MB, free: 5.367 MB / 296.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002364/0.3106, allocations: 103.9 kB / 371.2 MB, free: 5.355 MB / 296.6 MB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.3107, allocations: 192 / 371.2 MB, free: 5.355 MB / 296.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.3108, allocations: 34.59 kB / 371.2 MB, free: 5.316 MB / 296.6 MB Notification: Performance of pre-optimization done (n=21): time 3.632e-06/0.3108, allocations: 5.844 kB / 371.2 MB, free: 5.312 MB / 296.6 MB Notification: Performance of matching and sorting (n=21): time 0.0006571/0.3115, allocations: 222.7 kB / 371.4 MB, free: 5.242 MB / 296.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.144e-05/0.3116, allocations: 59.19 kB / 371.5 MB, free: 5.176 MB / 296.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002418/0.3119, allocations: 197.3 kB / 371.7 MB, free: 5.078 MB / 296.6 MB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/0.312, allocations: 33.3 kB / 371.7 MB, free: 5.047 MB / 296.6 MB Notification: Performance of collectInitialEqns (initialization): time 7.292e-05/0.3121, allocations: 164.1 kB / 371.9 MB, free: 4.918 MB / 296.6 MB Notification: Performance of collectInitialBindings (initialization): time 4.854e-05/0.3122, allocations: 67.12 kB / 371.9 MB, free: 4.875 MB / 296.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.543e-05/0.3123, allocations: 0 / 371.9 MB, free: 4.875 MB / 296.6 MB Notification: Performance of setup shared object (initialization): time 7.005e-05/0.3124, allocations: 336.7 kB / 372.3 MB, free: 4.562 MB / 296.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001389/0.3126, allocations: 54.88 kB / 372.3 MB, free: 4.555 MB / 296.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001539/0.3128, allocations: 79.64 kB / 372.4 MB, free: 4.531 MB / 296.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001623/0.313, allocations: 68.05 kB / 372.5 MB, free: 4.527 MB / 296.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.702e-06/0.3131, allocations: 0 / 372.5 MB, free: 4.527 MB / 296.6 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006275/0.3138, allocations: 264.7 kB / 372.7 MB, free: 4.449 MB / 296.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.3139, allocations: 3.844 kB / 372.7 MB, free: 4.449 MB / 296.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.031e-06/0.3139, allocations: 0 / 372.7 MB, free: 4.449 MB / 296.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003492/0.3143, allocations: 75.66 kB / 372.8 MB, free: 4.43 MB / 296.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002891/0.3147, allocations: 53.38 kB / 372.9 MB, free: 4.418 MB / 296.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002614/0.3174, allocations: 2.692 MB / 375.5 MB, free: 17.98 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003279/0.3178, allocations: 27.06 kB / 375.6 MB, free: 17.96 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.431e-05/0.3179, allocations: 7.625 kB / 375.6 MB, free: 17.96 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 5.043e-05/0.318, allocations: 79.98 kB / 375.7 MB, free: 17.89 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.192e-05/0.3181, allocations: 23.25 kB / 375.7 MB, free: 17.88 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.495e-05/0.3182, allocations: 28.23 kB / 375.7 MB, free: 17.88 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.448e-06/0.3183, allocations: 5.016 kB / 375.7 MB, free: 17.87 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/0.3183, allocations: 3.906 kB / 375.7 MB, free: 17.87 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.146e-06/0.3184, allocations: 0.9844 kB / 375.7 MB, free: 17.87 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001045/0.3195, allocations: 0.5763 MB / 376.3 MB, free: 17.58 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.984e-06/0.3196, allocations: 4.594 kB / 376.3 MB, free: 17.58 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002203/0.3199, allocations: 36.52 kB / 376.3 MB, free: 17.57 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002857/0.3202, allocations: 72.31 kB / 376.4 MB, free: 17.55 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.844e-05/0.3203, allocations: 3.906 kB / 376.4 MB, free: 17.55 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002298/0.3226, allocations: 2.687 MB / 379.1 MB, free: 15.13 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.168e-06/0.3227, allocations: 4.062 kB / 379.1 MB, free: 15.12 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006191/0.3234, allocations: 321 kB / 379.4 MB, free: 14.96 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 8.206e-05/0.3236, allocations: 106 kB / 379.5 MB, free: 14.85 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.217e-05/0.3237, allocations: 0 / 379.5 MB, free: 14.85 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004385/0.3242, allocations: 38.98 kB / 379.6 MB, free: 14.84 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.762e-05/0.3243, allocations: 16.56 kB / 379.6 MB, free: 14.84 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.347e-05/0.3244, allocations: 3.969 kB / 379.6 MB, free: 14.84 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.0003425/0.3248, allocations: 160.8 kB / 379.7 MB, free: 14.76 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.0005476/0.3254, allocations: 81.44 kB / 379.8 MB, free: 14.75 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 7.508e-05/0.3255, allocations: 74.27 kB / 379.9 MB, free: 14.7 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.0006886/0.3263, allocations: 378.8 kB / 380.3 MB, free: 14.48 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 3.701e-06/0.3264, allocations: 0 / 380.3 MB, free: 14.48 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0003928/0.3268, allocations: 290.6 kB / 380.5 MB, free: 14.27 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003893/0.3273, allocations: 32.22 kB / 380.6 MB, free: 14.27 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008382/0.3282, allocations: 301.6 kB / 380.9 MB, free: 14.13 MB / 312.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002989/0.3285, allocations: 0.7911 MB / 381.7 MB, free: 13.42 MB / 312.6 MB Notification: Performance of SimCode: time 2.095e-06/0.3286, allocations: 0 / 381.7 MB, free: 13.42 MB / 312.6 MB Notification: Performance of Templates: time 0.0314/0.36, allocations: 3.217 MB / 384.9 MB, free: 11.91 MB / 312.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.ShowVariableResistor.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_ShowVariableResistor -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.ShowVariableResistor.o Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.ShowVariableResistor.c In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.ShowVariableResistor.c:2: ./Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.ShowVariableResistor_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_ShowVariableResistor__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.ShowVariableResistor_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_ShowVariableResistor__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.ShowVariableResistor.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.ShowVariableResistor.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_ShowVariableResistor_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.ShowVariableResistor.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.ShowVariableResistor.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_ShowVariableResistor_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.ShowVariableResistor.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.ShowVariableResistor.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_ShowVariableResistor_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.ShowVariableResistor.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_ShowVariableResistor_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.ShowVariableResistor.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.ShowVariableResistor.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_ShowVariableResistor_performSimulation ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.ShowVariableResistor.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.ShowVariableResistor.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_ShowVariableResistor_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.ShowVariableResistor.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_ShowVariableResistor_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.ShowVariableResistor.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.ShowVariableResistor.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_ShowVariableResistor_performQSSSimulation ^ Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.ShowVariableResistor.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_ShowVariableResistor_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.ShowVariableResistor.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_ShowVariableResistor_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.ShowVariableResistor.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_ShowVariableResistor_input_function(DATA *data, threadData_t *threadData) ^ ; In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.ShowVariableResistor.c:520: ./Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.ShowVariableResistor_12jac.h:7:26: warning: ISO C99 requires whitespace after the macro name [-Wc99-extensions] #define Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_ShowVariableResistor_INDEX_JAC_LSJac3 3 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.ShowVariableResistor_12jac.h:8:7: error: expected identifier or '(' int Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_ShowVariableResistor_functionJacLSJac3_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.ShowVariableResistor_12jac.h:7:26: note: expanded from macro 'Modelica_3_2_2_' ./Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.ShowVariableResistor_12jac.h:9:7: error: expected identifier or '(' int Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_ShowVariableResistor_initialAnalyticJacobianLSJac3(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.ShowVariableResistor_12jac.h:7:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_ShowVariableResistor_INDEX_JAC_LSJac3 3 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.ShowVariableResistor_12jac.h:33:26: warning: ISO C99 requires whitespace after the macro name [-Wc99-extensions] #define Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_ShowVariableResistor_INDEX_JAC_LSJac2 2 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.ShowVariableResistor_12jac.h:33:11: warning: 'Modelica_3_2_2_' macro redefined [-Wmacro-redefined] #define Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_ShowVariableResistor_INDEX_JAC_LSJac2 2 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.ShowVariableResistor_12jac.h:7:11: note: previous definition is here #define Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_ShowVariableResistor_INDEX_JAC_LSJac3 3 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.ShowVariableResistor_12jac.h:34:7: error: expected identifier or '(' int Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_ShowVariableResistor_functionJacLSJac2_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.ShowVariableResistor_12jac.h:33:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_ShowVariableResistor_INDEX_JAC_LSJac2 2 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.ShowVariableResistor_12jac.h:35:7: error: expected identifier or '(' int Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_ShowVariableResistor_initialAnalyticJacobianLSJac2(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.ShowVariableResistor_12jac.h:33:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_ShowVariableResistor_INDEX_JAC_LSJac2 2 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.ShowVariableResistor_12jac.h:59:26: warning: ISO C99 requires whitespace after the macro name [-Wc99-extensions] #define Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_ShowVariableResistor_INDEX_JAC_LSJac1 1 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.ShowVariableResistor_12jac.h:59:11: warning: 'Modelica_3_2_2_' macro redefined [-Wmacro-redefined] #define Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_ShowVariableResistor_INDEX_JAC_LSJac1 1 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.ShowVariableResistor_12jac.h:33:11: note: previous definition is here #define Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_ShowVariableResistor_INDEX_JAC_LSJac2 2 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.ShowVariableResistor_12jac.h:60:7: error: expected identifier or '(' int Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_ShowVariableResistor_functionJacLSJac1_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.ShowVariableResistor_12jac.h:59:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O2_Modelica_Electrical_Analog_Examples_ShowVariableResistor_INDEX_JAC_LSJac1 1 ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 11 warnings and 20 errors generated. : recipe for target 'Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.ShowVariableResistor.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Electrical.Analog.Examples.ShowVariableResistor.o] Error 1