Notification: Performance of loadModel(Modelica): time 1.479/1.479, allocations: 194.5 MB / 200.7 MB, free: 5.16 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 8.73e-06/8.73e-06, allocations: 1.344 kB / 247.3 MB, free: 4.715 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06322/0.06331, allocations: 44.37 MB / 291.7 MB, free: 9.266 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2375/0.3009, allocations: 80.24 MB / 372 MB, free: 6.891 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002373/0.3013, allocations: 91.41 kB / 372 MB, free: 6.875 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.09925/0.4006, allocations: 28.05 MB / 400.1 MB, free: 12.09 MB / 312.6 MB Notification: Performance of Transformations before backend: time 3.297e-05/0.4008, allocations: 15.88 kB / 400.1 MB, free: 12.09 MB / 312.6 MB Notification: Performance of Generate backend data structure: time 0.0033/0.4041, allocations: 1.087 MB / 401.2 MB, free: 11.34 MB / 312.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.4043, allocations: 12.75 kB / 401.2 MB, free: 11.33 MB / 312.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008821/0.4132, allocations: 0.7618 MB / 402 MB, free: 11.05 MB / 312.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001029/0.4143, allocations: 436.8 kB / 402.4 MB, free: 10.75 MB / 312.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.074e-05/0.4145, allocations: 35.47 kB / 402.4 MB, free: 10.75 MB / 312.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002951/0.4148, allocations: 69.38 kB / 402.5 MB, free: 10.74 MB / 312.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002974/0.4179, allocations: 1.011 MB / 403.5 MB, free: 10.66 MB / 312.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002592/0.4206, allocations: 0.8863 MB / 404.4 MB, free: 10.43 MB / 312.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.427e-05/0.4207, allocations: 4.625 kB / 404.4 MB, free: 10.43 MB / 312.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001262/0.4209, allocations: 1.062 kB / 404.4 MB, free: 10.43 MB / 312.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.4e-05/0.421, allocations: 26.22 kB / 404.4 MB, free: 10.43 MB / 312.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00836/0.4294, allocations: 4.379 MB / 408.8 MB, free: 6.977 MB / 312.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00149/0.431, allocations: 0.6377 MB / 409.4 MB, free: 6.496 MB / 312.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004848/0.4316, allocations: 249.9 kB / 409.7 MB, free: 6.305 MB / 312.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001388/0.4319, allocations: 101.5 kB / 409.8 MB, free: 6.191 MB / 312.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.432, allocations: 47.22 kB / 409.8 MB, free: 6.137 MB / 312.6 MB Notification: Performance of pre-optimization done (n=71): time 9.359e-06/0.432, allocations: 0 / 409.8 MB, free: 6.137 MB / 312.6 MB Notification: Performance of matching and sorting (n=71): time 0.001831/0.4339, allocations: 0.554 MB / 410.4 MB, free: 5.574 MB / 312.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.715e-05/0.434, allocations: 115.5 kB / 410.5 MB, free: 5.438 MB / 312.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003485/0.4344, allocations: 263 kB / 410.8 MB, free: 5.172 MB / 312.6 MB Notification: Performance of collectPreVariables (initialization): time 4.903e-05/0.4345, allocations: 25.7 kB / 410.8 MB, free: 5.141 MB / 312.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.000198/0.4348, allocations: 433.9 kB / 411.2 MB, free: 4.707 MB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003359/0.4352, allocations: 244.4 kB / 411.4 MB, free: 4.465 MB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.259e-05/0.4353, allocations: 0 / 411.4 MB, free: 4.465 MB / 312.6 MB Notification: Performance of setup shared object (initialization): time 7.808e-05/0.4354, allocations: 354.8 kB / 411.8 MB, free: 4.109 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004812/0.436, allocations: 218 kB / 412 MB, free: 3.898 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006152/0.4366, allocations: 0.5221 MB / 412.5 MB, free: 3.234 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001288/0.438, allocations: 350.9 kB / 412.9 MB, free: 2.895 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.149e-06/0.4381, allocations: 4 kB / 412.9 MB, free: 2.891 MB / 312.6 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002581/0.4407, allocations: 0.8279 MB / 413.7 MB, free: 2.055 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.4408, allocations: 4 kB / 413.7 MB, free: 2.051 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.263e-05/0.4409, allocations: 12 kB / 413.7 MB, free: 2.039 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.806e-05/0.441, allocations: 19.98 kB / 413.7 MB, free: 2.02 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001247/0.4423, allocations: 235.6 kB / 414 MB, free: 1.789 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.067e-05/0.4424, allocations: 19.94 kB / 414 MB, free: 1.77 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008369/0.4433, allocations: 91.11 kB / 414.1 MB, free: 1.68 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-05/0.4434, allocations: 44 kB / 414.1 MB, free: 1.637 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 7.271e-05/0.4436, allocations: 79.27 kB / 414.2 MB, free: 1.559 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002223/0.4438, allocations: 47.44 kB / 414.2 MB, free: 1.512 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00194/0.4458, allocations: 0.6682 MB / 414.9 MB, free: 0.8398 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-05/0.4459, allocations: 8 kB / 414.9 MB, free: 0.832 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.241e-06/0.446, allocations: 0 / 414.9 MB, free: 0.832 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.222e-05/0.4461, allocations: 7.922 kB / 414.9 MB, free: 0.8242 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003652/0.4498, allocations: 1.539 MB / 416.5 MB, free: 15.23 MB / 328.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.241e-06/0.4499, allocations: 0 / 416.5 MB, free: 15.23 MB / 328.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009286/0.4509, allocations: 151.7 kB / 416.6 MB, free: 15.08 MB / 328.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.488e-05/0.451, allocations: 4 kB / 416.6 MB, free: 15.07 MB / 328.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.573e-05/0.4511, allocations: 7.984 kB / 416.6 MB, free: 15.07 MB / 328.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.124e-06/0.4511, allocations: 11.94 kB / 416.6 MB, free: 15.05 MB / 328.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.75e-06/0.4512, allocations: 0 / 416.6 MB, free: 15.05 MB / 328.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002123/0.4534, allocations: 1.137 MB / 417.8 MB, free: 13.89 MB / 328.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001518/0.4536, allocations: 132.5 kB / 417.9 MB, free: 13.74 MB / 328.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/0.4538, allocations: 7.906 kB / 417.9 MB, free: 13.73 MB / 328.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006293/0.4545, allocations: 15.98 kB / 417.9 MB, free: 13.72 MB / 328.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/0.4546, allocations: 44.59 kB / 418 MB, free: 13.68 MB / 328.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.797e-05/0.4548, allocations: 19.98 kB / 418 MB, free: 13.66 MB / 328.6 MB Notification: Performance of sort global known variables: time 0.0003747/0.4552, allocations: 183.1 kB / 418.2 MB, free: 13.47 MB / 328.6 MB Notification: Performance of remove unused functions: time 0.001177/0.4564, allocations: 223.1 kB / 418.4 MB, free: 13.25 MB / 328.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0001902/0.4567, allocations: 117.4 kB / 418.5 MB, free: 13.14 MB / 328.6 MB Notification: Performance of simCode: created initialization part: time 0.001216/0.458, allocations: 0.6258 MB / 419.1 MB, free: 12.52 MB / 328.6 MB Notification: Performance of simCode: created event and clocks part: time 5.937e-06/0.458, allocations: 3.938 kB / 419.1 MB, free: 12.51 MB / 328.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0005189/0.4586, allocations: 302.4 kB / 419.4 MB, free: 12.22 MB / 328.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005394/0.4592, allocations: 25.69 kB / 419.4 MB, free: 12.19 MB / 328.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005447/0.4647, allocations: 1.501 MB / 420.9 MB, free: 10.67 MB / 328.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007474/0.4656, allocations: 1.006 MB / 422 MB, free: 9.633 MB / 328.6 MB Notification: Performance of SimCode: time 2.305e-06/0.4657, allocations: 0 / 422 MB, free: 9.633 MB / 328.6 MB Notification: Performance of Templates: time 0.0542/0.5199, allocations: 6.822 MB / 428.8 MB, free: 2.84 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