Notification: Performance of loadModel(Modelica): time 1.531/1.531, allocations: 194.5 MB / 200.7 MB, free: 5.168 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.111e-05/1.117e-05, allocations: 2 kB / 247.3 MB, free: 4.762 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06259/0.06267, allocations: 44.36 MB / 291.7 MB, free: 9.316 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2278/0.2906, allocations: 72.31 MB / 364 MB, free: 7.012 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002171/0.2909, allocations: 77.09 kB / 364.1 MB, free: 7.008 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.01938/0.3104, allocations: 4.612 MB / 368.7 MB, free: 6.641 MB / 296.6 MB Notification: Performance of Transformations before backend: time 2.416e-05/0.3105, allocations: 7.312 kB / 368.7 MB, free: 6.641 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.0009172/0.3115, allocations: 0.5674 MB / 369.3 MB, free: 6.211 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.3116, allocations: 12.34 kB / 369.3 MB, free: 6.211 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/0.3118, allocations: 39.06 kB / 369.3 MB, free: 6.191 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003823/0.3122, allocations: 260.9 kB / 369.6 MB, free: 5.969 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.3123, allocations: 7.781 kB / 369.6 MB, free: 5.969 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.163e-05/0.3124, allocations: 15.47 kB / 369.6 MB, free: 5.969 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004523/0.3129, allocations: 172.4 kB / 369.8 MB, free: 5.961 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004948/0.3135, allocations: 196.4 kB / 370 MB, free: 5.918 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.3135, allocations: 4.75 kB / 370 MB, free: 5.914 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.163e-05/0.3136, allocations: 7.844 kB / 370 MB, free: 5.906 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.289e-06/0.3137, allocations: 7.688 kB / 370 MB, free: 5.906 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002125/0.3159, allocations: 0.934 MB / 370.9 MB, free: 5.5 MB / 296.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003929/0.3164, allocations: 162 kB / 371.1 MB, free: 5.477 MB / 296.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002402/0.3167, allocations: 98.14 kB / 371.2 MB, free: 5.465 MB / 296.6 MB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.3168, allocations: 7.969 kB / 371.2 MB, free: 5.461 MB / 296.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/0.3168, allocations: 34.56 kB / 371.2 MB, free: 5.422 MB / 296.6 MB Notification: Performance of pre-optimization done (n=21): time 5.308e-06/0.3169, allocations: 0 / 371.2 MB, free: 5.422 MB / 296.6 MB Notification: Performance of matching and sorting (n=21): time 0.0006654/0.3176, allocations: 224.9 kB / 371.4 MB, free: 5.355 MB / 296.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.046e-05/0.3177, allocations: 59.19 kB / 371.5 MB, free: 5.289 MB / 296.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002456/0.318, allocations: 198.8 kB / 371.7 MB, free: 5.191 MB / 296.6 MB Notification: Performance of collectPreVariables (initialization): time 2.647e-05/0.3181, allocations: 29.58 kB / 371.7 MB, free: 5.16 MB / 296.6 MB Notification: Performance of collectInitialEqns (initialization): time 7.445e-05/0.3182, allocations: 164.2 kB / 371.9 MB, free: 5.031 MB / 296.6 MB Notification: Performance of collectInitialBindings (initialization): time 5.133e-05/0.3183, allocations: 69.2 kB / 371.9 MB, free: 4.988 MB / 296.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.474e-05/0.3184, allocations: 5 kB / 371.9 MB, free: 4.988 MB / 296.6 MB Notification: Performance of setup shared object (initialization): time 6.844e-05/0.3185, allocations: 329.5 kB / 372.3 MB, free: 4.676 MB / 296.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.3187, allocations: 58.5 kB / 372.3 MB, free: 4.668 MB / 296.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001631/0.3189, allocations: 80.47 kB / 372.4 MB, free: 4.645 MB / 296.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001645/0.3191, allocations: 67.44 kB / 372.5 MB, free: 4.637 MB / 296.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.4e-06/0.3192, allocations: 0 / 372.5 MB, free: 4.637 MB / 296.6 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006251/0.3199, allocations: 259.5 kB / 372.7 MB, free: 4.559 MB / 296.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.32, allocations: 7.625 kB / 372.7 MB, free: 4.559 MB / 296.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.171e-06/0.32, allocations: 0 / 372.7 MB, free: 4.559 MB / 296.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003508/0.3204, allocations: 71.12 kB / 372.8 MB, free: 4.543 MB / 296.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002983/0.3208, allocations: 50.12 kB / 372.8 MB, free: 4.535 MB / 296.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002751/0.3236, allocations: 2.699 MB / 375.5 MB, free: 18.09 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003432/0.3241, allocations: 27.25 kB / 375.6 MB, free: 18.08 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.43e-05/0.3242, allocations: 10.97 kB / 375.6 MB, free: 18.08 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 5.008e-05/0.3243, allocations: 79.19 kB / 375.7 MB, free: 18 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.144e-05/0.3244, allocations: 24.17 kB / 375.7 MB, free: 17.99 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.537e-05/0.3245, allocations: 29.11 kB / 375.7 MB, free: 17.99 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.3246, allocations: 0 / 375.7 MB, free: 17.99 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/0.3246, allocations: 4.391 kB / 375.7 MB, free: 17.99 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.844e-06/0.3247, allocations: 1.125 kB / 375.7 MB, free: 17.99 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001066/0.3258, allocations: 0.58 MB / 376.3 MB, free: 17.69 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.26e-06/0.3259, allocations: 0 / 376.3 MB, free: 17.69 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00022/0.3262, allocations: 33.16 kB / 376.3 MB, free: 17.69 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002935/0.3265, allocations: 73.67 kB / 376.4 MB, free: 17.67 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.963e-05/0.3266, allocations: 3.906 kB / 376.4 MB, free: 17.67 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002368/0.329, allocations: 2.684 MB / 379.1 MB, free: 15.25 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.587e-06/0.3291, allocations: 8.656 kB / 379.1 MB, free: 15.24 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006073/0.3298, allocations: 324.8 kB / 379.4 MB, free: 15.07 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 7.257e-05/0.33, allocations: 104.5 kB / 379.5 MB, free: 14.96 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.819e-05/0.3301, allocations: 0 / 379.5 MB, free: 14.96 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000404/0.3305, allocations: 38.39 kB / 379.6 MB, free: 14.96 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.608e-05/0.3306, allocations: 13.11 kB / 379.6 MB, free: 14.95 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-05/0.3307, allocations: 8.25 kB / 379.6 MB, free: 14.95 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.000165/0.3309, allocations: 160.7 kB / 379.7 MB, free: 14.88 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.0005307/0.3315, allocations: 81.59 kB / 379.8 MB, free: 14.86 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 6.391e-05/0.3316, allocations: 74.33 kB / 379.9 MB, free: 14.81 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.0006284/0.3323, allocations: 380.2 kB / 380.3 MB, free: 14.59 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 3.981e-06/0.3324, allocations: 0 / 380.3 MB, free: 14.59 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0003771/0.3328, allocations: 290.3 kB / 380.5 MB, free: 14.39 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000369/0.3333, allocations: 39.02 kB / 380.6 MB, free: 14.38 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008172/0.3342, allocations: 295.6 kB / 380.9 MB, free: 14.25 MB / 312.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004313/0.3347, allocations: 0.791 MB / 381.7 MB, free: 13.54 MB / 312.6 MB Notification: Performance of SimCode: time 2.096e-06/0.3347, allocations: 0 / 381.7 MB, free: 13.54 MB / 312.6 MB Notification: Performance of Templates: time 0.0451/0.3799, allocations: 3.215 MB / 384.9 MB, free: 12.07 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