Notification: Performance of loadModel(Modelica): time 1.817/1.817, allocations: 194.5 MB / 200.7 MB, free: 5.16 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 8.731e-06/8.87e-06, allocations: 1.219 kB / 247.4 MB, free: 4.617 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06094/0.06102, allocations: 44.36 MB / 291.8 MB, free: 9.184 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2497/0.3108, allocations: 102.9 MB / 394.7 MB, free: 15.67 MB / 312.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002519/0.3112, allocations: 93.45 kB / 394.7 MB, free: 15.65 MB / 312.6 MB Notification: Performance of FrontEnd: time 0.2044/0.5157, allocations: 50.02 MB / 444.8 MB, free: 6.285 MB / 344.6 MB Notification: Performance of Transformations before backend: time 0.0002104/0.516, allocations: 67.92 kB / 444.8 MB, free: 6.219 MB / 344.6 MB Notification: Performance of Generate backend data structure: time 0.006546/0.5226, allocations: 2.414 MB / 447.2 MB, free: 3.738 MB / 344.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.5227, allocations: 11.97 kB / 447.3 MB, free: 3.727 MB / 344.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001865/0.5246, allocations: 336.3 kB / 447.6 MB, free: 3.395 MB / 344.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005099/0.5298, allocations: 1.767 MB / 449.4 MB, free: 1.578 MB / 344.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001301/0.53, allocations: 64 kB / 449.4 MB, free: 1.516 MB / 344.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006701/0.5308, allocations: 127.8 kB / 449.5 MB, free: 1.391 MB / 344.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005608/0.5364, allocations: 1.972 MB / 451.5 MB, free: 15.41 MB / 360.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006654/0.5432, allocations: 2.326 MB / 453.8 MB, free: 12.98 MB / 360.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.241e-05/0.5434, allocations: 7.906 kB / 453.8 MB, free: 12.97 MB / 360.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002994/0.5438, allocations: 4 kB / 453.9 MB, free: 12.97 MB / 360.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.477e-05/0.5439, allocations: 95.89 kB / 453.9 MB, free: 12.88 MB / 360.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01894/0.5629, allocations: 7.967 MB / 461.9 MB, free: 4.719 MB / 360.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002152/0.5652, allocations: 0.9011 MB / 462.8 MB, free: 3.812 MB / 360.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001838/0.5671, allocations: 0.8706 MB / 463.7 MB, free: 2.941 MB / 360.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003552/0.5676, allocations: 142 kB / 463.8 MB, free: 2.785 MB / 360.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.5676, allocations: 51.56 kB / 463.9 MB, free: 2.727 MB / 360.6 MB Notification: Performance of pre-optimization done (n=115): time 6.844e-06/0.5677, allocations: 0 / 463.9 MB, free: 2.727 MB / 360.6 MB Notification: Performance of matching and sorting (n=131): time 0.01339/0.5812, allocations: 4.811 MB / 468.7 MB, free: 13.83 MB / 376.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.5813, allocations: 68.72 kB / 468.8 MB, free: 13.75 MB / 376.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003373/0.5847, allocations: 1.66 MB / 470.4 MB, free: 12.09 MB / 376.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0002404/0.5851, allocations: 25.7 kB / 470.4 MB, free: 12.06 MB / 376.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004742/0.5856, allocations: 0.7901 MB / 471.2 MB, free: 11.25 MB / 376.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004522/0.5861, allocations: 429.4 kB / 471.6 MB, free: 10.83 MB / 376.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.5863, allocations: 0 / 471.6 MB, free: 10.83 MB / 376.6 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.5864, allocations: 365.8 kB / 472 MB, free: 10.46 MB / 376.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001492/0.588, allocations: 0.7029 MB / 472.7 MB, free: 9.762 MB / 376.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001522/0.5896, allocations: 0.951 MB / 473.7 MB, free: 8.719 MB / 376.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001892/0.5916, allocations: 0.8416 MB / 474.5 MB, free: 7.879 MB / 376.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.662e-05/0.5917, allocations: 4 kB / 474.5 MB, free: 7.875 MB / 376.6 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.006848/0.5986, allocations: 2.587 MB / 477.1 MB, free: 5.27 MB / 376.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/0.5987, allocations: 8 kB / 477.1 MB, free: 5.262 MB / 376.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.618e-05/0.5988, allocations: 15.92 kB / 477.1 MB, free: 5.246 MB / 376.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003106/0.602, allocations: 0.8385 MB / 478 MB, free: 4.402 MB / 376.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001898/0.604, allocations: 263.6 kB / 478.2 MB, free: 4.145 MB / 376.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01538/0.6195, allocations: 8.449 MB / 486.7 MB, free: 11.45 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001889/0.6215, allocations: 60 kB / 486.7 MB, free: 11.39 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002923/0.6219, allocations: 55.98 kB / 486.8 MB, free: 11.34 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001628/0.6221, allocations: 75.28 kB / 486.8 MB, free: 11.27 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005937/0.6227, allocations: 189.6 kB / 487 MB, free: 11.08 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005736/0.6285, allocations: 2.361 MB / 489.4 MB, free: 8.691 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.528e-05/0.6287, allocations: 19.94 kB / 489.4 MB, free: 8.672 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.767e-05/0.6288, allocations: 4 kB / 489.4 MB, free: 8.668 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.864e-05/0.6288, allocations: 11.97 kB / 489.4 MB, free: 8.656 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01197/0.6409, allocations: 4.614 MB / 494 MB, free: 3.961 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.171e-05/0.641, allocations: 4 kB / 494 MB, free: 3.957 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001629/0.6427, allocations: 211.9 kB / 494.3 MB, free: 3.75 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003098/0.6459, allocations: 0.699 MB / 494.9 MB, free: 3.039 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002412/0.6462, allocations: 19.97 kB / 495 MB, free: 3.02 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1313/0.7776, allocations: 7.845 MB / 0.491 GB, free: 135.9 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.194e-06/0.7777, allocations: 0 / 0.491 GB, free: 135.9 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007201/0.785, allocations: 3.476 MB / 0.4944 GB, free: 135.5 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001276/0.7864, allocations: 460.4 kB / 0.4949 GB, free: 135.4 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004962/0.787, allocations: 11.02 kB / 0.4949 GB, free: 135.4 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001586/0.7886, allocations: 56.44 kB / 0.4949 GB, free: 135.4 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002598/0.789, allocations: 83.27 kB / 0.495 GB, free: 135.4 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001486/0.7892, allocations: 41.59 kB / 0.495 GB, free: 135.4 MB / 392.6 MB Notification: Performance of sort global known variables: time 0.002238/0.7915, allocations: 1.269 MB / 0.4963 GB, free: 135.3 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.002679/0.7943, allocations: 0.4946 MB / 0.4968 GB, free: 135.3 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0008141/0.7952, allocations: 387.4 kB / 0.4971 GB, free: 135.3 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.004567/0.7998, allocations: 2.223 MB / 0.4993 GB, free: 135 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 7.752e-06/0.7999, allocations: 7.75 kB / 0.4993 GB, free: 135 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.003043/0.803, allocations: 1.519 MB / 0.5008 GB, free: 134.5 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002275/0.8054, allocations: 309.5 kB / 0.5011 GB, free: 134.5 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009847/0.8153, allocations: 4.223 MB / 0.5052 GB, free: 133.6 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002609/0.818, allocations: 2.077 MB / 0.5072 GB, free: 132.9 MB / 392.6 MB Notification: Performance of SimCode: time 2.514e-06/0.8181, allocations: 0 / 0.5072 GB, free: 132.9 MB / 392.6 MB Notification: Performance of Templates: time 0.1631/0.9813, allocations: 25.98 MB / 0.5326 GB, free: 131.3 MB / 392.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.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_Machines_Examples_AsynchronousInductionMachines_AIMC_withLosses -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.o Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.c In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.c:2: ./Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_withLosses__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_withLosses__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.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.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_withLosses_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.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.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_withLosses_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.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.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_withLosses_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.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_withLosses_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.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.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_withLosses_performSimulation ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.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.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_withLosses_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.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_withLosses_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.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.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_withLosses_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.c:18:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_withLosses_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.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_withLosses_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_withLosses_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.c:1782:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_withLosses_eqFunction_231(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.c:1783:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_withLosses_eqFunction_233(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.c:1784:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_withLosses_eqFunction_234(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.c:1785:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_withLosses_eqFunction_236(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.c:1786:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_withLosses_eqFunction_240(DATA* data, threadData_t *threadData); ^ ; fatal error: too many errors emitted, stopping now [-ferror-limit=] 6 warnings and 20 errors generated. : recipe for target 'Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.o] Error 1