Notification: Performance of loadModel(Modelica): time 1.574/1.574, allocations: 194.5 MB / 200.7 MB, free: 5.168 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.917e-06/1.006e-05, allocations: 1.156 kB / 247.3 MB, free: 4.75 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06331/0.06339, allocations: 44.37 MB / 291.7 MB, free: 9.309 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2308/0.2943, allocations: 74.29 MB / 366 MB, free: 6.957 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000207/0.2946, allocations: 79.06 kB / 366.1 MB, free: 6.953 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.02037/0.3151, allocations: 4.664 MB / 370.7 MB, free: 6.652 MB / 296.6 MB Notification: Performance of Transformations before backend: time 2.905e-05/0.3152, allocations: 11.75 kB / 370.7 MB, free: 6.648 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.000922/0.3162, allocations: 0.6548 MB / 371.4 MB, free: 6.125 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.3163, allocations: 11.72 kB / 371.4 MB, free: 6.121 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001136/0.3164, allocations: 45.48 kB / 371.4 MB, free: 6.102 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004705/0.317, allocations: 293.4 kB / 371.7 MB, free: 5.875 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.501e-05/0.3171, allocations: 48.44 kB / 371.8 MB, free: 5.844 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.832e-05/0.3172, allocations: 23.19 kB / 371.8 MB, free: 5.844 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005003/0.3178, allocations: 206.3 kB / 372 MB, free: 5.84 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006227/0.3185, allocations: 349.4 kB / 372.3 MB, free: 5.707 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.3186, allocations: 0 / 372.3 MB, free: 5.707 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.7e-05/0.3187, allocations: 15.66 kB / 372.4 MB, free: 5.699 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.031e-05/0.3187, allocations: 19.94 kB / 372.4 MB, free: 5.691 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001818/0.3206, allocations: 1.508 MB / 373.9 MB, free: 20.48 MB / 312.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003931/0.3211, allocations: 241.4 kB / 374.1 MB, free: 20.39 MB / 312.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001994/0.3214, allocations: 117.5 kB / 374.2 MB, free: 20.36 MB / 312.6 MB Notification: Performance of preOpt evalFunc (simulation): time 6.425e-05/0.3215, allocations: 11.7 kB / 374.2 MB, free: 20.36 MB / 312.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003946/0.3219, allocations: 327 kB / 374.6 MB, free: 20.11 MB / 312.6 MB Notification: Performance of pre-optimization done (n=36): time 4.33e-06/0.322, allocations: 0 / 374.6 MB, free: 20.11 MB / 312.6 MB Notification: Performance of matching and sorting (n=36): time 0.0008632/0.3229, allocations: 283.9 kB / 374.8 MB, free: 20.03 MB / 312.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/0.3231, allocations: 195.7 kB / 375 MB, free: 19.81 MB / 312.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002924/0.3235, allocations: 251.6 kB / 375.3 MB, free: 19.68 MB / 312.6 MB Notification: Performance of collectPreVariables (initialization): time 5.825e-05/0.3236, allocations: 33.62 kB / 375.3 MB, free: 19.64 MB / 312.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.3237, allocations: 163.4 kB / 375.5 MB, free: 19.52 MB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 6.872e-05/0.3239, allocations: 73.86 kB / 375.5 MB, free: 19.48 MB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.556e-05/0.324, allocations: 0 / 375.5 MB, free: 19.48 MB / 312.6 MB Notification: Performance of setup shared object (initialization): time 0.0002644/0.3243, allocations: 349.9 kB / 375.9 MB, free: 19.15 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002238/0.3245, allocations: 102.1 kB / 376 MB, free: 19.14 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000262/0.3249, allocations: 222.7 kB / 376.2 MB, free: 18.99 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00051/0.3254, allocations: 140.2 kB / 376.3 MB, free: 18.95 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.727e-06/0.3255, allocations: 0 / 376.3 MB, free: 18.95 MB / 312.6 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0009871/0.3266, allocations: 371.8 kB / 376.7 MB, free: 18.84 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.3267, allocations: 7.781 kB / 376.7 MB, free: 18.84 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.3267, allocations: 3.875 kB / 376.7 MB, free: 18.84 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.451e-05/0.3268, allocations: 7.75 kB / 376.7 MB, free: 18.84 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/0.327, allocations: 38.78 kB / 376.8 MB, free: 18.83 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.3271, allocations: 4.406 kB / 376.8 MB, free: 18.83 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003383/0.3275, allocations: 31.33 kB / 376.8 MB, free: 18.82 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.559e-05/0.3276, allocations: 27.22 kB / 376.8 MB, free: 18.81 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001071/0.3278, allocations: 146.2 kB / 377 MB, free: 18.67 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.969e-05/0.3279, allocations: 38.98 kB / 377 MB, free: 18.65 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006874/0.3286, allocations: 225.7 kB / 377.2 MB, free: 18.57 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.962e-06/0.3287, allocations: 3.875 kB / 377.2 MB, free: 18.57 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.635e-06/0.3288, allocations: 0 / 377.2 MB, free: 18.57 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.94e-06/0.3288, allocations: 3.984 kB / 377.2 MB, free: 18.57 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001426/0.3303, allocations: 0.8198 MB / 378.1 MB, free: 18.09 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.3304, allocations: 0 / 378.1 MB, free: 18.09 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.432e-05/0.3305, allocations: 19.33 kB / 378.1 MB, free: 18.08 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.613e-06/0.3306, allocations: 0 / 378.1 MB, free: 18.08 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.681e-05/0.3307, allocations: 7.75 kB / 378.1 MB, free: 18.08 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.355e-06/0.3307, allocations: 7.906 kB / 378.1 MB, free: 18.07 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.191e-06/0.3308, allocations: 0 / 378.1 MB, free: 18.07 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008023/0.3316, allocations: 0.5059 MB / 378.6 MB, free: 17.77 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 5.769e-05/0.3318, allocations: 100.5 kB / 378.7 MB, free: 17.66 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.632e-05/0.3319, allocations: 15.17 kB / 378.7 MB, free: 17.66 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003769/0.3324, allocations: 27.36 kB / 378.7 MB, free: 17.65 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/0.3325, allocations: 33.31 kB / 378.8 MB, free: 17.63 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.854e-05/0.3326, allocations: 18.06 kB / 378.8 MB, free: 17.63 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.0001603/0.3329, allocations: 165.2 kB / 378.9 MB, free: 17.54 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.0007057/0.3336, allocations: 89.48 kB / 379 MB, free: 17.53 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0001817/0.3339, allocations: 112.3 kB / 379.1 MB, free: 17.45 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.0006393/0.3346, allocations: 377.7 kB / 379.5 MB, free: 17.32 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 3.423e-06/0.3346, allocations: 3.938 kB / 379.5 MB, free: 17.32 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0003377/0.335, allocations: 247.1 kB / 379.8 MB, free: 17.24 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005022/0.3356, allocations: 37.44 kB / 379.8 MB, free: 17.23 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.3368, allocations: 457.6 kB / 380.2 MB, free: 17.02 MB / 312.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003579/0.3372, allocations: 0.8379 MB / 381.1 MB, free: 16.26 MB / 312.6 MB Notification: Performance of SimCode: time 2.025e-06/0.3373, allocations: 0 / 381.1 MB, free: 16.26 MB / 312.6 MB Notification: Performance of Templates: time 0.06844/0.4058, allocations: 4.068 MB / 385.1 MB, free: 14.24 MB / 312.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Blocks.Examples.BooleanNetwork1.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_Blocks_Examples_BooleanNetwork1 -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.Blocks.Examples.BooleanNetwork1.o Modelica_3.2.2_-O1_Modelica.Blocks.Examples.BooleanNetwork1.c In file included from Modelica_3.2.2_-O1_Modelica.Blocks.Examples.BooleanNetwork1.c:2: ./Modelica_3.2.2_-O1_Modelica.Blocks.Examples.BooleanNetwork1_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Blocks_Examples_BooleanNetwork1__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Blocks.Examples.BooleanNetwork1_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Blocks_Examples_BooleanNetwork1__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_Modelica.Blocks.Examples.BooleanNetwork1.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.Blocks.Examples.BooleanNetwork1.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Blocks_Examples_BooleanNetwork1_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Blocks.Examples.BooleanNetwork1.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.Blocks.Examples.BooleanNetwork1.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Blocks_Examples_BooleanNetwork1_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Blocks.Examples.BooleanNetwork1.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.Blocks.Examples.BooleanNetwork1.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Blocks_Examples_BooleanNetwork1_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.Blocks.Examples.BooleanNetwork1.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Blocks_Examples_BooleanNetwork1_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Blocks.Examples.BooleanNetwork1.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.Blocks.Examples.BooleanNetwork1.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Blocks_Examples_BooleanNetwork1_performSimulation ^ In file included from Modelica_3.2.2_-O1_Modelica.Blocks.Examples.BooleanNetwork1.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.Blocks.Examples.BooleanNetwork1.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Blocks_Examples_BooleanNetwork1_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.Blocks.Examples.BooleanNetwork1.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Blocks_Examples_BooleanNetwork1_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Blocks.Examples.BooleanNetwork1.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.Blocks.Examples.BooleanNetwork1.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Blocks_Examples_BooleanNetwork1_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.Blocks.Examples.BooleanNetwork1.c:18:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int Modelica_3_2_2_-O1_Modelica_Blocks_Examples_BooleanNetwork1_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.Blocks.Examples.BooleanNetwork1.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Blocks_Examples_BooleanNetwork1_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Blocks.Examples.BooleanNetwork1.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Blocks_Examples_BooleanNetwork1_input_function(DATA *data, threadData_t *threadData) ^ ; In file included from Modelica_3.2.2_-O1_Modelica.Blocks.Examples.BooleanNetwork1.c:711: ./Modelica_3.2.2_-O1_Modelica.Blocks.Examples.BooleanNetwork1_12jac.h:7:26: warning: ISO C99 requires whitespace after the macro name [-Wc99-extensions] #define Modelica_3_2_2_-O1_Modelica_Blocks_Examples_BooleanNetwork1_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O1_Modelica.Blocks.Examples.BooleanNetwork1_12jac.h:8:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Blocks_Examples_BooleanNetwork1_functionJacA_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Blocks.Examples.BooleanNetwork1_12jac.h:7:26: note: expanded from macro 'Modelica_3_2_2_' ./Modelica_3.2.2_-O1_Modelica.Blocks.Examples.BooleanNetwork1_12jac.h:9:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Blocks_Examples_BooleanNetwork1_initialAnalyticJacobianA(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Blocks.Examples.BooleanNetwork1_12jac.h:7:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_Modelica_Blocks_Examples_BooleanNetwork1_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O1_Modelica.Blocks.Examples.BooleanNetwork1_12jac.h:18:26: warning: ISO C99 requires whitespace after the macro name [-Wc99-extensions] #define Modelica_3_2_2_-O1_Modelica_Blocks_Examples_BooleanNetwork1_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Blocks.Examples.BooleanNetwork1_12jac.h:18:11: warning: 'Modelica_3_2_2_' macro redefined [-Wmacro-redefined] #define Modelica_3_2_2_-O1_Modelica_Blocks_Examples_BooleanNetwork1_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Blocks.Examples.BooleanNetwork1_12jac.h:7:11: note: previous definition is here #define Modelica_3_2_2_-O1_Modelica_Blocks_Examples_BooleanNetwork1_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O1_Modelica.Blocks.Examples.BooleanNetwork1_12jac.h:19:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Blocks_Examples_BooleanNetwork1_functionJacB_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Blocks.Examples.BooleanNetwork1_12jac.h:18:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_Modelica_Blocks_Examples_BooleanNetwork1_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Blocks.Examples.BooleanNetwork1_12jac.h:20:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Blocks_Examples_BooleanNetwork1_initialAnalyticJacobianB(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Blocks.Examples.BooleanNetwork1_12jac.h:18:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_Modelica_Blocks_Examples_BooleanNetwork1_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Blocks.Examples.BooleanNetwork1_12jac.h:29:26: warning: ISO C99 requires whitespace after the macro name [-Wc99-extensions] #define Modelica_3_2_2_-O1_Modelica_Blocks_Examples_BooleanNetwork1_INDEX_JAC_C 1 ^ ./Modelica_3.2.2_-O1_Modelica.Blocks.Examples.BooleanNetwork1_12jac.h:29:11: warning: 'Modelica_3_2_2_' macro redefined [-Wmacro-redefined] #define Modelica_3_2_2_-O1_Modelica_Blocks_Examples_BooleanNetwork1_INDEX_JAC_C 1 ^ ./Modelica_3.2.2_-O1_Modelica.Blocks.Examples.BooleanNetwork1_12jac.h:18:11: note: previous definition is here #define Modelica_3_2_2_-O1_Modelica_Blocks_Examples_BooleanNetwork1_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Blocks.Examples.BooleanNetwork1_12jac.h:30:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Blocks_Examples_BooleanNetwork1_functionJacC_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Blocks.Examples.BooleanNetwork1_12jac.h:29:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_Modelica_Blocks_Examples_BooleanNetwork1_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.Blocks.Examples.BooleanNetwork1.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Blocks.Examples.BooleanNetwork1.o] Error 1