Notification: Performance of loadModel(Modelica): time 1.514/1.514, allocations: 194.5 MB / 200.7 MB, free: 5.172 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.034e-05/1.048e-05, allocations: 2.219 kB / 247.4 MB, free: 4.602 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06214/0.06222, allocations: 44.36 MB / 291.8 MB, free: 9.207 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2294/0.2918, allocations: 77.67 MB / 369.5 MB, free: 7.137 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002197/0.2921, allocations: 73.89 kB / 369.5 MB, free: 7.133 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.1284/0.4205, allocations: 42.13 MB / 411.7 MB, free: 5.836 MB / 312.6 MB Notification: Performance of Transformations before backend: time 2.032e-05/0.4207, allocations: 8 kB / 411.7 MB, free: 5.828 MB / 312.6 MB Notification: Performance of Generate backend data structure: time 0.001062/0.4218, allocations: 0.9434 MB / 412.6 MB, free: 4.785 MB / 312.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.009e-05/0.4219, allocations: 8.031 kB / 412.6 MB, free: 4.777 MB / 312.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001838/0.4221, allocations: 79.06 kB / 412.7 MB, free: 4.699 MB / 312.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000586/0.4228, allocations: 382.8 kB / 413.1 MB, free: 4.305 MB / 312.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.792e-05/0.4229, allocations: 8 kB / 413.1 MB, free: 4.297 MB / 312.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.779e-05/0.423, allocations: 20 kB / 413.1 MB, free: 4.277 MB / 312.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003505/0.4234, allocations: 140.3 kB / 413.2 MB, free: 4.137 MB / 312.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005566/0.4241, allocations: 279 kB / 413.5 MB, free: 3.859 MB / 312.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.4241, allocations: 0 / 413.5 MB, free: 3.859 MB / 312.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.263e-05/0.4243, allocations: 8 kB / 413.5 MB, free: 3.852 MB / 312.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.333e-06/0.4243, allocations: 4 kB / 413.5 MB, free: 3.848 MB / 312.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001813/0.4262, allocations: 0.7544 MB / 414.3 MB, free: 3.062 MB / 312.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003723/0.4266, allocations: 198.5 kB / 414.5 MB, free: 2.859 MB / 312.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003124/0.427, allocations: 184.7 kB / 414.6 MB, free: 2.676 MB / 312.6 MB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/0.4271, allocations: 7.906 kB / 414.7 MB, free: 2.668 MB / 312.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004749/0.4276, allocations: 385.9 kB / 415 MB, free: 2.254 MB / 312.6 MB Notification: Performance of pre-optimization done (n=29): time 4.61e-06/0.4277, allocations: 0 / 415 MB, free: 2.254 MB / 312.6 MB Notification: Performance of matching and sorting (n=29): time 0.0009542/0.4287, allocations: 448.7 kB / 415.5 MB, free: 1.809 MB / 312.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.856e-05/0.4289, allocations: 284.9 kB / 415.8 MB, free: 1.469 MB / 312.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001529/0.4305, allocations: 0.7923 MB / 416.5 MB, free: 0.6719 MB / 312.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0001056/0.4307, allocations: 37.7 kB / 416.6 MB, free: 0.6289 MB / 312.6 MB Notification: Performance of collectInitialEqns (initialization): time 7.669e-05/0.4308, allocations: 106 kB / 416.7 MB, free: 0.5195 MB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001246/0.431, allocations: 67.27 kB / 416.7 MB, free: 464 kB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.23e-05/0.4311, allocations: 4 kB / 416.8 MB, free: 460 kB / 312.6 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.4313, allocations: 342.7 kB / 417.1 MB, free: 108 kB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003498/0.4317, allocations: 132.2 kB / 417.2 MB, free: 15.98 MB / 328.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003479/0.4321, allocations: 154.2 kB / 417.4 MB, free: 15.82 MB / 328.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002989/0.4325, allocations: 119.9 kB / 417.5 MB, free: 15.7 MB / 328.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.123e-06/0.4325, allocations: 0 / 417.5 MB, free: 15.7 MB / 328.6 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009971/0.4336, allocations: 425 kB / 417.9 MB, free: 15.28 MB / 328.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/0.4337, allocations: 7.984 kB / 417.9 MB, free: 15.27 MB / 328.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.4338, allocations: 4 kB / 417.9 MB, free: 15.27 MB / 328.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.4338, allocations: 0 / 417.9 MB, free: 15.27 MB / 328.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.218e-05/0.4339, allocations: 4 kB / 417.9 MB, free: 15.27 MB / 328.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.8e-06/0.434, allocations: 4 kB / 417.9 MB, free: 15.26 MB / 328.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000445/0.4345, allocations: 31.86 kB / 417.9 MB, free: 15.23 MB / 328.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003215/0.4349, allocations: 263.8 kB / 418.2 MB, free: 14.97 MB / 328.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003103/0.4352, allocations: 332.6 kB / 418.5 MB, free: 14.6 MB / 328.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001923/0.4355, allocations: 79.06 kB / 418.6 MB, free: 14.52 MB / 328.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005962/0.4362, allocations: 126.9 kB / 418.7 MB, free: 14.4 MB / 328.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.705e-06/0.4362, allocations: 4 kB / 418.7 MB, free: 14.39 MB / 328.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.635e-06/0.4363, allocations: 0 / 418.7 MB, free: 14.39 MB / 328.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.076e-06/0.4363, allocations: 0 / 418.7 MB, free: 14.39 MB / 328.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001836/0.4382, allocations: 1.014 MB / 419.8 MB, free: 13.34 MB / 328.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.797e-06/0.4383, allocations: 4 kB / 419.8 MB, free: 13.34 MB / 328.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.822e-05/0.4384, allocations: 4 kB / 419.8 MB, free: 13.33 MB / 328.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.124e-06/0.4385, allocations: 0 / 419.8 MB, free: 13.33 MB / 328.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-05/0.4386, allocations: 43.97 kB / 419.8 MB, free: 13.29 MB / 328.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.914e-06/0.4387, allocations: 3.984 kB / 419.8 MB, free: 13.29 MB / 328.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.981e-06/0.4387, allocations: 7.938 kB / 419.8 MB, free: 13.28 MB / 328.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001023/0.4398, allocations: 0.5805 MB / 420.4 MB, free: 12.68 MB / 328.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001122/0.441, allocations: 443.7 kB / 420.8 MB, free: 12.23 MB / 328.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002053/0.4413, allocations: 24 kB / 420.9 MB, free: 12.2 MB / 328.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004705/0.4418, allocations: 27.97 kB / 420.9 MB, free: 12.18 MB / 328.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002376/0.4421, allocations: 63.92 kB / 420.9 MB, free: 12.11 MB / 328.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002715/0.4425, allocations: 267.5 kB / 421.2 MB, free: 11.85 MB / 328.6 MB Notification: Performance of sort global known variables: time 0.001118/0.4436, allocations: 0.6626 MB / 421.9 MB, free: 11.19 MB / 328.6 MB Notification: Performance of remove unused functions: time 0.000646/0.4443, allocations: 76 kB / 421.9 MB, free: 11.12 MB / 328.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 6.831e-05/0.4445, allocations: 69.55 kB / 422 MB, free: 11.04 MB / 328.6 MB Notification: Performance of simCode: created initialization part: time 0.0008905/0.4454, allocations: 0.56 MB / 422.6 MB, free: 10.43 MB / 328.6 MB Notification: Performance of simCode: created event and clocks part: time 3.772e-06/0.4455, allocations: 0 / 422.6 MB, free: 10.43 MB / 328.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0007291/0.4463, allocations: 0.5406 MB / 423.1 MB, free: 9.844 MB / 328.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001256/0.4476, allocations: 225.5 kB / 423.3 MB, free: 9.629 MB / 328.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002359/0.45, allocations: 1.057 MB / 424.4 MB, free: 8.535 MB / 328.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000979/0.4511, allocations: 1.037 MB / 425.4 MB, free: 7.469 MB / 328.6 MB Notification: Performance of SimCode: time 2.723e-06/0.4512, allocations: 0 / 425.4 MB, free: 7.469 MB / 328.6 MB Notification: Performance of Templates: time 0.0496/0.5009, allocations: 12.01 MB / 437.4 MB, free: 11.26 MB / 344.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.WiredX.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_Digital_Examples_WiredX -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.Electrical.Digital.Examples.WiredX.o Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.WiredX.c In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.WiredX.c:2: ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.WiredX_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_WiredX__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.WiredX_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_WiredX__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.WiredX.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.Digital.Examples.WiredX.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_WiredX_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.WiredX.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.Digital.Examples.WiredX.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_WiredX_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.WiredX.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.Digital.Examples.WiredX.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_WiredX_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.Digital.Examples.WiredX.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_WiredX_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.WiredX.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.Digital.Examples.WiredX.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_WiredX_performSimulation ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.WiredX.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.Digital.Examples.WiredX.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_WiredX_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.Digital.Examples.WiredX.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_WiredX_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.WiredX.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.Digital.Examples.WiredX.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_WiredX_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.WiredX.c:18:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_WiredX_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.Digital.Examples.WiredX.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_WiredX_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.WiredX.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_WiredX_input_function(DATA *data, threadData_t *threadData) ^ ; In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.WiredX.c:1039: ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.WiredX_12jac.h:7:26: warning: ISO C99 requires whitespace after the macro name [-Wc99-extensions] #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_WiredX_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.WiredX_12jac.h:8:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_WiredX_functionJacA_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.WiredX_12jac.h:7:26: note: expanded from macro 'Modelica_3_2_2_' ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.WiredX_12jac.h:9:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_WiredX_initialAnalyticJacobianA(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.WiredX_12jac.h:7:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_WiredX_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.WiredX_12jac.h:18:26: warning: ISO C99 requires whitespace after the macro name [-Wc99-extensions] #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_WiredX_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.WiredX_12jac.h:18:11: warning: 'Modelica_3_2_2_' macro redefined [-Wmacro-redefined] #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_WiredX_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.WiredX_12jac.h:7:11: note: previous definition is here #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_WiredX_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.WiredX_12jac.h:19:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_WiredX_functionJacB_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.WiredX_12jac.h:18:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_WiredX_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.WiredX_12jac.h:20:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_WiredX_initialAnalyticJacobianB(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.WiredX_12jac.h:18:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_WiredX_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.WiredX_12jac.h:29:26: warning: ISO C99 requires whitespace after the macro name [-Wc99-extensions] #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_WiredX_INDEX_JAC_C 1 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.WiredX_12jac.h:29:11: warning: 'Modelica_3_2_2_' macro redefined [-Wmacro-redefined] #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_WiredX_INDEX_JAC_C 1 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.WiredX_12jac.h:18:11: note: previous definition is here #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_WiredX_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.WiredX_12jac.h:30:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_WiredX_functionJacC_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.WiredX_12jac.h:29:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_Modelica_Electrical_Digital_Examples_WiredX_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.Electrical.Digital.Examples.WiredX.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Electrical.Digital.Examples.WiredX.o] Error 1