Notification: Performance of loadModel(Modelica): time 1.538/1.538, allocations: 194.5 MB / 200.7 MB, free: 5.184 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 8.591e-06/8.73e-06, allocations: 1.188 kB / 247.3 MB, free: 4.766 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05969/0.05977, allocations: 44.36 MB / 291.7 MB, free: 9.32 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.223/0.2829, allocations: 76.11 MB / 367.8 MB, free: 6.906 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002203/0.2833, allocations: 85.05 kB / 367.9 MB, free: 6.902 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.05407/0.3374, allocations: 15.43 MB / 383.3 MB, free: 2.152 MB / 296.6 MB Notification: Performance of Transformations before backend: time 2.018e-05/0.3375, allocations: 7.781 kB / 383.3 MB, free: 2.152 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.001952/0.3395, allocations: 0.765 MB / 384.1 MB, free: 1.57 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.3397, allocations: 11.59 kB / 384.1 MB, free: 1.57 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005031/0.3447, allocations: 461.8 kB / 384.6 MB, free: 1.406 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004973/0.3453, allocations: 322.2 kB / 384.9 MB, free: 1.137 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.276e-05/0.3454, allocations: 23.38 kB / 384.9 MB, free: 1.133 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.757e-05/0.3456, allocations: 30.66 kB / 384.9 MB, free: 1.133 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001202/0.3469, allocations: 0.5681 MB / 385.5 MB, free: 1.086 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009076/0.3478, allocations: 431.9 kB / 385.9 MB, free: 0.9805 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.954e-05/0.3479, allocations: 3.906 kB / 385.9 MB, free: 0.9766 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.384e-05/0.348, allocations: 0 / 385.9 MB, free: 0.9766 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.55e-05/0.3481, allocations: 15.41 kB / 385.9 MB, free: 0.9766 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003732/0.3519, allocations: 2.114 MB / 388.1 MB, free: 15.67 MB / 312.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009442/0.3529, allocations: 438.5 kB / 388.5 MB, free: 15.62 MB / 312.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003241/0.3533, allocations: 177.4 kB / 388.7 MB, free: 15.61 MB / 312.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000115/0.3535, allocations: 91.31 kB / 388.7 MB, free: 15.52 MB / 312.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.3536, allocations: 42.67 kB / 388.8 MB, free: 15.48 MB / 312.6 MB Notification: Performance of pre-optimization done (n=49): time 3.911e-06/0.3537, allocations: 0 / 388.8 MB, free: 15.48 MB / 312.6 MB Notification: Performance of matching and sorting (n=49): time 0.001434/0.3551, allocations: 447.8 kB / 389.2 MB, free: 15.36 MB / 312.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.002e-05/0.3552, allocations: 59.66 kB / 389.3 MB, free: 15.3 MB / 312.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000196/0.3555, allocations: 163.4 kB / 389.4 MB, free: 15.19 MB / 312.6 MB Notification: Performance of collectPreVariables (initialization): time 4.323e-05/0.3556, allocations: 25.7 kB / 389.5 MB, free: 15.16 MB / 312.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001394/0.3558, allocations: 236.6 kB / 389.7 MB, free: 14.96 MB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001381/0.356, allocations: 158.2 kB / 389.9 MB, free: 14.84 MB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.318e-05/0.3561, allocations: 0 / 389.9 MB, free: 14.84 MB / 312.6 MB Notification: Performance of setup shared object (initialization): time 0.0003046/0.3564, allocations: 337.3 kB / 390.2 MB, free: 14.52 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002928/0.3568, allocations: 146.1 kB / 390.3 MB, free: 14.52 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003512/0.3572, allocations: 249.6 kB / 390.6 MB, free: 14.39 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007696/0.3581, allocations: 198.4 kB / 390.8 MB, free: 14.36 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.377e-06/0.3581, allocations: 1.312 kB / 390.8 MB, free: 14.36 MB / 312.6 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001663/0.3599, allocations: 0.5404 MB / 391.3 MB, free: 14.23 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.851e-05/0.3599, allocations: 13.78 kB / 391.3 MB, free: 14.22 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.36, allocations: 11.95 kB / 391.3 MB, free: 14.21 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004413/0.3605, allocations: 86.81 kB / 391.4 MB, free: 14.2 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000683/0.3613, allocations: 107.1 kB / 391.5 MB, free: 14.18 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00215/0.3635, allocations: 1.74 MB / 393.3 MB, free: 12.79 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004582/0.364, allocations: 44.53 kB / 393.3 MB, free: 12.76 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.79e-05/0.3641, allocations: 24.67 kB / 393.3 MB, free: 12.75 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 5.399e-05/0.3642, allocations: 79.88 kB / 393.4 MB, free: 12.68 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.966e-05/0.3644, allocations: 25.06 kB / 393.4 MB, free: 12.66 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001754/0.3662, allocations: 0.5222 MB / 394 MB, free: 12.52 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/0.3663, allocations: 10.53 kB / 394 MB, free: 12.52 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.241e-06/0.3664, allocations: 5.312 kB / 394 MB, free: 12.51 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.219e-06/0.3664, allocations: 1.312 kB / 394 MB, free: 12.51 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002101/0.3686, allocations: 1.096 MB / 395.1 MB, free: 11.95 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.308e-06/0.3687, allocations: 1.219 kB / 395.1 MB, free: 11.95 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005564/0.3693, allocations: 83.42 kB / 395.1 MB, free: 11.94 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003957/0.3697, allocations: 83.47 kB / 395.2 MB, free: 11.91 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.855e-05/0.3698, allocations: 2.75 kB / 395.2 MB, free: 11.91 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002231/0.3721, allocations: 1.734 MB / 397 MB, free: 10.53 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.216e-06/0.3722, allocations: 3.906 kB / 397 MB, free: 10.53 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001766/0.3741, allocations: 0.7496 MB / 397.7 MB, free: 10.31 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 7.962e-05/0.3742, allocations: 117.4 kB / 397.8 MB, free: 10.19 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.823e-05/0.3743, allocations: 1.531 kB / 397.8 MB, free: 10.19 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003771/0.3748, allocations: 18.39 kB / 397.9 MB, free: 10.18 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.114e-05/0.3749, allocations: 32.05 kB / 397.9 MB, free: 10.17 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.463e-05/0.375, allocations: 17.25 kB / 397.9 MB, free: 10.16 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.0001159/0.3752, allocations: 127.1 kB / 398 MB, free: 10.08 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.0008827/0.3762, allocations: 146.4 kB / 398.2 MB, free: 10.05 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0001685/0.3764, allocations: 94.31 kB / 398.3 MB, free: 9.988 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.001131/0.3776, allocations: 0.5289 MB / 398.8 MB, free: 9.844 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 3.841e-06/0.3776, allocations: 0 / 398.8 MB, free: 9.844 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0006209/0.3783, allocations: 334.8 kB / 399.1 MB, free: 9.719 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003279/0.3787, allocations: 12.84 kB / 399.1 MB, free: 9.715 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004216/0.383, allocations: 1.045 MB / 400.2 MB, free: 9.32 MB / 312.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006593/0.3838, allocations: 0.8663 MB / 401 MB, free: 8.543 MB / 312.6 MB Notification: Performance of SimCode: time 2.234e-06/0.3838, allocations: 3.938 kB / 401 MB, free: 8.539 MB / 312.6 MB Notification: Performance of Templates: time 0.05469/0.4386, allocations: 5.171 MB / 406.2 MB, free: 5.992 MB / 312.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.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_SeriesResonance -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -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.SeriesResonance.o Modelica_3.2.2_-O2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.c In file included from Modelica_3.2.2_-O2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.c:2: ./Modelica_3.2.2_-O2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.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.SeriesResonance.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.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.SeriesResonance.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.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.SeriesResonance.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance_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.SeriesResonance.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.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.SeriesResonance.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance_performSimulation ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.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.SeriesResonance.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance_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.SeriesResonance.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.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.SeriesResonance.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance_performQSSSimulation ^ Modelica_3.2.2_-O2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.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_SeriesResonance_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.SeriesResonance.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.c:945:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance_eqFunction_78(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.c:946:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance_eqFunction_138(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.c:950:19: warning: implicit declaration of function 'O2_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance_eqFunction_77' is invalid in C99 [-Wimplicit-function-declaration] Modelica_3_2_2_-O2_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance_eqFunction_77(data, threadData); ^ Modelica_3.2.2_-O2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.c:950:18: error: invalid operands to binary expression ('void' and 'int') Modelica_3_2_2_-O2_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance_eqFunction_77(data, threadData); ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Modelica_3.2.2_-O2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.c:952:19: warning: implicit declaration of function 'O2_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance_eqFunction_78' is invalid in C99 [-Wimplicit-function-declaration] Modelica_3_2_2_-O2_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance_eqFunction_78(data, threadData); ^ Modelica_3.2.2_-O2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.c:952:18: error: invalid operands to binary expression ('void' and 'int') Modelica_3_2_2_-O2_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance_eqFunction_78(data, threadData); ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Modelica_3.2.2_-O2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.c:954:19: warning: implicit declaration of function 'O2_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance_eqFunction_138' is invalid in C99 [-Wimplicit-function-declaration] Modelica_3_2_2_-O2_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance_eqFunction_138(data, threadData); ^ Modelica_3.2.2_-O2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.c:954:18: error: invalid operands to binary expression ('void' and 'int') Modelica_3_2_2_-O2_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance_eqFunction_138(data, threadData); ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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.SeriesResonance.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.o] Error 1