Notification: Performance of loadModel(Modelica): time 1.492/1.492, allocations: 194.5 MB / 200.7 MB, free: 5.164 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.055e-05/1.069e-05, allocations: 2.188 kB / 247.4 MB, free: 4.645 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06248/0.06256, allocations: 44.36 MB / 291.8 MB, free: 9.23 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2276/0.2902, allocations: 76.77 MB / 368.5 MB, free: 7.039 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001872/0.2905, allocations: 78.03 kB / 368.6 MB, free: 7.035 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.07704/0.3676, allocations: 26.22 MB / 394.8 MB, free: 15.89 MB / 312.6 MB Notification: Performance of Transformations before backend: time 1.732e-05/0.3677, allocations: 7.875 kB / 394.8 MB, free: 15.88 MB / 312.6 MB Notification: Performance of Generate backend data structure: time 0.0005121/0.3683, allocations: 0.6084 MB / 395.4 MB, free: 15.29 MB / 312.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.009e-05/0.3684, allocations: 8.5 kB / 395.4 MB, free: 15.29 MB / 312.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.477e-05/0.3686, allocations: 37.94 kB / 395.5 MB, free: 15.27 MB / 312.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003574/0.369, allocations: 265.8 kB / 395.7 MB, free: 15.03 MB / 312.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.654e-05/0.3691, allocations: 4.219 kB / 395.7 MB, free: 15.03 MB / 312.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.05e-05/0.3692, allocations: 11.69 kB / 395.8 MB, free: 15.02 MB / 312.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001833/0.3694, allocations: 57.7 kB / 395.8 MB, free: 15.02 MB / 312.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003104/0.3698, allocations: 150 kB / 396 MB, free: 14.94 MB / 312.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.987e-06/0.3699, allocations: 0.875 kB / 396 MB, free: 14.94 MB / 312.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.463e-05/0.37, allocations: 6.906 kB / 396 MB, free: 14.94 MB / 312.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.077e-06/0.37, allocations: 1.156 kB / 396 MB, free: 14.94 MB / 312.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000922/0.371, allocations: 464.8 kB / 396.4 MB, free: 14.62 MB / 312.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002081/0.3713, allocations: 100.7 kB / 396.5 MB, free: 14.59 MB / 312.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001679/0.3715, allocations: 80.56 kB / 396.6 MB, free: 14.57 MB / 312.6 MB Notification: Performance of preOpt evalFunc (simulation): time 1.383e-05/0.3716, allocations: 3.984 kB / 396.6 MB, free: 14.57 MB / 312.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002795/0.3719, allocations: 207.5 kB / 396.8 MB, free: 14.42 MB / 312.6 MB Notification: Performance of pre-optimization done (n=13): time 5.657e-06/0.372, allocations: 4 kB / 396.8 MB, free: 14.42 MB / 312.6 MB Notification: Performance of matching and sorting (n=13): time 0.0005422/0.3726, allocations: 218 kB / 397 MB, free: 14.35 MB / 312.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.818e-05/0.3727, allocations: 169.3 kB / 397.2 MB, free: 14.16 MB / 312.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008836/0.3737, allocations: 445.9 kB / 397.6 MB, free: 13.94 MB / 312.6 MB Notification: Performance of collectPreVariables (initialization): time 7.508e-05/0.3738, allocations: 29.08 kB / 397.7 MB, free: 13.91 MB / 312.6 MB Notification: Performance of collectInitialEqns (initialization): time 4.61e-05/0.3739, allocations: 96.31 kB / 397.7 MB, free: 13.82 MB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 6.719e-05/0.3741, allocations: 29.91 kB / 397.8 MB, free: 13.8 MB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.513e-05/0.3742, allocations: 7.094 kB / 397.8 MB, free: 13.8 MB / 312.6 MB Notification: Performance of setup shared object (initialization): time 6.956e-05/0.3743, allocations: 329.5 kB / 398.1 MB, free: 13.47 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001671/0.3745, allocations: 61.22 kB / 398.2 MB, free: 13.46 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/0.3747, allocations: 58.73 kB / 398.2 MB, free: 13.46 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.3749, allocations: 58.38 kB / 398.3 MB, free: 13.45 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.841e-06/0.375, allocations: 3.938 kB / 398.3 MB, free: 13.45 MB / 312.6 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004901/0.3755, allocations: 202.6 kB / 398.5 MB, free: 13.38 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.3756, allocations: 4.594 kB / 398.5 MB, free: 13.38 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.521e-06/0.3757, allocations: 1.156 kB / 398.5 MB, free: 13.38 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.3757, allocations: 0 / 398.5 MB, free: 13.38 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.305e-05/0.3758, allocations: 5.219 kB / 398.5 MB, free: 13.38 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.006e-06/0.3759, allocations: 5.062 kB / 398.5 MB, free: 13.38 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002497/0.3762, allocations: 17.27 kB / 398.5 MB, free: 13.37 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000158/0.3764, allocations: 108.7 kB / 398.6 MB, free: 13.36 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001286/0.3766, allocations: 205 kB / 398.8 MB, free: 13.15 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.625e-05/0.3767, allocations: 39.5 kB / 398.9 MB, free: 13.13 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002025/0.377, allocations: 67.12 kB / 398.9 MB, free: 13.09 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.239e-06/0.3771, allocations: 5.031 kB / 398.9 MB, free: 13.08 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.098e-06/0.3771, allocations: 0 / 398.9 MB, free: 13.08 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.168e-06/0.3772, allocations: 5.078 kB / 398.9 MB, free: 13.08 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009357/0.3782, allocations: 0.5854 MB / 399.5 MB, free: 12.7 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.772e-06/0.3782, allocations: 0 / 399.5 MB, free: 12.7 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.778e-06/0.3783, allocations: 1.5 kB / 399.5 MB, free: 12.7 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.146e-06/0.3784, allocations: 1.438 kB / 399.5 MB, free: 12.7 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.608e-05/0.3785, allocations: 22.39 kB / 399.5 MB, free: 12.7 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.073e-06/0.3785, allocations: 0 / 399.5 MB, free: 12.7 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.378e-06/0.3786, allocations: 8.984 kB / 399.6 MB, free: 12.69 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005415/0.3792, allocations: 341.1 kB / 399.9 MB, free: 12.51 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004486/0.3797, allocations: 258.8 kB / 400.1 MB, free: 12.33 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/0.3799, allocations: 9.688 kB / 400.1 MB, free: 12.33 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002625/0.3802, allocations: 10.34 kB / 400.2 MB, free: 12.33 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001381/0.3804, allocations: 37.3 kB / 400.2 MB, free: 12.32 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000167/0.3806, allocations: 128.8 kB / 400.3 MB, free: 12.3 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.0005987/0.3813, allocations: 368 kB / 400.7 MB, free: 12.12 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.000512/0.3818, allocations: 36.91 kB / 400.7 MB, free: 12.12 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 7.466e-05/0.382, allocations: 73.28 kB / 400.8 MB, free: 12.05 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.0006837/0.3827, allocations: 274.7 kB / 401.1 MB, free: 11.91 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 3.422e-06/0.3828, allocations: 0.5938 kB / 401.1 MB, free: 11.91 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0003081/0.3832, allocations: 272.2 kB / 401.3 MB, free: 11.77 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006721/0.3839, allocations: 102.8 kB / 401.4 MB, free: 11.74 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001199/0.3852, allocations: 0.5181 MB / 401.9 MB, free: 11.49 MB / 312.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003912/0.3856, allocations: 0.823 MB / 402.8 MB, free: 10.71 MB / 312.6 MB Notification: Performance of SimCode: time 2.444e-06/0.3857, allocations: 0 / 402.8 MB, free: 10.71 MB / 312.6 MB Notification: Performance of Templates: time 0.04032/0.4261, allocations: 5.498 MB / 408.3 MB, free: 5.707 MB / 312.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.BUF3S.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_Digital_Examples_BUF3S -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_-O2_Modelica.Electrical.Digital.Examples.BUF3S.o Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.BUF3S.c In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.BUF3S.c:2: ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.BUF3S_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_BUF3S__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.BUF3S_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_BUF3S__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.BUF3S.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.Digital.Examples.BUF3S.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_BUF3S_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.BUF3S.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.Digital.Examples.BUF3S.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_BUF3S_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.BUF3S.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.Digital.Examples.BUF3S.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_BUF3S_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.Digital.Examples.BUF3S.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_BUF3S_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.BUF3S.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.Digital.Examples.BUF3S.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_BUF3S_performSimulation ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.BUF3S.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.Digital.Examples.BUF3S.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_BUF3S_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.Digital.Examples.BUF3S.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_BUF3S_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.BUF3S.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.Digital.Examples.BUF3S.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_BUF3S_performQSSSimulation ^ Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.BUF3S.c:18:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_BUF3S_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.Digital.Examples.BUF3S.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_BUF3S_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.BUF3S.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_BUF3S_input_function(DATA *data, threadData_t *threadData) ^ ; In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.BUF3S.c:553: ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.BUF3S_12jac.h:7:26: warning: ISO C99 requires whitespace after the macro name [-Wc99-extensions] #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_BUF3S_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.BUF3S_12jac.h:8:7: error: expected identifier or '(' int Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_BUF3S_functionJacA_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.BUF3S_12jac.h:7:26: note: expanded from macro 'Modelica_3_2_2_' ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.BUF3S_12jac.h:9:7: error: expected identifier or '(' int Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_BUF3S_initialAnalyticJacobianA(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.BUF3S_12jac.h:7:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_BUF3S_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.BUF3S_12jac.h:18:26: warning: ISO C99 requires whitespace after the macro name [-Wc99-extensions] #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_BUF3S_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.BUF3S_12jac.h:18:11: warning: 'Modelica_3_2_2_' macro redefined [-Wmacro-redefined] #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_BUF3S_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.BUF3S_12jac.h:7:11: note: previous definition is here #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_BUF3S_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.BUF3S_12jac.h:19:7: error: expected identifier or '(' int Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_BUF3S_functionJacB_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.BUF3S_12jac.h:18:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_BUF3S_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.BUF3S_12jac.h:20:7: error: expected identifier or '(' int Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_BUF3S_initialAnalyticJacobianB(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.BUF3S_12jac.h:18:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_BUF3S_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.BUF3S_12jac.h:29:26: warning: ISO C99 requires whitespace after the macro name [-Wc99-extensions] #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_BUF3S_INDEX_JAC_C 1 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.BUF3S_12jac.h:29:11: warning: 'Modelica_3_2_2_' macro redefined [-Wmacro-redefined] #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_BUF3S_INDEX_JAC_C 1 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.BUF3S_12jac.h:18:11: note: previous definition is here #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_BUF3S_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.BUF3S_12jac.h:30:7: error: expected identifier or '(' int Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_BUF3S_functionJacC_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.BUF3S_12jac.h:29:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_BUF3S_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_-O2_Modelica.Electrical.Digital.Examples.BUF3S.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.BUF3S.o] Error 1