Notification: Performance of loadModel(Modelica): time 1.489/1.489, allocations: 194.5 MB / 200.7 MB, free: 5.164 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 8.591e-06/1.418e-05, allocations: 1.125 kB / 247.4 MB, free: 4.707 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06196/0.06205, allocations: 44.36 MB / 291.7 MB, free: 9.273 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2327/0.2949, allocations: 80.24 MB / 372 MB, free: 6.93 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002511/0.2953, allocations: 89.91 kB / 372 MB, free: 6.914 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.09826/0.3936, allocations: 28.04 MB / 400.1 MB, free: 12.1 MB / 312.6 MB Notification: Performance of Transformations before backend: time 3.331e-05/0.3938, allocations: 15.41 kB / 400.1 MB, free: 12.1 MB / 312.6 MB Notification: Performance of Generate backend data structure: time 0.003538/0.3974, allocations: 1.087 MB / 401.2 MB, free: 11.36 MB / 312.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.3975, allocations: 8.031 kB / 401.2 MB, free: 11.36 MB / 312.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00891/0.4065, allocations: 0.7581 MB / 402 MB, free: 11.08 MB / 312.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001198/0.4078, allocations: 443.1 kB / 402.4 MB, free: 10.77 MB / 312.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.352e-05/0.408, allocations: 39.22 kB / 402.4 MB, free: 10.76 MB / 312.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002858/0.4083, allocations: 61.09 kB / 402.5 MB, free: 10.76 MB / 312.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00306/0.4114, allocations: 1.016 MB / 403.5 MB, free: 10.68 MB / 312.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002561/0.4141, allocations: 0.8865 MB / 404.4 MB, free: 10.45 MB / 312.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.526e-05/0.4142, allocations: 5.344 kB / 404.4 MB, free: 10.45 MB / 312.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000114/0.4144, allocations: 1.375 kB / 404.4 MB, free: 10.45 MB / 312.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.184e-05/0.4145, allocations: 26.41 kB / 404.4 MB, free: 10.45 MB / 312.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008369/0.4229, allocations: 4.378 MB / 408.8 MB, free: 6.973 MB / 312.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001567/0.4246, allocations: 0.6397 MB / 409.4 MB, free: 6.492 MB / 312.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000505/0.4252, allocations: 248.7 kB / 409.7 MB, free: 6.297 MB / 312.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001414/0.4255, allocations: 109.1 kB / 409.8 MB, free: 6.176 MB / 312.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.4256, allocations: 39.22 kB / 409.8 MB, free: 6.129 MB / 312.6 MB Notification: Performance of pre-optimization done (n=71): time 6.845e-06/0.4256, allocations: 0 / 409.8 MB, free: 6.129 MB / 312.6 MB Notification: Performance of matching and sorting (n=71): time 0.001843/0.4275, allocations: 0.554 MB / 410.4 MB, free: 5.566 MB / 312.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.632e-05/0.4276, allocations: 111.5 kB / 410.5 MB, free: 5.434 MB / 312.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003566/0.4281, allocations: 263.2 kB / 410.7 MB, free: 5.168 MB / 312.6 MB Notification: Performance of collectPreVariables (initialization): time 5.35e-05/0.4282, allocations: 25.7 kB / 410.8 MB, free: 5.137 MB / 312.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.000379/0.4286, allocations: 433.9 kB / 411.2 MB, free: 4.703 MB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001761/0.4288, allocations: 236.4 kB / 411.4 MB, free: 4.469 MB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.238e-05/0.4289, allocations: 0 / 411.4 MB, free: 4.469 MB / 312.6 MB Notification: Performance of setup shared object (initialization): time 8.018e-05/0.4291, allocations: 354.8 kB / 411.8 MB, free: 4.113 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004813/0.4296, allocations: 222 kB / 412 MB, free: 3.898 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000608/0.4303, allocations: 0.5299 MB / 412.5 MB, free: 3.227 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001294/0.4316, allocations: 342.9 kB / 412.9 MB, free: 2.895 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.639e-06/0.4317, allocations: 4 kB / 412.9 MB, free: 2.891 MB / 312.6 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002619/0.4344, allocations: 0.8314 MB / 413.7 MB, free: 2.051 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.4345, allocations: 7.938 kB / 413.7 MB, free: 2.043 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.949e-05/0.4346, allocations: 15.98 kB / 413.7 MB, free: 2.027 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.723e-05/0.4347, allocations: 16 kB / 413.7 MB, free: 2.012 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00125/0.436, allocations: 240.3 kB / 414 MB, free: 1.777 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.877e-05/0.4361, allocations: 19.94 kB / 414 MB, free: 1.758 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008684/0.437, allocations: 86.95 kB / 414.1 MB, free: 1.672 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.436e-05/0.4372, allocations: 44 kB / 414.1 MB, free: 1.629 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 7.934e-05/0.4373, allocations: 83.27 kB / 414.2 MB, free: 1.547 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001982/0.4376, allocations: 51.38 kB / 414.2 MB, free: 1.496 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001949/0.4396, allocations: 0.6643 MB / 414.9 MB, free: 0.8281 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.571e-05/0.4397, allocations: 8 kB / 414.9 MB, free: 0.8203 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.66e-06/0.4397, allocations: 0 / 414.9 MB, free: 0.8203 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.292e-05/0.4398, allocations: 3.984 kB / 414.9 MB, free: 0.8164 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003777/0.4436, allocations: 1.531 MB / 416.4 MB, free: 15.22 MB / 328.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.09e-05/0.4438, allocations: 4 kB / 416.4 MB, free: 15.22 MB / 328.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009913/0.4448, allocations: 155.8 kB / 416.6 MB, free: 15.07 MB / 328.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.627e-05/0.4449, allocations: 7.906 kB / 416.6 MB, free: 15.06 MB / 328.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.902e-05/0.445, allocations: 7.984 kB / 416.6 MB, free: 15.05 MB / 328.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.089e-05/0.4451, allocations: 7.938 kB / 416.6 MB, free: 15.04 MB / 328.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.867e-06/0.4452, allocations: 0 / 416.6 MB, free: 15.04 MB / 328.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002337/0.4476, allocations: 1.141 MB / 417.8 MB, free: 13.88 MB / 328.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003341/0.448, allocations: 124.5 kB / 417.9 MB, free: 13.73 MB / 328.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/0.4482, allocations: 3.906 kB / 417.9 MB, free: 13.73 MB / 328.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006718/0.4489, allocations: 15.98 kB / 417.9 MB, free: 13.71 MB / 328.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.4491, allocations: 44.66 kB / 417.9 MB, free: 13.67 MB / 328.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.797e-05/0.4492, allocations: 27.98 kB / 418 MB, free: 13.64 MB / 328.6 MB Notification: Performance of sort global known variables: time 0.0002125/0.4495, allocations: 179.1 kB / 418.2 MB, free: 13.46 MB / 328.6 MB Notification: Performance of remove unused functions: time 0.001171/0.4507, allocations: 227 kB / 418.4 MB, free: 13.24 MB / 328.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0001964/0.451, allocations: 112.8 kB / 418.5 MB, free: 13.13 MB / 328.6 MB Notification: Performance of simCode: created initialization part: time 0.001254/0.4523, allocations: 0.6301 MB / 419.1 MB, free: 12.5 MB / 328.6 MB Notification: Performance of simCode: created event and clocks part: time 6.216e-06/0.4524, allocations: 8.312 kB / 419.1 MB, free: 12.5 MB / 328.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0005373/0.453, allocations: 298.4 kB / 419.4 MB, free: 12.21 MB / 328.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005727/0.4536, allocations: 20.97 kB / 419.4 MB, free: 12.18 MB / 328.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005476/0.4592, allocations: 1.505 MB / 420.9 MB, free: 10.66 MB / 328.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009387/0.4602, allocations: 1.009 MB / 421.9 MB, free: 9.617 MB / 328.6 MB Notification: Performance of SimCode: time 2.444e-06/0.4603, allocations: 4 kB / 422 MB, free: 9.613 MB / 328.6 MB Notification: Performance of Templates: time 0.04492/0.5053, allocations: 6.824 MB / 428.8 MB, free: 2.805 MB / 328.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.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_QuasiStationary_SinglePhase_Examples_Transformer -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.QuasiStationary.SinglePhase.Examples.Transformer.o Modelica_3.2.2_-O2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.c In file included from Modelica_3.2.2_-O2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.c:2: ./Modelica_3.2.2_-O2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.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.QuasiStationary.SinglePhase.Examples.Transformer.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.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.QuasiStationary.SinglePhase.Examples.Transformer.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.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.QuasiStationary.SinglePhase.Examples.Transformer.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer_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.QuasiStationary.SinglePhase.Examples.Transformer.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.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.QuasiStationary.SinglePhase.Examples.Transformer.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer_performSimulation ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.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.QuasiStationary.SinglePhase.Examples.Transformer.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer_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.QuasiStationary.SinglePhase.Examples.Transformer.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.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.QuasiStationary.SinglePhase.Examples.Transformer.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer_performQSSSimulation ^ Modelica_3.2.2_-O2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.c:18:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int Modelica_3_2_2_-O2_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer_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.QuasiStationary.SinglePhase.Examples.Transformer.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.c:1490:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer_eqFunction_123(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.c:1494:19: warning: implicit declaration of function 'O2_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer_eqFunction_124' is invalid in C99 [-Wimplicit-function-declaration] Modelica_3_2_2_-O2_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer_eqFunction_124(data, threadData); ^ Modelica_3.2.2_-O2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.c:1494:18: error: invalid operands to binary expression ('void' and 'int') Modelica_3_2_2_-O2_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer_eqFunction_124(data, threadData); ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Modelica_3.2.2_-O2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.c:1496:19: warning: implicit declaration of function 'O2_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer_eqFunction_123' is invalid in C99 [-Wimplicit-function-declaration] Modelica_3_2_2_-O2_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer_eqFunction_123(data, threadData); ^ Modelica_3.2.2_-O2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.c:1496:18: error: invalid operands to binary expression ('void' and 'int') Modelica_3_2_2_-O2_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer_eqFunction_123(data, threadData); ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Modelica_3.2.2_-O2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.c:1499:5: error: redefinition of 'Modelica_3_2_2_' with a different type: 'int' vs 'void' int Modelica_3_2_2_-O2_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer_functionODE(DATA *data, threadData_t *threadData) ^ Modelica_3.2.2_-O2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.c:1490:13: note: previous declaration is here extern void Modelica_3_2_2_-O2_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer_eqFunction_123(DATA* data, threadData_t *threadData); ^ Modelica_3.2.2_-O2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.c:1499:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer_functionODE(DATA *data, threadData_t *threadData) ^ ; In file included from Modelica_3.2.2_-O2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.c:1519: ./Modelica_3.2.2_-O2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer_12jac.h:7:26: warning: ISO C99 requires whitespace after the macro name [-Wc99-extensions] #define Modelica_3_2_2_-O2_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer_INDEX_JAC_A 3 ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 9 warnings and 20 errors generated. : recipe for target 'Modelica_3.2.2_-O2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.o] Error 1