Notification: Performance of loadModel(Modelica): time 1.582/1.582, allocations: 194.5 MB / 200.7 MB, free: 5.16 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.568e-06/9.708e-06, allocations: 2.781 kB / 247.3 MB, free: 4.746 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06232/0.06239, allocations: 44.35 MB / 291.7 MB, free: 9.301 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2296/0.2921, allocations: 72.32 MB / 364 MB, free: 6.988 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001912/0.2924, allocations: 73 kB / 364.1 MB, free: 6.984 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.01871/0.3112, allocations: 4.61 MB / 368.7 MB, free: 6.617 MB / 296.6 MB Notification: Performance of Transformations before backend: time 2.542e-05/0.3113, allocations: 7.656 kB / 368.7 MB, free: 6.617 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.000901/0.3123, allocations: 0.5623 MB / 369.3 MB, free: 6.191 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.3124, allocations: 11.62 kB / 369.3 MB, free: 6.191 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001037/0.3125, allocations: 43.7 kB / 369.3 MB, free: 6.168 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003938/0.313, allocations: 263.3 kB / 369.6 MB, free: 5.941 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.3131, allocations: 15.56 kB / 369.6 MB, free: 5.938 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.617e-05/0.3132, allocations: 18.48 kB / 369.6 MB, free: 5.938 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004347/0.3137, allocations: 160.7 kB / 369.8 MB, free: 5.934 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004588/0.3142, allocations: 198.9 kB / 370 MB, free: 5.891 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.3143, allocations: 0 / 370 MB, free: 5.891 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.142e-05/0.3143, allocations: 4.609 kB / 370 MB, free: 5.887 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.53e-05/0.3144, allocations: 7.656 kB / 370 MB, free: 5.887 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002168/0.3166, allocations: 0.94 MB / 370.9 MB, free: 5.477 MB / 296.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003955/0.3171, allocations: 165.8 kB / 371.1 MB, free: 5.449 MB / 296.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002303/0.3174, allocations: 102.2 kB / 371.2 MB, free: 5.438 MB / 296.6 MB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.3175, allocations: 4.188 kB / 371.2 MB, free: 5.434 MB / 296.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.3176, allocations: 39.12 kB / 371.2 MB, free: 5.395 MB / 296.6 MB Notification: Performance of pre-optimization done (n=21): time 3.911e-06/0.3177, allocations: 0 / 371.2 MB, free: 5.395 MB / 296.6 MB Notification: Performance of matching and sorting (n=21): time 0.0006573/0.3184, allocations: 212.2 kB / 371.4 MB, free: 5.332 MB / 296.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.165e-05/0.3185, allocations: 59.19 kB / 371.5 MB, free: 5.266 MB / 296.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002356/0.3188, allocations: 205.6 kB / 371.7 MB, free: 5.164 MB / 296.6 MB Notification: Performance of collectPreVariables (initialization): time 2.801e-05/0.3188, allocations: 29.64 kB / 371.7 MB, free: 5.129 MB / 296.6 MB Notification: Performance of collectInitialEqns (initialization): time 7.592e-05/0.319, allocations: 171.2 kB / 371.9 MB, free: 5 MB / 296.6 MB Notification: Performance of collectInitialBindings (initialization): time 5.015e-05/0.3191, allocations: 64.55 kB / 371.9 MB, free: 4.957 MB / 296.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.578e-05/0.3192, allocations: 0 / 371.9 MB, free: 4.957 MB / 296.6 MB Notification: Performance of setup shared object (initialization): time 6.914e-05/0.3193, allocations: 335 kB / 372.3 MB, free: 4.645 MB / 296.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/0.3195, allocations: 54.12 kB / 372.3 MB, free: 4.641 MB / 296.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001833/0.3197, allocations: 85.38 kB / 372.4 MB, free: 4.613 MB / 296.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/0.3199, allocations: 65.03 kB / 372.5 MB, free: 4.609 MB / 296.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.05e-06/0.32, allocations: 0 / 372.5 MB, free: 4.609 MB / 296.6 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006531/0.3207, allocations: 260.6 kB / 372.7 MB, free: 20.53 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.3208, allocations: 7.938 kB / 372.7 MB, free: 20.53 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.3209, allocations: 3.875 kB / 372.7 MB, free: 20.53 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003756/0.3213, allocations: 73.66 kB / 372.8 MB, free: 20.51 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003036/0.3217, allocations: 49.89 kB / 372.9 MB, free: 20.5 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002674/0.3244, allocations: 2.691 MB / 375.6 MB, free: 18.06 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003529/0.3249, allocations: 26.73 kB / 375.6 MB, free: 18.05 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.675e-05/0.325, allocations: 11.09 kB / 375.6 MB, free: 18.05 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 5.231e-05/0.3251, allocations: 84.05 kB / 375.7 MB, free: 17.97 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.269e-05/0.3252, allocations: 23.34 kB / 375.7 MB, free: 17.96 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.642e-05/0.3253, allocations: 22.52 kB / 375.7 MB, free: 17.96 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.888e-06/0.3254, allocations: 3.875 kB / 375.7 MB, free: 17.96 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/0.3255, allocations: 3.875 kB / 375.7 MB, free: 17.96 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.496e-06/0.3255, allocations: 1.359 kB / 375.7 MB, free: 17.96 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001085/0.3267, allocations: 0.5785 MB / 376.3 MB, free: 17.66 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.098e-06/0.3267, allocations: 4.641 kB / 376.3 MB, free: 17.66 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002645/0.3271, allocations: 32.62 kB / 376.3 MB, free: 17.66 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002918/0.3274, allocations: 72.69 kB / 376.4 MB, free: 17.64 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.858e-05/0.3275, allocations: 3.906 kB / 376.4 MB, free: 17.63 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002415/0.33, allocations: 2.687 MB / 379.1 MB, free: 15.21 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.146e-06/0.3301, allocations: 0 / 379.1 MB, free: 15.21 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000625/0.3308, allocations: 330 kB / 379.4 MB, free: 15.04 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 7.452e-05/0.3309, allocations: 103.7 kB / 379.5 MB, free: 14.93 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.91e-05/0.331, allocations: 0 / 379.5 MB, free: 14.93 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003962/0.3315, allocations: 38.31 kB / 379.6 MB, free: 14.93 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.171e-05/0.3316, allocations: 10.66 kB / 379.6 MB, free: 14.93 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.486e-05/0.3317, allocations: 10.84 kB / 379.6 MB, free: 14.92 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.0003412/0.3321, allocations: 161.3 kB / 379.7 MB, free: 14.84 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.0005516/0.3327, allocations: 85.5 kB / 379.8 MB, free: 14.83 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 7.236e-05/0.3329, allocations: 73.61 kB / 379.9 MB, free: 14.77 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.0006773/0.3336, allocations: 376.6 kB / 380.3 MB, free: 14.56 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 5.588e-06/0.3337, allocations: 4.125 kB / 380.3 MB, free: 14.55 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0003841/0.3341, allocations: 289.8 kB / 380.6 MB, free: 14.35 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003952/0.3346, allocations: 29.41 kB / 380.6 MB, free: 14.35 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008304/0.3355, allocations: 309.1 kB / 380.9 MB, free: 14.21 MB / 312.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002947/0.3358, allocations: 0.7872 MB / 381.7 MB, free: 13.5 MB / 312.6 MB Notification: Performance of SimCode: time 2.235e-06/0.3359, allocations: 0 / 381.7 MB, free: 13.5 MB / 312.6 MB Notification: Performance of Templates: time 0.04263/0.3786, allocations: 3.201 MB / 384.9 MB, free: 12.04 MB / 312.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.ShowVariableResistor.makefile clang -fPIC -O1 -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_-O1_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_-O1_Modelica.Electrical.Analog.Examples.ShowVariableResistor.o Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.ShowVariableResistor.c In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.ShowVariableResistor.c:2: ./Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.ShowVariableResistor_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_ShowVariableResistor__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.ShowVariableResistor_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_ShowVariableResistor__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Analog.Examples.ShowVariableResistor.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_ShowVariableResistor_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Analog.Examples.ShowVariableResistor.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_ShowVariableResistor_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Analog.Examples.ShowVariableResistor.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Electrical.Analog.Examples.ShowVariableResistor.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_ShowVariableResistor_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Analog.Examples.ShowVariableResistor.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_ShowVariableResistor_performSimulation ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Analog.Examples.ShowVariableResistor.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Electrical.Analog.Examples.ShowVariableResistor.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_ShowVariableResistor_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.Analog.Examples.ShowVariableResistor.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_ShowVariableResistor_performQSSSimulation ^ Modelica_3.2.2_-O1_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_-O1_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_-O1_Modelica.Electrical.Analog.Examples.ShowVariableResistor.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_ShowVariableResistor_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.ShowVariableResistor.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_ShowVariableResistor_input_function(DATA *data, threadData_t *threadData) ^ ; In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.ShowVariableResistor.c:520: ./Modelica_3.2.2_-O1_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_-O1_Modelica_Electrical_Analog_Examples_ShowVariableResistor_INDEX_JAC_LSJac3 3 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.ShowVariableResistor_12jac.h:8:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_ShowVariableResistor_functionJacLSJac3_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.ShowVariableResistor_12jac.h:7:26: note: expanded from macro 'Modelica_3_2_2_' ./Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.ShowVariableResistor_12jac.h:9:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_ShowVariableResistor_initialAnalyticJacobianLSJac3(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.ShowVariableResistor_12jac.h:7:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_ShowVariableResistor_INDEX_JAC_LSJac3 3 ^ ./Modelica_3.2.2_-O1_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_-O1_Modelica_Electrical_Analog_Examples_ShowVariableResistor_INDEX_JAC_LSJac2 2 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.ShowVariableResistor_12jac.h:33:11: warning: 'Modelica_3_2_2_' macro redefined [-Wmacro-redefined] #define Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_ShowVariableResistor_INDEX_JAC_LSJac2 2 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.ShowVariableResistor_12jac.h:7:11: note: previous definition is here #define Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_ShowVariableResistor_INDEX_JAC_LSJac3 3 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.ShowVariableResistor_12jac.h:34:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_ShowVariableResistor_functionJacLSJac2_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.ShowVariableResistor_12jac.h:33:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_ShowVariableResistor_INDEX_JAC_LSJac2 2 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.ShowVariableResistor_12jac.h:35:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_ShowVariableResistor_initialAnalyticJacobianLSJac2(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.ShowVariableResistor_12jac.h:33:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_ShowVariableResistor_INDEX_JAC_LSJac2 2 ^ ./Modelica_3.2.2_-O1_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_-O1_Modelica_Electrical_Analog_Examples_ShowVariableResistor_INDEX_JAC_LSJac1 1 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.ShowVariableResistor_12jac.h:59:11: warning: 'Modelica_3_2_2_' macro redefined [-Wmacro-redefined] #define Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_ShowVariableResistor_INDEX_JAC_LSJac1 1 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.ShowVariableResistor_12jac.h:33:11: note: previous definition is here #define Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_ShowVariableResistor_INDEX_JAC_LSJac2 2 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.ShowVariableResistor_12jac.h:60:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Electrical_Analog_Examples_ShowVariableResistor_functionJacLSJac1_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.ShowVariableResistor_12jac.h:59:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_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_-O1_Modelica.Electrical.Analog.Examples.ShowVariableResistor.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Electrical.Analog.Examples.ShowVariableResistor.o] Error 1