Notification: Performance of loadModel(Modelica): time 1.561/1.561, allocations: 194.5 MB / 200.7 MB, free: 5.164 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.02e-05/1.027e-05, allocations: 2.75 kB / 247.4 MB, free: 4.656 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07836/0.07844, allocations: 44.36 MB / 291.8 MB, free: 9.219 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.264/0.3426, allocations: 77.22 MB / 369 MB, free: 7.027 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002178/0.3429, allocations: 71.45 kB / 369.1 MB, free: 7.023 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.08551/0.4285, allocations: 30.01 MB / 399.1 MB, free: 13.25 MB / 312.6 MB Notification: Performance of Transformations before backend: time 4.253e-05/0.4286, allocations: 13.91 kB / 399.1 MB, free: 13.25 MB / 312.6 MB Notification: Performance of Generate backend data structure: time 0.001768/0.4304, allocations: 1.324 MB / 400.4 MB, free: 12.16 MB / 312.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.4306, allocations: 9.344 kB / 400.4 MB, free: 12.16 MB / 312.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003356/0.431, allocations: 136.5 kB / 400.6 MB, free: 12.09 MB / 312.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001053/0.4321, allocations: 0.5164 MB / 401.1 MB, free: 11.74 MB / 312.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.432e-05/0.4322, allocations: 23.2 kB / 401.1 MB, free: 11.73 MB / 312.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/0.4324, allocations: 27.66 kB / 401.1 MB, free: 11.73 MB / 312.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008784/0.4333, allocations: 465.6 kB / 401.6 MB, free: 11.68 MB / 312.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001185/0.4346, allocations: 0.6083 MB / 402.2 MB, free: 11.52 MB / 312.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.4347, allocations: 0 / 402.2 MB, free: 11.52 MB / 312.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-05/0.4348, allocations: 9.688 kB / 402.2 MB, free: 11.52 MB / 312.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.918e-06/0.4349, allocations: 3.25 kB / 402.2 MB, free: 11.52 MB / 312.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003324/0.4383, allocations: 1.162 MB / 403.4 MB, free: 10.88 MB / 312.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001054/0.4395, allocations: 0.691 MB / 404.1 MB, free: 10.48 MB / 312.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009239/0.4405, allocations: 0.6767 MB / 404.7 MB, free: 10.1 MB / 312.6 MB Notification: Performance of preOpt evalFunc (simulation): time 1.152e-05/0.4406, allocations: 8 kB / 404.7 MB, free: 10.09 MB / 312.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009778/0.4416, allocations: 0.7059 MB / 405.4 MB, free: 9.504 MB / 312.6 MB Notification: Performance of pre-optimization done (n=33): time 4.47e-06/0.4417, allocations: 0 / 405.4 MB, free: 9.504 MB / 312.6 MB Notification: Performance of matching and sorting (n=33): time 0.001895/0.4436, allocations: 0.9542 MB / 406.4 MB, free: 8.754 MB / 312.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001729/0.4439, allocations: 332.5 kB / 406.7 MB, free: 8.391 MB / 312.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003587/0.4476, allocations: 1.578 MB / 408.3 MB, free: 7.082 MB / 312.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0001998/0.4479, allocations: 41.7 kB / 408.3 MB, free: 7.035 MB / 312.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.00017/0.4481, allocations: 156.2 kB / 408.5 MB, free: 6.898 MB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001677/0.4483, allocations: 73.42 kB / 408.6 MB, free: 6.836 MB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.375e-05/0.4484, allocations: 12 kB / 408.6 MB, free: 6.824 MB / 312.6 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.4487, allocations: 383.2 kB / 409 MB, free: 6.465 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007403/0.4495, allocations: 450.7 kB / 409.4 MB, free: 6.16 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007053/0.4502, allocations: 455.8 kB / 409.8 MB, free: 5.852 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004751/0.4508, allocations: 308.6 kB / 410.1 MB, free: 5.637 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.518e-06/0.4508, allocations: 3.906 kB / 410.1 MB, free: 5.633 MB / 312.6 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001793/0.4527, allocations: 0.9035 MB / 411 MB, free: 4.938 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.4528, allocations: 6.812 kB / 411.1 MB, free: 4.934 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.289e-06/0.4528, allocations: 0 / 411.1 MB, free: 4.934 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.4529, allocations: 0 / 411.1 MB, free: 4.934 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.164e-05/0.453, allocations: 4.562 kB / 411.1 MB, free: 4.93 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.588e-06/0.4531, allocations: 0 / 411.1 MB, free: 4.93 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006602/0.4538, allocations: 44.94 kB / 411.1 MB, free: 4.887 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001913/0.454, allocations: 126.9 kB / 411.2 MB, free: 4.766 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003336/0.4544, allocations: 385.3 kB / 411.6 MB, free: 4.367 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002698/0.4548, allocations: 134.4 kB / 411.7 MB, free: 4.234 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007975/0.4556, allocations: 249.4 kB / 412 MB, free: 4.012 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.683e-06/0.4557, allocations: 4 kB / 412 MB, free: 4.008 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.705e-06/0.4557, allocations: 0 / 412 MB, free: 4.008 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.657e-06/0.4558, allocations: 0 / 412 MB, free: 4.008 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00375/0.4596, allocations: 1.877 MB / 413.9 MB, free: 2.215 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.077e-06/0.4597, allocations: 3.938 kB / 413.9 MB, free: 2.211 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.067e-05/0.4598, allocations: 3.938 kB / 413.9 MB, free: 2.207 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.473e-06/0.4599, allocations: 0 / 413.9 MB, free: 2.207 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001073/0.46, allocations: 39.97 kB / 413.9 MB, free: 2.168 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.631e-06/0.4601, allocations: 0 / 413.9 MB, free: 2.168 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.26e-06/0.4601, allocations: 0 / 413.9 MB, free: 2.168 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001946/0.4621, allocations: 1.144 MB / 415.1 MB, free: 1.004 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001881/0.4641, allocations: 0.698 MB / 415.7 MB, free: 292 kB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003348/0.4645, allocations: 59.97 kB / 415.8 MB, free: 232 kB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006251/0.4652, allocations: 39.56 kB / 415.8 MB, free: 196 kB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008588/0.4661, allocations: 387.5 kB / 416.2 MB, free: 15.81 MB / 328.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000221/0.4664, allocations: 131.9 kB / 416.4 MB, free: 15.68 MB / 328.6 MB Notification: Performance of sort global known variables: time 0.003296/0.4698, allocations: 1.29 MB / 417.6 MB, free: 14.39 MB / 328.6 MB Notification: Performance of remove unused functions: time 0.0009598/0.4708, allocations: 128 kB / 417.8 MB, free: 14.27 MB / 328.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 8.388e-05/0.471, allocations: 73.53 kB / 417.8 MB, free: 14.19 MB / 328.6 MB Notification: Performance of simCode: created initialization part: time 0.002045/0.4731, allocations: 1.427 MB / 419.3 MB, free: 12.71 MB / 328.6 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.4732, allocations: 4 kB / 419.3 MB, free: 12.71 MB / 328.6 MB Notification: Performance of simCode: created simulation system equations: time 0.001553/0.4748, allocations: 1.22 MB / 420.5 MB, free: 11.44 MB / 328.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001674/0.4766, allocations: 294.8 kB / 420.8 MB, free: 11.16 MB / 328.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005391/0.4821, allocations: 2.52 MB / 423.3 MB, free: 8.609 MB / 328.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001424/0.4836, allocations: 1.246 MB / 424.5 MB, free: 7.336 MB / 328.6 MB Notification: Performance of SimCode: time 2.165e-06/0.4837, allocations: 0 / 424.5 MB, free: 7.336 MB / 328.6 MB Notification: Performance of Templates: time 0.08259/0.5663, allocations: 14.73 MB / 439.3 MB, free: 8.289 MB / 344.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRH.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_DLATREGSRH -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.DLATREGSRH.o Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRH.c In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRH.c:2: ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRH_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DLATREGSRH__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRH_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DLATREGSRH__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRH.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.DLATREGSRH.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DLATREGSRH_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRH.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.DLATREGSRH.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DLATREGSRH_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRH.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.DLATREGSRH.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DLATREGSRH_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.DLATREGSRH.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DLATREGSRH_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRH.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.DLATREGSRH.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DLATREGSRH_performSimulation ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRH.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.DLATREGSRH.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DLATREGSRH_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.DLATREGSRH.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DLATREGSRH_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRH.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.DLATREGSRH.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DLATREGSRH_performQSSSimulation ^ Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRH.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_DLATREGSRH_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.DLATREGSRH.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DLATREGSRH_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRH.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DLATREGSRH_input_function(DATA *data, threadData_t *threadData) ^ ; In file included from Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRH.c:979: ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRH_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_DLATREGSRH_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRH_12jac.h:8:7: error: expected identifier or '(' int Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DLATREGSRH_functionJacA_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRH_12jac.h:7:26: note: expanded from macro 'Modelica_3_2_2_' ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRH_12jac.h:9:7: error: expected identifier or '(' int Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DLATREGSRH_initialAnalyticJacobianA(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRH_12jac.h:7:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DLATREGSRH_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRH_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_DLATREGSRH_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRH_12jac.h:18:11: warning: 'Modelica_3_2_2_' macro redefined [-Wmacro-redefined] #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DLATREGSRH_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRH_12jac.h:7:11: note: previous definition is here #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DLATREGSRH_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRH_12jac.h:19:7: error: expected identifier or '(' int Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DLATREGSRH_functionJacB_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRH_12jac.h:18:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DLATREGSRH_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRH_12jac.h:20:7: error: expected identifier or '(' int Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DLATREGSRH_initialAnalyticJacobianB(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRH_12jac.h:18:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DLATREGSRH_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRH_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_DLATREGSRH_INDEX_JAC_C 1 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRH_12jac.h:29:11: warning: 'Modelica_3_2_2_' macro redefined [-Wmacro-redefined] #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DLATREGSRH_INDEX_JAC_C 1 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRH_12jac.h:18:11: note: previous definition is here #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DLATREGSRH_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRH_12jac.h:30:7: error: expected identifier or '(' int Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DLATREGSRH_functionJacC_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRH_12jac.h:29:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O2_Modelica_Electrical_Digital_Examples_DLATREGSRH_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.DLATREGSRH.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Electrical.Digital.Examples.DLATREGSRH.o] Error 1