Notification: Performance of loadModel(Modelica): time 1.495/1.495, allocations: 194.5 MB / 200.7 MB, free: 5.16 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.166e-05/1.18e-05, allocations: 1.5 kB / 247.4 MB, free: 4.707 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06126/0.06135, allocations: 44.36 MB / 291.7 MB, free: 9.266 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2359/0.2974, allocations: 80.24 MB / 372 MB, free: 7.012 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002056/0.2977, allocations: 88.25 kB / 372 MB, free: 6.996 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.09636/0.3941, allocations: 28.04 MB / 400.1 MB, free: 12.2 MB / 312.6 MB Notification: Performance of Transformations before backend: time 3.513e-05/0.3943, allocations: 15.66 kB / 400.1 MB, free: 12.2 MB / 312.6 MB Notification: Performance of Generate backend data structure: time 0.003335/0.3977, allocations: 1.095 MB / 401.2 MB, free: 11.45 MB / 312.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.3978, allocations: 13.38 kB / 401.2 MB, free: 11.45 MB / 312.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008783/0.4067, allocations: 0.7565 MB / 402 MB, free: 11.17 MB / 312.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001001/0.4077, allocations: 443.2 kB / 402.4 MB, free: 10.86 MB / 312.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.669e-05/0.4079, allocations: 34.97 kB / 402.4 MB, free: 10.86 MB / 312.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002896/0.4082, allocations: 60.66 kB / 402.5 MB, free: 10.86 MB / 312.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003043/0.4113, allocations: 1.016 MB / 403.5 MB, free: 10.78 MB / 312.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002546/0.414, allocations: 0.8851 MB / 404.4 MB, free: 10.55 MB / 312.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.665e-05/0.4142, allocations: 1.188 kB / 404.4 MB, free: 10.55 MB / 312.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001138/0.4143, allocations: 1.125 kB / 404.4 MB, free: 10.55 MB / 312.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.548e-05/0.4144, allocations: 26.75 kB / 404.4 MB, free: 10.55 MB / 312.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008625/0.4231, allocations: 4.381 MB / 408.8 MB, free: 6.988 MB / 312.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001326/0.4245, allocations: 0.6344 MB / 409.4 MB, free: 6.512 MB / 312.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005059/0.4252, allocations: 257.7 kB / 409.7 MB, free: 6.312 MB / 312.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003077/0.4255, allocations: 96.48 kB / 409.8 MB, free: 6.203 MB / 312.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.4256, allocations: 51.05 kB / 409.8 MB, free: 6.148 MB / 312.6 MB Notification: Performance of pre-optimization done (n=71): time 7.263e-06/0.4257, allocations: 0 / 409.8 MB, free: 6.148 MB / 312.6 MB Notification: Performance of matching and sorting (n=71): time 0.001909/0.4277, allocations: 0.554 MB / 410.4 MB, free: 5.586 MB / 312.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/0.4278, allocations: 111.5 kB / 410.5 MB, free: 5.453 MB / 312.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003477/0.4282, allocations: 255.1 kB / 410.7 MB, free: 5.195 MB / 312.6 MB Notification: Performance of collectPreVariables (initialization): time 4.798e-05/0.4283, allocations: 25.7 kB / 410.8 MB, free: 5.164 MB / 312.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001944/0.4286, allocations: 438 kB / 411.2 MB, free: 4.727 MB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001797/0.4288, allocations: 244.4 kB / 411.4 MB, free: 4.484 MB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.889e-05/0.4289, allocations: 3.938 kB / 411.4 MB, free: 4.48 MB / 312.6 MB Notification: Performance of setup shared object (initialization): time 0.000247/0.4292, allocations: 350.8 kB / 411.8 MB, free: 4.129 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000482/0.4297, allocations: 222 kB / 412 MB, free: 3.914 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000614/0.4304, allocations: 0.526 MB / 412.5 MB, free: 3.246 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001307/0.4318, allocations: 342.9 kB / 412.9 MB, free: 2.914 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.311e-06/0.4319, allocations: 4 kB / 412.9 MB, free: 2.91 MB / 312.6 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.00264/0.4346, allocations: 0.8277 MB / 413.7 MB, free: 2.074 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.4347, allocations: 4 kB / 413.7 MB, free: 2.07 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.802e-05/0.4347, allocations: 15.98 kB / 413.7 MB, free: 2.055 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.457e-05/0.4348, allocations: 20 kB / 413.7 MB, free: 2.035 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001237/0.4361, allocations: 232 kB / 414 MB, free: 1.809 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.34e-05/0.4362, allocations: 31.86 kB / 414 MB, free: 1.777 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008838/0.4372, allocations: 86.95 kB / 414.1 MB, free: 1.691 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/0.4373, allocations: 44 kB / 414.1 MB, free: 1.648 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 7.829e-05/0.4375, allocations: 75.28 kB / 414.2 MB, free: 1.574 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002013/0.4377, allocations: 47.44 kB / 414.2 MB, free: 1.527 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001955/0.4397, allocations: 0.6682 MB / 414.9 MB, free: 0.8555 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.334e-05/0.4398, allocations: 8 kB / 414.9 MB, free: 0.8477 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.311e-06/0.4399, allocations: 0 / 414.9 MB, free: 0.8477 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.229e-05/0.44, allocations: 11.92 kB / 414.9 MB, free: 0.8359 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003514/0.4435, allocations: 1.532 MB / 416.5 MB, free: 15.24 MB / 328.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-06/0.4437, allocations: 4 kB / 416.5 MB, free: 15.24 MB / 328.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001147/0.4449, allocations: 155.7 kB / 416.6 MB, free: 15.09 MB / 328.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.334e-05/0.445, allocations: 8 kB / 416.6 MB, free: 15.08 MB / 328.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.72e-05/0.4451, allocations: 4 kB / 416.6 MB, free: 15.07 MB / 328.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.451e-06/0.4452, allocations: 4 kB / 416.6 MB, free: 15.07 MB / 328.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.006e-06/0.4452, allocations: 7.938 kB / 416.6 MB, free: 15.06 MB / 328.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002166/0.4474, allocations: 1.141 MB / 417.8 MB, free: 13.89 MB / 328.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001675/0.4477, allocations: 128.5 kB / 417.9 MB, free: 13.75 MB / 328.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/0.4479, allocations: 3.906 kB / 417.9 MB, free: 13.75 MB / 328.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006659/0.4486, allocations: 15.98 kB / 417.9 MB, free: 13.73 MB / 328.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.4488, allocations: 40.59 kB / 418 MB, free: 13.69 MB / 328.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.86e-05/0.4489, allocations: 28.06 kB / 418 MB, free: 13.66 MB / 328.6 MB Notification: Performance of sort global known variables: time 0.0002297/0.4492, allocations: 179.1 kB / 418.2 MB, free: 13.48 MB / 328.6 MB Notification: Performance of remove unused functions: time 0.001206/0.4505, allocations: 231 kB / 418.4 MB, free: 13.26 MB / 328.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0003632/0.4509, allocations: 105.1 kB / 418.5 MB, free: 13.15 MB / 328.6 MB Notification: Performance of simCode: created initialization part: time 0.001266/0.4522, allocations: 0.6371 MB / 419.1 MB, free: 12.52 MB / 328.6 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.4523, allocations: 1.125 kB / 419.1 MB, free: 12.52 MB / 328.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0005414/0.4529, allocations: 298.4 kB / 419.4 MB, free: 12.23 MB / 328.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005448/0.4535, allocations: 25.02 kB / 419.4 MB, free: 12.2 MB / 328.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005455/0.459, allocations: 1.504 MB / 420.9 MB, free: 10.68 MB / 328.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007421/0.4599, allocations: 1.01 MB / 422 MB, free: 9.637 MB / 328.6 MB Notification: Performance of SimCode: time 2.375e-06/0.4599, allocations: 0 / 422 MB, free: 9.637 MB / 328.6 MB Notification: Performance of Templates: time 0.05035/0.5103, allocations: 6.816 MB / 428.8 MB, free: 2.848 MB / 328.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.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_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_-O1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.o Modelica_3.2.2_-O1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.c In file included from Modelica_3.2.2_-O1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.c:2: ./Modelica_3.2.2_-O1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer_performSimulation ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer_performQSSSimulation ^ Modelica_3.2.2_-O1_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_-O1_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_-O1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.c:1490:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer_eqFunction_123(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.c:1494:19: warning: implicit declaration of function 'O1_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer_eqFunction_124' is invalid in C99 [-Wimplicit-function-declaration] Modelica_3_2_2_-O1_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer_eqFunction_124(data, threadData); ^ Modelica_3.2.2_-O1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.c:1494:18: error: invalid operands to binary expression ('void' and 'int') Modelica_3_2_2_-O1_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer_eqFunction_124(data, threadData); ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Modelica_3.2.2_-O1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.c:1496:19: warning: implicit declaration of function 'O1_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer_eqFunction_123' is invalid in C99 [-Wimplicit-function-declaration] Modelica_3_2_2_-O1_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer_eqFunction_123(data, threadData); ^ Modelica_3.2.2_-O1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.c:1496:18: error: invalid operands to binary expression ('void' and 'int') Modelica_3_2_2_-O1_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer_eqFunction_123(data, threadData); ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Modelica_3.2.2_-O1_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_-O1_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer_functionODE(DATA *data, threadData_t *threadData) ^ Modelica_3.2.2_-O1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.c:1490:13: note: previous declaration is here extern void Modelica_3_2_2_-O1_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer_eqFunction_123(DATA* data, threadData_t *threadData); ^ Modelica_3.2.2_-O1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.c:1499:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer_functionODE(DATA *data, threadData_t *threadData) ^ ; In file included from Modelica_3.2.2_-O1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.c:1519: ./Modelica_3.2.2_-O1_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_-O1_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_-O1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.o] Error 1