Notification: Performance of loadModel(Modelica): time 1.474/1.474, allocations: 194.5 MB / 200.7 MB, free: 5.168 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.01e-06/9.009e-06, allocations: 0.9688 kB / 247.3 MB, free: 4.738 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06151/0.06158, allocations: 44.37 MB / 291.7 MB, free: 9.293 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2255/0.2872, allocations: 72.31 MB / 364 MB, free: 7.059 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001949/0.2875, allocations: 76.64 kB / 364.1 MB, free: 7.055 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.01849/0.306, allocations: 4.603 MB / 368.7 MB, free: 6.691 MB / 296.6 MB Notification: Performance of Transformations before backend: time 2.312e-05/0.3062, allocations: 7.875 kB / 368.7 MB, free: 6.691 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.0008681/0.3071, allocations: 0.5718 MB / 369.3 MB, free: 6.262 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.3072, allocations: 7.75 kB / 369.3 MB, free: 6.262 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.975e-05/0.3073, allocations: 38.91 kB / 369.3 MB, free: 6.242 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003603/0.3078, allocations: 266.4 kB / 369.6 MB, free: 6.016 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.3078, allocations: 7.844 kB / 369.6 MB, free: 6.016 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.4e-05/0.3079, allocations: 14.91 kB / 369.6 MB, free: 6.016 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004288/0.3084, allocations: 168.2 kB / 369.8 MB, free: 6.012 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004521/0.3089, allocations: 198.5 kB / 370 MB, free: 5.965 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.309, allocations: 0 / 370 MB, free: 5.965 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.058e-05/0.3091, allocations: 8.406 kB / 370 MB, free: 5.957 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.3092, allocations: 7.656 kB / 370 MB, free: 5.957 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002115/0.3113, allocations: 0.9374 MB / 370.9 MB, free: 5.551 MB / 296.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003909/0.3118, allocations: 162.6 kB / 371.1 MB, free: 5.523 MB / 296.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002336/0.3121, allocations: 105.2 kB / 371.2 MB, free: 5.512 MB / 296.6 MB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.3122, allocations: 192 / 371.2 MB, free: 5.512 MB / 296.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.3123, allocations: 38.05 kB / 371.2 MB, free: 5.473 MB / 296.6 MB Notification: Performance of pre-optimization done (n=21): time 3.003e-06/0.3124, allocations: 0 / 371.2 MB, free: 5.473 MB / 296.6 MB Notification: Performance of matching and sorting (n=21): time 0.0006694/0.3131, allocations: 225.2 kB / 371.4 MB, free: 5.402 MB / 296.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.074e-05/0.3132, allocations: 56.05 kB / 371.5 MB, free: 5.336 MB / 296.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002432/0.3135, allocations: 200.4 kB / 371.7 MB, free: 5.238 MB / 296.6 MB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.3136, allocations: 25.7 kB / 371.7 MB, free: 5.207 MB / 296.6 MB Notification: Performance of collectInitialEqns (initialization): time 7.536e-05/0.3137, allocations: 172.8 kB / 371.9 MB, free: 5.078 MB / 296.6 MB Notification: Performance of collectInitialBindings (initialization): time 5.022e-05/0.3138, allocations: 64.12 kB / 371.9 MB, free: 5.035 MB / 296.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.495e-05/0.3139, allocations: 1.094 kB / 371.9 MB, free: 5.035 MB / 296.6 MB Notification: Performance of setup shared object (initialization): time 6.991e-05/0.314, allocations: 341.6 kB / 372.3 MB, free: 4.719 MB / 296.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001318/0.3142, allocations: 46.72 kB / 372.3 MB, free: 4.715 MB / 296.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001523/0.3144, allocations: 82.89 kB / 372.4 MB, free: 4.691 MB / 296.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001589/0.3146, allocations: 63.72 kB / 372.5 MB, free: 4.688 MB / 296.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.771e-06/0.3147, allocations: 3.844 kB / 372.5 MB, free: 4.688 MB / 296.6 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006143/0.3153, allocations: 263 kB / 372.7 MB, free: 4.609 MB / 296.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.3154, allocations: 8.547 kB / 372.7 MB, free: 4.609 MB / 296.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.869e-06/0.3155, allocations: 3.984 kB / 372.7 MB, free: 4.605 MB / 296.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003543/0.3159, allocations: 79.22 kB / 372.8 MB, free: 4.582 MB / 296.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003008/0.3162, allocations: 49.31 kB / 372.9 MB, free: 4.574 MB / 296.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002456/0.3188, allocations: 2.689 MB / 375.6 MB, free: 18.14 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003396/0.3192, allocations: 26.95 kB / 375.6 MB, free: 18.12 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.472e-05/0.3193, allocations: 12.2 kB / 375.6 MB, free: 18.12 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 4.931e-05/0.3194, allocations: 79.19 kB / 375.7 MB, free: 18.05 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.29e-05/0.3195, allocations: 27.19 kB / 375.7 MB, free: 18.04 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.286e-05/0.3197, allocations: 23.91 kB / 375.7 MB, free: 18.04 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.727e-06/0.3197, allocations: 3.875 kB / 375.7 MB, free: 18.04 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.219e-06/0.3198, allocations: 0.7031 kB / 375.7 MB, free: 18.04 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.867e-06/0.3198, allocations: 4.656 kB / 375.7 MB, free: 18.03 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/0.3209, allocations: 0.5741 MB / 376.3 MB, free: 17.74 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.911e-06/0.321, allocations: 0 / 376.3 MB, free: 17.74 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002421/0.3213, allocations: 41.44 kB / 376.3 MB, free: 17.73 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003113/0.3217, allocations: 66.45 kB / 376.4 MB, free: 17.72 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.963e-05/0.3218, allocations: 8.391 kB / 376.4 MB, free: 17.71 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002366/0.3242, allocations: 2.681 MB / 379.1 MB, free: 15.29 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.3243, allocations: 4.516 kB / 379.1 MB, free: 15.29 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005482/0.3249, allocations: 319.8 kB / 379.4 MB, free: 15.12 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 6.558e-05/0.325, allocations: 104.3 kB / 379.5 MB, free: 15.01 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.064e-05/0.3252, allocations: 13.64 kB / 379.5 MB, free: 15 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004045/0.3256, allocations: 32.92 kB / 379.6 MB, free: 15 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.349e-05/0.3257, allocations: 17.73 kB / 379.6 MB, free: 15 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.193e-05/0.3258, allocations: 3.781 kB / 379.6 MB, free: 15 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.0001601/0.326, allocations: 160.8 kB / 379.7 MB, free: 14.92 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.0005484/0.3267, allocations: 81.09 kB / 379.8 MB, free: 14.91 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 6.796e-05/0.3268, allocations: 74.12 kB / 379.9 MB, free: 14.86 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.0006599/0.3275, allocations: 377.3 kB / 380.3 MB, free: 14.64 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 4.121e-06/0.3276, allocations: 0 / 380.3 MB, free: 14.64 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0003851/0.328, allocations: 292.4 kB / 380.5 MB, free: 14.43 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003871/0.3285, allocations: 35.06 kB / 380.6 MB, free: 14.43 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000814/0.3293, allocations: 301.2 kB / 380.9 MB, free: 14.29 MB / 312.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003173/0.3297, allocations: 0.7912 MB / 381.7 MB, free: 13.58 MB / 312.6 MB Notification: Performance of SimCode: time 2.095e-06/0.3298, allocations: 0 / 381.7 MB, free: 13.58 MB / 312.6 MB Notification: Performance of Templates: time 0.06443/0.3943, allocations: 3.204 MB / 384.9 MB, free: 12.09 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