Notification: Performance of loadModel(Modelica): time 1.575/1.575, allocations: 194.5 MB / 200.7 MB, free: 5.172 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.111e-05/1.124e-05, allocations: 1 kB / 247.4 MB, free: 4.699 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06439/0.06448, allocations: 44.35 MB / 291.7 MB, free: 9.285 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2307/0.2953, allocations: 80.24 MB / 372 MB, free: 7.102 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002081/0.2956, allocations: 91.69 kB / 372 MB, free: 7.086 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.09756/0.3932, allocations: 28.04 MB / 400.1 MB, free: 12.29 MB / 312.6 MB Notification: Performance of Transformations before backend: time 3.401e-05/0.3934, allocations: 16.12 kB / 400.1 MB, free: 12.29 MB / 312.6 MB Notification: Performance of Generate backend data structure: time 0.003195/0.3966, allocations: 1.086 MB / 401.2 MB, free: 11.54 MB / 312.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.3968, allocations: 14.11 kB / 401.2 MB, free: 11.54 MB / 312.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00904/0.4059, allocations: 0.7548 MB / 402 MB, free: 11.26 MB / 312.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009286/0.4069, allocations: 437 kB / 402.4 MB, free: 10.95 MB / 312.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.955e-05/0.4071, allocations: 42.39 kB / 402.4 MB, free: 10.95 MB / 312.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002504/0.4074, allocations: 65.69 kB / 402.5 MB, free: 10.94 MB / 312.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002854/0.4103, allocations: 1.017 MB / 403.5 MB, free: 10.86 MB / 312.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002294/0.4127, allocations: 0.8888 MB / 404.4 MB, free: 10.63 MB / 312.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.407e-05/0.4128, allocations: 4.125 kB / 404.4 MB, free: 10.63 MB / 312.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001167/0.413, allocations: 0 / 404.4 MB, free: 10.63 MB / 312.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.862e-05/0.4131, allocations: 26.5 kB / 404.4 MB, free: 10.63 MB / 312.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007816/0.421, allocations: 4.381 MB / 408.8 MB, free: 7.008 MB / 312.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001205/0.4223, allocations: 0.6362 MB / 409.4 MB, free: 6.531 MB / 312.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004675/0.4228, allocations: 250.7 kB / 409.7 MB, free: 6.359 MB / 312.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001108/0.423, allocations: 105.6 kB / 409.8 MB, free: 6.242 MB / 312.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.403e-05/0.4231, allocations: 43.22 kB / 409.8 MB, free: 6.191 MB / 312.6 MB Notification: Performance of pre-optimization done (n=71): time 4.54e-06/0.4231, allocations: 4 kB / 409.8 MB, free: 6.188 MB / 312.6 MB Notification: Performance of matching and sorting (n=71): time 0.001754/0.4249, allocations: 0.5462 MB / 410.4 MB, free: 5.633 MB / 312.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002081/0.4252, allocations: 111.5 kB / 410.5 MB, free: 5.5 MB / 312.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003118/0.4256, allocations: 263.1 kB / 410.7 MB, free: 5.234 MB / 312.6 MB Notification: Performance of collectPreVariables (initialization): time 4.449e-05/0.4257, allocations: 29.77 kB / 410.8 MB, free: 5.199 MB / 312.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001615/0.4259, allocations: 429.9 kB / 411.2 MB, free: 4.77 MB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001511/0.4261, allocations: 244.3 kB / 411.4 MB, free: 4.527 MB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.748e-05/0.4262, allocations: 0 / 411.4 MB, free: 4.527 MB / 312.6 MB Notification: Performance of setup shared object (initialization): time 7.515e-05/0.4263, allocations: 354.8 kB / 411.8 MB, free: 4.172 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004621/0.4269, allocations: 218 kB / 412 MB, free: 3.961 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007565/0.4277, allocations: 0.53 MB / 412.5 MB, free: 3.289 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001255/0.429, allocations: 342.9 kB / 412.9 MB, free: 2.957 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.848e-06/0.4291, allocations: 4 kB / 412.9 MB, free: 2.953 MB / 312.6 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002258/0.4314, allocations: 0.8314 MB / 413.7 MB, free: 2.113 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.4315, allocations: 4 kB / 413.7 MB, free: 2.109 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.718e-05/0.4315, allocations: 12 kB / 413.7 MB, free: 2.098 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.276e-05/0.4316, allocations: 19.94 kB / 413.7 MB, free: 2.078 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001169/0.4328, allocations: 240.2 kB / 414 MB, free: 1.844 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.368e-05/0.4329, allocations: 19.92 kB / 414 MB, free: 1.824 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007663/0.4338, allocations: 82.97 kB / 414.1 MB, free: 1.742 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.444e-05/0.4339, allocations: 51.98 kB / 414.1 MB, free: 1.691 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 6.279e-05/0.434, allocations: 75.28 kB / 414.2 MB, free: 1.617 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001787/0.4343, allocations: 47.44 kB / 414.2 MB, free: 1.57 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001998/0.4363, allocations: 0.6643 MB / 414.9 MB, free: 0.9023 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-05/0.4364, allocations: 12 kB / 414.9 MB, free: 0.8906 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.543e-06/0.4365, allocations: 0 / 414.9 MB, free: 0.8906 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.327e-05/0.4365, allocations: 3.984 kB / 414.9 MB, free: 0.8867 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003434/0.44, allocations: 1.535 MB / 416.4 MB, free: 15.29 MB / 328.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.845e-06/0.4401, allocations: 0 / 416.4 MB, free: 15.29 MB / 328.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009657/0.4411, allocations: 159.7 kB / 416.6 MB, free: 15.13 MB / 328.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.446e-05/0.4412, allocations: 7.938 kB / 416.6 MB, free: 15.12 MB / 328.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-05/0.4413, allocations: 8 kB / 416.6 MB, free: 15.12 MB / 328.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.171e-06/0.4414, allocations: 4 kB / 416.6 MB, free: 15.11 MB / 328.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.146e-06/0.4414, allocations: 4 kB / 416.6 MB, free: 15.11 MB / 328.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002356/0.4439, allocations: 1.137 MB / 417.8 MB, free: 13.95 MB / 328.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001233/0.4441, allocations: 128.5 kB / 417.9 MB, free: 13.8 MB / 328.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001063/0.4442, allocations: 7.906 kB / 417.9 MB, free: 13.79 MB / 328.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006246/0.4449, allocations: 12 kB / 417.9 MB, free: 13.78 MB / 328.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.4451, allocations: 48.58 kB / 418 MB, free: 13.73 MB / 328.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.336e-05/0.4452, allocations: 23.94 kB / 418 MB, free: 13.71 MB / 328.6 MB Notification: Performance of sort global known variables: time 0.0001989/0.4454, allocations: 179.1 kB / 418.2 MB, free: 13.53 MB / 328.6 MB Notification: Performance of remove unused functions: time 0.001085/0.4466, allocations: 231 kB / 418.4 MB, free: 13.3 MB / 328.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0001757/0.4468, allocations: 109 kB / 418.5 MB, free: 13.2 MB / 328.6 MB Notification: Performance of simCode: created initialization part: time 0.001214/0.4481, allocations: 0.6299 MB / 419.1 MB, free: 12.57 MB / 328.6 MB Notification: Performance of simCode: created event and clocks part: time 3.911e-06/0.4482, allocations: 0.5 kB / 419.1 MB, free: 12.57 MB / 328.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0006732/0.4489, allocations: 302.3 kB / 419.4 MB, free: 12.28 MB / 328.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004901/0.4495, allocations: 28.83 kB / 419.4 MB, free: 12.25 MB / 328.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004927/0.4544, allocations: 1.499 MB / 420.9 MB, free: 10.73 MB / 328.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008741/0.4554, allocations: 1.006 MB / 421.9 MB, free: 9.691 MB / 328.6 MB Notification: Performance of SimCode: time 2.444e-06/0.4555, allocations: 0 / 421.9 MB, free: 9.691 MB / 328.6 MB Notification: Performance of Templates: time 0.04138/0.4969, allocations: 6.833 MB / 428.8 MB, free: 2.883 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