Notification: Performance of loadModel(Modelica): time 1.528/1.528, allocations: 194.5 MB / 200.7 MB, free: 5.18 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.132e-05/1.145e-05, allocations: 1.438 kB / 247.3 MB, free: 4.746 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06295/0.06303, allocations: 44.36 MB / 291.7 MB, free: 9.301 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2249/0.288, allocations: 71.6 MB / 363.3 MB, free: 6.727 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002007/0.2884, allocations: 75.83 kB / 363.4 MB, free: 6.723 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.0464/0.3348, allocations: 12.85 MB / 376.2 MB, free: 3.766 MB / 296.6 MB Notification: Performance of Transformations before backend: time 5.161e-05/0.335, allocations: 23.5 kB / 376.3 MB, free: 3.762 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.001929/0.337, allocations: 0.9266 MB / 377.2 MB, free: 3.066 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.3371, allocations: 7.594 kB / 377.2 MB, free: 3.066 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003818/0.3375, allocations: 97.56 kB / 377.3 MB, free: 3.02 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001032/0.3386, allocations: 497 kB / 377.8 MB, free: 2.703 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.772e-05/0.3388, allocations: 38.56 kB / 377.8 MB, free: 2.703 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002352/0.3391, allocations: 73.98 kB / 377.9 MB, free: 2.699 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002024/0.3412, allocations: 0.7597 MB / 378.6 MB, free: 2.629 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00207/0.3433, allocations: 0.8934 MB / 379.5 MB, free: 2.379 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.366e-05/0.3435, allocations: 3.906 kB / 379.5 MB, free: 2.379 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/0.3436, allocations: 3.688 kB / 379.5 MB, free: 2.379 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.458e-05/0.3437, allocations: 23.22 kB / 379.6 MB, free: 2.379 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004914/0.3487, allocations: 2.7 MB / 382.3 MB, free: 16.84 MB / 312.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001442/0.3502, allocations: 0.6066 MB / 382.9 MB, free: 16.76 MB / 312.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006837/0.351, allocations: 338.5 kB / 383.2 MB, free: 16.73 MB / 312.6 MB Notification: Performance of preOpt evalFunc (simulation): time 7.62e-05/0.3512, allocations: 20.05 kB / 383.2 MB, free: 16.72 MB / 312.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007917/0.352, allocations: 384.1 kB / 383.6 MB, free: 16.59 MB / 312.6 MB Notification: Performance of pre-optimization done (n=104): time 1.055e-05/0.3521, allocations: 3.984 kB / 383.6 MB, free: 16.59 MB / 312.6 MB Notification: Performance of matching and sorting (n=104): time 0.001475/0.3536, allocations: 0.5721 MB / 384.2 MB, free: 16.46 MB / 312.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.223e-05/0.3538, allocations: 71.38 kB / 384.2 MB, free: 16.4 MB / 312.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004343/0.3543, allocations: 311.3 kB / 384.5 MB, free: 16.23 MB / 312.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0001784/0.3545, allocations: 58.62 kB / 384.6 MB, free: 16.2 MB / 312.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.000253/0.3548, allocations: 292.3 kB / 384.9 MB, free: 15.99 MB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002572/0.3552, allocations: 248.8 kB / 385.1 MB, free: 15.84 MB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.608e-05/0.3553, allocations: 0 / 385.1 MB, free: 15.84 MB / 312.6 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.3555, allocations: 365.8 kB / 385.5 MB, free: 15.51 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006898/0.3563, allocations: 278.8 kB / 385.8 MB, free: 15.5 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007834/0.3571, allocations: 0.4908 MB / 386.2 MB, free: 15.24 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008463/0.358, allocations: 286.8 kB / 386.5 MB, free: 15.19 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-05/0.3581, allocations: 3.812 kB / 386.5 MB, free: 15.19 MB / 312.6 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.002152/0.3603, allocations: 0.8536 MB / 387.4 MB, free: 14.98 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.486e-05/0.3604, allocations: 7.922 kB / 387.4 MB, free: 14.98 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.837e-05/0.3605, allocations: 7.75 kB / 387.4 MB, free: 14.98 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.408e-05/0.3606, allocations: 11.62 kB / 387.4 MB, free: 14.98 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005893/0.3612, allocations: 122.7 kB / 387.5 MB, free: 14.95 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.005e-05/0.3613, allocations: 15.41 kB / 387.5 MB, free: 14.94 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000592/0.362, allocations: 50.98 kB / 387.6 MB, free: 14.92 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001194/0.3622, allocations: 60.66 kB / 387.7 MB, free: 14.91 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001071/0.3623, allocations: 75.28 kB / 387.7 MB, free: 14.84 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001448/0.3625, allocations: 50.72 kB / 387.8 MB, free: 14.81 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001705/0.3643, allocations: 0.653 MB / 388.4 MB, free: 14.64 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.648e-05/0.3644, allocations: 19.59 kB / 388.4 MB, free: 14.64 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.52e-06/0.3645, allocations: 0 / 388.4 MB, free: 14.64 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-05/0.3645, allocations: 7.859 kB / 388.5 MB, free: 14.63 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003688/0.3683, allocations: 1.568 MB / 390 MB, free: 14.02 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.032e-06/0.3684, allocations: 0 / 390 MB, free: 14.02 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003976/0.3688, allocations: 72.7 kB / 390.1 MB, free: 14 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.46e-05/0.3689, allocations: 3.906 kB / 390.1 MB, free: 14 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.125e-05/0.369, allocations: 11.67 kB / 390.1 MB, free: 13.99 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.102e-06/0.3691, allocations: 3.812 kB / 390.1 MB, free: 13.99 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.797e-06/0.3691, allocations: 3.984 kB / 390.1 MB, free: 13.99 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001481/0.3707, allocations: 0.705 MB / 390.8 MB, free: 13.75 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001298/0.3709, allocations: 127.7 kB / 390.9 MB, free: 13.62 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000118/0.3711, allocations: 11.64 kB / 391 MB, free: 13.61 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004147/0.3716, allocations: 31 kB / 391 MB, free: 13.6 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003241/0.372, allocations: 122.6 kB / 391.1 MB, free: 13.55 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.178e-05/0.3721, allocations: 34.48 kB / 391.1 MB, free: 13.55 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.0001669/0.3724, allocations: 163.9 kB / 391.3 MB, free: 13.45 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.000877/0.3733, allocations: 137.7 kB / 391.4 MB, free: 13.45 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0001242/0.3735, allocations: 76.88 kB / 391.5 MB, free: 13.38 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.001706/0.3752, allocations: 0.7664 MB / 392.3 MB, free: 13.31 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 5.448e-06/0.3754, allocations: 0 / 392.3 MB, free: 13.31 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0008198/0.3762, allocations: 377.4 kB / 392.6 MB, free: 13.29 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00059/0.3769, allocations: 66.47 kB / 392.7 MB, free: 13.26 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003304/0.3803, allocations: 1.032 MB / 393.7 MB, free: 12.89 MB / 312.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001121/0.3815, allocations: 1.045 MB / 394.8 MB, free: 12.06 MB / 312.6 MB Notification: Performance of SimCode: time 2.654e-06/0.3816, allocations: 4 kB / 394.8 MB, free: 12.06 MB / 312.6 MB Notification: Performance of Templates: time 0.06871/0.4504, allocations: 8.664 MB / 403.5 MB, free: 7.82 MB / 312.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.StateGraph.Examples.ShowCompositeStep.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_StateGraph_Examples_ShowCompositeStep -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O1_Modelica.StateGraph.Examples.ShowCompositeStep.o Modelica_3.2.2_-O1_Modelica.StateGraph.Examples.ShowCompositeStep.c In file included from Modelica_3.2.2_-O1_Modelica.StateGraph.Examples.ShowCompositeStep.c:2: ./Modelica_3.2.2_-O1_Modelica.StateGraph.Examples.ShowCompositeStep_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_StateGraph_Examples_ShowCompositeStep__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.StateGraph.Examples.ShowCompositeStep_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_StateGraph_Examples_ShowCompositeStep__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_Modelica.StateGraph.Examples.ShowCompositeStep.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.StateGraph.Examples.ShowCompositeStep.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_StateGraph_Examples_ShowCompositeStep_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.StateGraph.Examples.ShowCompositeStep.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.StateGraph.Examples.ShowCompositeStep.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_StateGraph_Examples_ShowCompositeStep_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.StateGraph.Examples.ShowCompositeStep.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.StateGraph.Examples.ShowCompositeStep.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_StateGraph_Examples_ShowCompositeStep_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.StateGraph.Examples.ShowCompositeStep.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_StateGraph_Examples_ShowCompositeStep_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.StateGraph.Examples.ShowCompositeStep.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.StateGraph.Examples.ShowCompositeStep.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_StateGraph_Examples_ShowCompositeStep_performSimulation ^ In file included from Modelica_3.2.2_-O1_Modelica.StateGraph.Examples.ShowCompositeStep.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.StateGraph.Examples.ShowCompositeStep.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_StateGraph_Examples_ShowCompositeStep_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.StateGraph.Examples.ShowCompositeStep.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_StateGraph_Examples_ShowCompositeStep_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.StateGraph.Examples.ShowCompositeStep.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.StateGraph.Examples.ShowCompositeStep.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_StateGraph_Examples_ShowCompositeStep_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.StateGraph.Examples.ShowCompositeStep.c:18:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int Modelica_3_2_2_-O1_Modelica_StateGraph_Examples_ShowCompositeStep_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.StateGraph.Examples.ShowCompositeStep.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_StateGraph_Examples_ShowCompositeStep_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.StateGraph.Examples.ShowCompositeStep.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_StateGraph_Examples_ShowCompositeStep_input_function(DATA *data, threadData_t *threadData) ^ ; In file included from Modelica_3.2.2_-O1_Modelica.StateGraph.Examples.ShowCompositeStep.c:1808: ./Modelica_3.2.2_-O1_Modelica.StateGraph.Examples.ShowCompositeStep_12jac.h:7:26: warning: ISO C99 requires whitespace after the macro name [-Wc99-extensions] #define Modelica_3_2_2_-O1_Modelica_StateGraph_Examples_ShowCompositeStep_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O1_Modelica.StateGraph.Examples.ShowCompositeStep_12jac.h:8:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_StateGraph_Examples_ShowCompositeStep_functionJacA_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.StateGraph.Examples.ShowCompositeStep_12jac.h:7:26: note: expanded from macro 'Modelica_3_2_2_' ./Modelica_3.2.2_-O1_Modelica.StateGraph.Examples.ShowCompositeStep_12jac.h:9:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_StateGraph_Examples_ShowCompositeStep_initialAnalyticJacobianA(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.StateGraph.Examples.ShowCompositeStep_12jac.h:7:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_Modelica_StateGraph_Examples_ShowCompositeStep_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O1_Modelica.StateGraph.Examples.ShowCompositeStep_12jac.h:18:26: warning: ISO C99 requires whitespace after the macro name [-Wc99-extensions] #define Modelica_3_2_2_-O1_Modelica_StateGraph_Examples_ShowCompositeStep_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.StateGraph.Examples.ShowCompositeStep_12jac.h:18:11: warning: 'Modelica_3_2_2_' macro redefined [-Wmacro-redefined] #define Modelica_3_2_2_-O1_Modelica_StateGraph_Examples_ShowCompositeStep_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.StateGraph.Examples.ShowCompositeStep_12jac.h:7:11: note: previous definition is here #define Modelica_3_2_2_-O1_Modelica_StateGraph_Examples_ShowCompositeStep_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O1_Modelica.StateGraph.Examples.ShowCompositeStep_12jac.h:19:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_StateGraph_Examples_ShowCompositeStep_functionJacB_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.StateGraph.Examples.ShowCompositeStep_12jac.h:18:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_Modelica_StateGraph_Examples_ShowCompositeStep_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.StateGraph.Examples.ShowCompositeStep_12jac.h:20:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_StateGraph_Examples_ShowCompositeStep_initialAnalyticJacobianB(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.StateGraph.Examples.ShowCompositeStep_12jac.h:18:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_Modelica_StateGraph_Examples_ShowCompositeStep_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.StateGraph.Examples.ShowCompositeStep_12jac.h:29:26: warning: ISO C99 requires whitespace after the macro name [-Wc99-extensions] #define Modelica_3_2_2_-O1_Modelica_StateGraph_Examples_ShowCompositeStep_INDEX_JAC_C 1 ^ ./Modelica_3.2.2_-O1_Modelica.StateGraph.Examples.ShowCompositeStep_12jac.h:29:11: warning: 'Modelica_3_2_2_' macro redefined [-Wmacro-redefined] #define Modelica_3_2_2_-O1_Modelica_StateGraph_Examples_ShowCompositeStep_INDEX_JAC_C 1 ^ ./Modelica_3.2.2_-O1_Modelica.StateGraph.Examples.ShowCompositeStep_12jac.h:18:11: note: previous definition is here #define Modelica_3_2_2_-O1_Modelica_StateGraph_Examples_ShowCompositeStep_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.StateGraph.Examples.ShowCompositeStep_12jac.h:30:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_StateGraph_Examples_ShowCompositeStep_functionJacC_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.StateGraph.Examples.ShowCompositeStep_12jac.h:29:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_Modelica_StateGraph_Examples_ShowCompositeStep_INDEX_JAC_C 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.StateGraph.Examples.ShowCompositeStep.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.StateGraph.Examples.ShowCompositeStep.o] Error 1